The embodiments discussed herein are related to transcriptions of communications.
Transcriptions of audio communications between people may assist people that are hard-of-hearing or deaf to participate in the audio communications. Transcription of audio communications may be generated with assistance of humans or may be generated without human assistance using automatic speech recognition (“ASR”) systems. After generation, the transcriptions may be provided to a device for display.
The subject matter claimed herein is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one example technology area where some embodiments described herein may be practiced.
In some embodiments, a method may include obtaining first audio data originating at a first device during a communication session between the first device and a second device. The communication session may be configured for verbal communication. The method may also include obtaining an availability of revoiced transcription units in a transcription system and in response to establishment of the communication session, selecting, based on the availability of revoiced transcription units, a revoiced transcription unit instead of a non-revoiced transcription unit to generate a transcript of the first audio data to direct to the second device. The method may also include obtaining, by the revoiced transcription unit, revoiced audio generated by a revoicing of the first audio data by a captioning assistant and generating, by the revoiced transcription unit, a transcription of the revoiced audio using an automatic speech recognition system. The method may further include in response to selecting the revoiced transcription unit, directing the transcription of the revoiced audio to the second device as the transcript of the first audio data.
Example embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Some embodiments in this disclosure relate to systems and methods that may be configured to transcribe audio of a communication session. For example, in some embodiments, audio of a communication session may be provided to a transcription system to transcribe the audio from a device that receives and/or generates the audio. A transcription of the audio generated by the transcription system may be provided back to the device for display to a user of the device. The transcription may assist the user to better understand what is being said during the communication session.
For example, a user may be hard of hearing and participating in a phone call. Because the user is hard of hearing, the user may not understand everything being said during the phone call from the audio of the phone. However, the audio may be provided to a transcription system. The transcription system may generate a transcription of the audio in real-time during the phone call and provide the transcription to a device of the user. The device may present the transcription to the user. Having a transcription of the audio may assist the hard of hearing user to better understand the audio and thereby better participate in the phone call.
Presenting transcriptions that are inaccurate or that lag behind the audio of the communication session may reduce the benefit of the transcription. Thus, the systems and methods described in some embodiments may be directed to reducing the inaccuracy of transcriptions and a time required to generate transcriptions. Additionally, the systems and methods described in some embodiments may be directed to reducing costs to generate transcriptions. Reduction of costs may make transcriptions available to more people. In some embodiments, the systems and methods described in this disclosure may reduce inaccuracy, time, and/or costs by incorporating a fully automatic speech recognition (ASR) system into a transcription system.
Some current systems may use ASR systems in combination with human assistance to generate transcriptions. For example, some current systems may employ humans to revoice audio from a communication session. The revoiced audio may be provided to an ASR system that may generate a transcription based on the revoiced audio. Revoicing may cause delays in generation of the transcription and may increase expenses. Additionally, the transcription generated based on the revoiced audio may include errors.
In some embodiments, systems and methods in this disclosure may be configured to select between different transcription systems and/or methods. Alternatively or additionally, systems and methods in this disclosure may be configured to switch between different transcription systems and/or methods during a communication session. The selection of different systems and/or methods and switching between different systems and/or methods, may, in some embodiments, reduce costs, reduce transcription delays, or provide other benefits. For example, an automatic system that uses automatic speech recognition may begin transcription of audio of a communication session. During the communication session, a revoicing system, which uses human assistance as described above, may assume responsibility to generate transcriptions for a remainder of the communication session. Some embodiments of this disclosure discuss factors regarding how a particular system and/or method may be selected, why a switch between different systems and/or methods may occur, and how the selection and switching may occur.
In some embodiments, systems and methods in this disclosure may be configured to combine or fuse multiple transcriptions into a single transcription that is provided to a device for display to a user. Fusing multiple transcriptions may assist a transcription system to produce a more accurate transcription with fewer errors. In some embodiments, the multiple transcriptions may be generated by different systems and/or methods. For example, a transcription system may include an automatic ASR system and a revoicing system. Each of the automatic ASR system and the revoicing system may generate a transcription of audio of a communication session. The transcriptions from each of the automatic ASR system and the revoicing system may be fused together to generate a finalized transcription that may be provided to a device for display.
In some embodiments, systems and methods in this disclosure may be configured to improve the accuracy of ASR systems used to transcribe the audio of communication sessions. In these and other embodiments, improving the accuracy of an ASR system may include improving an ability of the ASR system to recognize words in speech.
In some embodiments, the accuracy of an ASR system may be improved by training ASR systems using live audio. For example, the audio of a live communication session may be used to train an ASR system. Alternatively or additionally, the accuracy of an ASR system may be improved by obtaining an indication of a frequency that a sequence of words, such as a sequence of two to four words, are used during speech. In these and other embodiments, sequences of words may be extracted from transcriptions of communication sessions. A count for each particular sequence of words may be incremented each time the particular sequence of words is extracted. The counts for each particular sequence of words may be used to improve the ASR systems.
Thus, the systems and methods described in this disclosure may result in the improved display of transcriptions at a user device. Furthermore, the systems and methods described in this disclosure may improve technology with respect to audio transcriptions and real-time generation and display of audio transcriptions. Additionally, the systems and methods described in this disclosure may improve technology with respect to automatic speech recognition.
Turning to the figures,
The network 102 may be configured to communicatively couple the first device 104, the second device 106, and the transcription system 108. In some embodiments, the network 102 may be any network or configuration of networks configured to send and receive communications between systems and devices. In some embodiments, the network 102 may include a conventional type network, a wired network, an optical network, and/or a wireless network, and may have numerous different configurations. In some embodiments, the network 102 may also be coupled to or may include portions of a telecommunications network, including telephone lines, for sending data in a variety of different communication protocols, such as a plain old telephone system (POTS).
As an example, the network 102 may include a POTS network that may couple the first device 104 and the second device 106, and a wired/optical network and a wireless network that may couple the first device 104 and the transcription system 108. In these and other embodiments, the network 102 may not be a conjoined network. For example, the network 102 may represent separate networks and the elements in the environment 100 may route data between the separate networks. In short, the elements in the environment 100 may be coupled together such that data may be transferred there by the network 102 using any known method or system.
Each of the first and second devices 104 and 106 may be any electronic or digital computing device. For example, each of the first and second devices 104 and 106 may include a desktop computer, a laptop computer, a smartphone, a mobile phone, a video phone, a tablet computer, a telephone, a speakerphone, a VoIP phone, a smart speaker, a phone console, a caption device, a captioning telephone, a communication system in a vehicle, a wearable device such as a watch or pair of glasses configured for communication, or any other computing device that may be used for communication between users of the first and second devices 104 and 106.
In some embodiments, each of the first device 104 and the second device 106 may include memory and at least one processor, which are configured to perform operations as described in this disclosure, among other operations. In some embodiments, each of the first device 104 and the second device 106 may include computer-readable instructions that are configured to be executed by each of the first device 104 and the second device 106 to perform operations described in this disclosure.
In some embodiments, each of the first and second devices 104 and 106 may be configured to establish communication sessions with other devices. For example, each of the first and second devices 104 and 106 may be configured to establish an outgoing communication session, such as a telephone call, video call, or other communication session, with another device over a telephone line or network. For example, each of the first device 104 and the second device 106 may communicate over a WiFi network, wireless cellular network, a wired Ethernet network, an optical network, or a POTS line.
In some embodiments, each of the first and second devices 104 and 106 may be configured to obtain audio during a communication session. The audio may be part of a video communication or an audio communication, such as a telephone call. As used in this disclosure, the term audio may be used generically to refer to sounds that may include spoken words. Furthermore, the term “audio” may be used generically to include audio in any format, such as a digital format, an analog format, or a propagating wave format. Furthermore, in the digital format, the audio may be compressed using different types of compression schemes. Also, as used in this disclosure, the term video may be used generically to refer to a compilation of images that may be reproduced in a sequence to produce video.
As an example of obtaining audio, the first device 104 may be configured to obtain first audio from a first user 110. The first audio may include a first voice of the first user 110. The first voice of the first user 110 may be words spoken by the first user. For example, the first device 104 may obtain the first audio from a microphone of the first device 104 or from another device that is communicatively coupled to the first device 104.
The second device 106 may be configured to obtain second audio from a second user 112. The second audio may include a second voice of the second user 112. The second voice of the second user 112 may be words spoken by the second user. In some embodiments, second device 106 may obtain the second audio from a microphone of the second device 106 or from another device communicatively coupled to the second device 106. During a communication session, the first device 104 may provide the first audio to the second device 106. Alternatively or additionally, the second device 106 may provide the second audio to the first device 104. Thus, during a communication session, both the first device 104 and the second device 106 may obtain both the first audio from the first user 110 and the second audio from the second user 112.
In some embodiments, one or both of the first device 104 and the second device 106 may be configured to provide the first audio, the second audio, or both the first audio and the second audio to the transcription system 108. In these and other embodiments, in addition to providing the first audio, the second audio, or both the first audio and the second audio to the transcription system 108, one or both of the first device 104 and the second device 106 may be configured to extract speech recognition features from the first audio, the second audio, or both the first audio and the second audio. In some embodiments, after extracting the speech recognition features, the features may be quantized or otherwise compressed. The extracted features may be provided to the transcription system 108 via the network 102.
In some embodiments, the transcription system 108 may be configured to generate a transcription of the audio received from either one or both of the first device 104 and the second device 106. The transcription system 108 may also provide the generated transcription of the audio to either one or both of the first device 104 and the second device 106. Either one or both of the first device 104 and the second device 106 may be configured to present the transcription received from the transcription system 108. For example, audio of both the first user 110 and the second user 112 may be provided to the transcription system 108. In these and other embodiments, transcription of the first audio may be provided to the second device 106 for the second user 112 and transcription of the second audio may be provided to the first device 104 for the first user 110. In some embodiments, the disclosure may also indicate that a person is receiving the transcriptions from the transcription system 108. In these and other embodiments, a device associated with the person may receive the transcriptions from the transcription system 108 and the transcriptions may be presented to the person by the device. In this manner, a person may receive the transcription.
The transcription system 108 may include any configuration of hardware, such as processors, servers, and storage servers, such as database servers, that are networked together and configured to perform one or more task. For example, the transcription system 108 may include one or multiple computing systems, such as multiple servers that each include memory and at least one processor.
In general, the transcription system 108 may be configured to obtain audio from a device, generate or direct generation of a transcription of the audio, and provide the transcription of the audio to the device or another device for presentation of the transcription. This disclosure describes various configurations of the transcription system 108 and various methods performed by the transcription system 108 to generate or direct generation of transcriptions of audio.
In general, the transcription system 108 may be configured to generate or direct generation of the transcription of audio using one or more automatic speech recognition (ASR) systems. The term “ASR system” as used in this disclosure may include a compilation of hardware, software, and/or data, such as trained models, that are configured to recognize speech in audio and generate a transcription of the audio based on the recognized speech. For example, in some embodiments, an ASR system may be a compilation of software and data models. In these and other embodiments, multiple ASR systems may be included on a computer system, such as a server. Alternatively or additionally, an ASR system may be a compilation of hardware, software, and data models. In these and other embodiments, the ASR system may include the computer system. In some embodiments, the transcription of the audio generated by the ASR systems may include capitalization, punctuation, and non-speech sounds. The non-speech sounds may include, background noise, vocalizations such as laughter, filler words such as “um,” and speaker identifiers such as “new speaker,” among others.
The ASR systems used by the transcription system 108 may be configured to operate in one or more locations. The locations may include the transcription system 108, the first device 104, the second device 106, another electronic computing device, or at an ASR service that is coupled to the transcription system 108 by way of the network 102. The ASR service may include a service that provides transcriptions of audio. Example ASR services include services provided by Google®, Microsoft®, and IBM®, among others.
In some embodiments, the ASR systems described in this disclosure may be separated into one of two categories: speaker-dependent ASR systems and speaker-independent ASR systems. In some embodiments, a speaker-dependent ASR system may use a speaker-dependent speech model. A speaker-dependent speech model may be specific to a particular person or a group of people. For example, a speaker-dependent ASR system configured to transcribe a communication session between the first user 110 and the second user 112 may include a speaker-dependent speech model that may be specifically trained using speech patterns for either or both the first user 110 and the second user 112.
In some embodiments, a speaker-independent ASR system may be trained on a speaker-independent speech model. A speaker-independent speech model may be trained for general speech and not specifically trained using speech patterns of the people for which the speech model is employed. For example, a speaker-independent ASR system configured to transcribe a communication session between the first user 110 and the second user 112 may include a speaker-independent speech model that may not be specifically trained using speech patterns for the first user 110 or the second user 112. In these and other embodiments, the speaker-independent speech model may be trained using speech patterns of users of the transcription system 108 other than the first user 110 and the second user 112.
In some embodiments, the audio used by the ASR systems may be revoiced audio. Revoiced audio may include audio that has been received by the transcription system 108 and gone through a revoicing process. The revoicing process may include the transcription system 108 obtaining audio from either one or both of the first device 104 and the second device 106. The audio may be broadcast by a captioning agent (CA) client for a captioning agent (CA) 118 associated with the transcription system 108. The CA client may broadcast or direct broadcasting of the audio using a speaker. The CA 118 listens to the broadcast audio and speaks the words that are included in the broadcast audio. The CA client may be configured to capture or direct capturing of the speech of the CA 118. For example, the CA client may use or direct use of a microphone to capture the speech of the CA 118 to generate revoiced audio.
The term “revoiced audio” as used in this disclosure may refer to audio generated as discussed above. In this disclosure, the use of the term audio generally may refer to both audio that results from a communication session between devices without revoicing and revoiced audio. In embodiments where a distinction is being made between audio without revoicing and revoiced audio, the audio without revoicing may be referred to as regular audio.
In some embodiments, revoiced audio may be provided to a speaker-independent ASR system. In these and other embodiments, the speaker-independent ASR system may not be specifically trained using speech patterns of the CA revoicing the audio. Alternatively or additionally, revoiced audio may be provided to a speaker-dependent ASR system. In these and other embodiments, the speaker-dependent ASR system may be specifically trained using speech patterns of the CA revoicing the audio.
In some embodiments, the transcription system 108 may include one or more transcription units, such as the transcription unit 114. In some embodiments, a transcription unit as used in this disclosure may be configured to obtain audio and to generate a transcription of the audio. In some embodiments, a transcription unit may include one or more ASR systems. In these and other embodiments, the one or more ASR systems may be speaker-independent, speaker-dependent, or some combination of speaker-independent and speaker-dependent. Alternatively or additionally, a transcription unit may include other systems that may be used in generating a transcription of audio. For example, the other systems may include a fuser, a text editor, a model trainer, diarizer, denormalizer, comparer, counter, adder, accuracy estimator, among other systems. Each of these systems is described later with respect to some embodiments in the present disclosure.
In some embodiments, a transcription unit may obtain revoiced audio from regular audio to generate a transcription. In these and other embodiments, when the transcription unit uses revoiced audio, the transcription unit may be referred to in this disclosure as a revoiced transcription unit. Alternatively or additionally, when the transcription unit does not use revoiced audio, the transcription unit may be referred to in this disclosure as a non-revoiced transcription unit. In some embodiments, a transcription unit may use a combination of audio and revoicing of the audio to generate a transcription. For example, a transcription unit may use regular audio, first revoiced audio from the first CA, and second revoiced audio from a second CA.
An example transcription unit may include the transcription unit 114. The transcription unit 114 may include a first ASR system 120a, a second ASR system 120b, and a third ASR system 120c. In general, the first ASR system 120a, the second ASR system 120b, and the third ASR system 120c may be referred to as ASR systems 120. The transcription unit 114 may further include a fuser 124 and a CA client 122. Alternatively or additionally, the transcription system 108 may include the CA client 122 and the transcription unit 114 may interface with the CA client 122.
In some embodiments, the CA client 122 may be configured to obtain revoiced audio from a CA 118. In these and other embodiments, the CA client 122 may be associated with the CA 118. The CA client 122 being associated with the CA 118 may indicate that the CA client 122 presents text and audio to the CA 118 and obtains input from the CA 118 through a user interface. In some embodiments, the CA client 122 may operate on a device that includes input and output devices for interacting with the CA 118, such as a CA workstation. Alternatively or additionally, the CA client 122 may be hosted on a server on a network and a device that includes input and output devices for interacting with the CA 118 may be a thin client networked with server that may be controlled by the CA client 122.
In some embodiments, the device associated with the CA client 122 may include any electronic device, such as a personal computer, laptop, tablet, mobile computing device, mobile phone, and a desktop, among other types of devices. In some embodiments, the device may include the transcription unit 114. For example, the device may include the hardware and/or software of the ASR systems 120, the CA client 122, and/or the fuser 124. Alternatively or additionally, the device may be separate from the transcription unit 114. In these and other embodiments, the transcription unit 114 may be hosted by a server that may also be configured to host the CA client 122. Alternatively or additionally, the CA client 122 may be part of the device and the remainder of the transcription unit 114 may be hosted by one or more servers. Thus, various configurations of the transcription unit 114 are possible and are contemplated outside of the configurations discussed above. Furthermore, a discussion of a transcription unit in this disclosure does not imply a certain physical configuration of the transcription unit. Rather, a transcription unit as used in this disclosure provides a simplified way to describe interactions between different systems that are configured to generate a transcription of audio. In short, a transcription unit as described may include any configuration of the systems described in this disclosure to accomplish the transcription of audio. The systems used in a transcription unit may be located, hosted, or otherwise configured across multiple devices, such as servers and other devices, in a network. Furthermore, the systems from one transcription unit may not be completely separated from systems from another transcription unit. Rather, systems may be shared across multiple transcription units.
In some embodiments, the transcription system 108 may obtain audio from the communication session between the first device 104 and the second device 106. In these and other embodiments, the transcription system 108 may provide the audio to the transcription unit 114. The transcription unit 114 may be configured to provide the audio to the CA client 122
In some embodiments, the CA client 122 may be configured to receive the audio from the transcription unit 114 and/or the transcription system 108. The CA client 122 may broadcast the audio for the CA 118 through a speaker. The CA 118 may listen to the audio and revoice or re-speak the words in the broadcast audio. In response to broadcasting the audio, the CA client 122 may use a microphone to capture the speech of the CA 118. The CA client 122 may generate revoiced audio using the captured speech of the CA 118. In some embodiments, the CA client 122 may provide the revoiced audio to one or more of the ASR systems 120 in the transcription unit 114.
In some embodiments, the first ASR system 120a may be configured to obtain the revoiced audio from the CA client 122. In these and other embodiments, the first ASR system 120a may also be configured as speaker-dependent with respect to the speech patterns of the CA 118. The first ASR system 120a may be speaker-dependent with respect to the speech patterns of the CA 118 by using models trained using the speech patterns of the CA 118. The models trained using the speech patterns of the CA 118 may be obtained from a CA profile of the CA 118. The CA profile may be obtained from the CA client 122 and/or from a storage device associated with the transcription unit 114 and/or the transcription system 108.
In these and other embodiments, the CA profile may include one or more ASR modules that may be trained with respect to the speaker profile of the CA 118. The speaker profile may include models or links to models such as acoustic models and feature transformation models such as neural networks or MLLR or fMLLR transforms. The models in the speaker profile may be trained using speech patterns of the CA 118.
In some embodiments, being speaker-dependent with respect to the CA 118 does not indicate that the first ASR system 120a cannot transcribe audio from other speakers. Rather, the first ASR system 120a being speaker-dependent with respect to the CA 118 may indicate that the first ASR system 120a may include models that are specifically trained using speech patterns of the CA 118 such that the first ASR system 120a may generate transcriptions of audio from the CA 118 with accuracy that may be improved as compared to the accuracy of transcription of audio from other people.
The second ASR system 120b and the third ASR system 120c may be speaker-independent. In some embodiments, the second ASR system 120b and the third ASR system 120c may include analogous or the same modules that may be trained using similar or the same speech patterns and/or methods. Alternatively or additionally, the second ASR system 120b and the third ASR system 120c may include different modules that may be trained using some or all different speech patterns. Additionally or alternatively, two or more ASR systems 120 may use substantially the same software or may have software modules in common, but use different ASR models.
In some embodiments, the second ASR system 120b may be configured to receive the revoiced audio from the CA client 122. The third ASR system 120c may be configured to receive the regular audio from the transcription unit 114.
The ASR systems 120 may be configured to generate transcriptions of the audio that each of the ASR systems 120 obtain. For example, the first ASR system 120a may be configured to generate a first transcription from the revoiced audio using the speaker-dependent configuration based on the CA profile. The second ASR system 120b may be configured to generate a second transcription from the revoiced audio using a speaker-independent configuration. The third ASR system 120c may be configured to generate a third transcription from the regular audio using a speaker-independent configuration. A discussion of how the ASR systems 120 may generate the transcriptions from the audio is provided later.
The first ASR system 120a may be configured to provide the first transcription to the fuser 124. The second ASR system 120b may be configured to provide the second transcription to a text editor 126 of the CA client 122. The third ASR system 120c may be configured to provide the third transcription to the fuser 124. In some embodiments, the fuser 124 may also provide a transcription to the text editor 126 of the CA client 122.
The text editor 126 may be configured to obtain transcriptions from the ASR systems 120 and/or the fuser. For example, the text editor 126 may obtain the transcription from the second ASR system 120b. The text editor 126 may be configured to obtain edits to a transcription.
For example, the text editor 126 may be configured to direct a display of a device associated with the CA client 122 to present a transcription for viewing by a person, such as the CA 118 or another CA, among others. The person may review the transcription and provide input through an input device regarding edits to the transcription.
In some embodiments, the person may also listen to the audio. For example, the person may be the CA 118. In these and other embodiments, the person may listen to the audio as the person re-speaks the words from the audio. Alternatively or additionally, the person may listen to the audio without re-speaking the words. In these and other embodiments, the person may have context of the communication session by listening to the audio and thus may be able to make better informed decisions regarding edits to the transcription.
In some embodiments, the text editor 126 may be configured to edit a transcription based on the input obtained from the person and provide the edited transcription to the fuser 124. Alternatively or additionally, the text editor 126 may be configured to provide an edited transcriptions to the transcription system 108 for providing to one or both of the first device 104 and the second device 106. Alternatively or additionally, the text editor 126 may be configured to provide the edits to the transcription unit 114 and/or the transcription system 108. In these and other embodiments, the transcription unit 114 and/or the transcription system 108 may be configured to generate the edited transcription and provide the edited transcription to the fuser 124.
In some embodiments, the transcription may not have been provided to one or both of the first device 104 and the second device 106 before the text editor 126 made edits to the transcription. Alternatively or additionally, the transcription may be provided to one or both of the first device 104 and the second device 106 before the text editor 126 is configured to edit the transcription. In these and other embodiments, the transcription system 108 may provide the edits or portions of the transcription with edits to one or both of the first device 104 and the second device 106 for updating the transcription on one or both of the first device 104 and the second device 106.
The fuser 124 may be configured to obtain multiple transcriptions. For example, the fuser 124 may obtain the first transcription, the second transcription, and the third transcription. The second transcription may be obtained from the text editor 126 after edits have been made to the second transcription or from the second ASR system 120b.
In some embodiments, the fuser 124 may be configured to combine multiple transcriptions into a single fused transcription. Embodiments discussed with respect to
An example of the operation of the environment 100 is now provided. A communication session between the first device 104 and the second device 106 may be established. As part of the communication session, audio may be obtained by the first device 104 that originates at the second device 106 based on voiced speech of the second user 112. The first device 104 may provide the audio to the transcription system 108 over the network 102.
The transcription system 108 may provide the audio to the transcription unit 114. The transcription unit 114 may provide the audio to the third ASR system 120c and the CA client 122. The CA client 122 may direct broadcasting of the audio to the CA 118 for revoicing of the audio. The CA client 122 may obtain revoiced audio from a microphone that captures the words spoken by the CA 118 that are included in the audio. The revoiced audio may be provided to the first ASR system 120a and the second ASR system 120b.
The first ASR system 120a may generate a first transcription based on the revoiced audio. The second ASR system 120b may generate a second transcription based on the revoiced audio. The third ASR system 120c may generate a third transcription based on the regular audio. The first ASR system 120a and the third ASR system 120c may provide the first and third transcriptions to the fuser 124. The second ASR system 120b may provide the second transcription to the text editor 126. The text editor 126 may direct presentation of the second transcription and obtain input regarding edits of the second transcription. The text editor 126 may provide the edited second transcription to the fuser 124.
The fuser 124 may combine the multiple transcriptions into a single fused transcription. The fused transcription may be provided to the transcription system 108 for providing to the first device 104. The first device 104 may be configured to present the fused transcription to the first user 110 to assist the first user 110 in understanding the audio of the communication session.
In some embodiments, the fuser 124 may also be configured to provide the fused transcription to the text editor 126. The text editor 126 may direct presentation of the transcription of the fused transcription to the CA 118. The CA 118 may provide edits to the fused transcription that are provided to the text editor 126. The edits to the fused transcription may be provided to the first device 104 for presentation by the first device 104.
As described, the generation of the fused transcription may occur in real-time or substantially real-time continually or mostly continually during the communication sessions. In these and other embodiments, in substantially real-time may include the fused transcription being presented by the first device 104 within one, two, three, five, ten, twenty, or some number of seconds after presentation of the audio by the first device 104 that corresponds to the fused transcription.
In some embodiments, transcriptions may be presented on a display of the first device 104 after the corresponding audio may be received from the second device 106 and broadcast by the first device 104, due to time required for revoicing, speech recognition, and other processing and transmission delays. In these and other embodiments, the broadcasting of the audio to the first user 110 may be delayed such that the audio is more closely synchronized with the transcription from the transcription system 108 of the audio. In other words, the audio of the communication session of the second user 112 may be delayed by an amount of time so that the audio is broadcast by the first user 110 at about the same time as, or at some particular amount of time (e.g., 1-2 seconds) before or after, a transcription of the audio is obtained by the first device 104 from the transcription system 108.
In some embodiments, first device 104 may be configured to delay broadcasting of the audio of the second device 106 so that the audio is more closely synchronized with the corresponding transcription. Alternatively or additionally, the transcription system 108 or the transcription unit 114 may delay sending audio to the first device 104. In these and other embodiments, the first device 104 may broadcast audio for the first user 110 that is obtained from the transcription system 108. For example, the second device 106 may provide the audio to the transcription system 108 or the first device 104 may relay the audio from the second device 106 to the transcription system 108. The transcription system 108 may delay sending the audio to the first device 104. After obtaining the audio from the transcription system 108, the first device 104 may broadcast the audio.
In some embodiments, the transcription may also be delayed at selected times to account for variations in latency between the audio and the transcription. In these and other embodiments, the first user 110 may have an option to choose a setting to turn off delay or to adjust delay to obtain a desired degree of latency between the audio heard by the first user 110 and the display of the transcription. In some embodiments, the delay may be constant and may be based on a setting associated with the first user 110. Additionally or alternatively, the delay may be determined from a combination of a setting and the estimated latency between audio heard by the first user 110 and the display of an associated transcription.
In some embodiments, the transcription unit 114 may be configured to determine latency by generating a data structure containing endpoints. An “endpoint,” as used herein, may refer to the times of occurrence in the audio stream for the start and/or end of a word or phrase. In some cases, endpoints may mark the start and/or end of each phoneme or other sub-word unit. A delay time, or latency, may be determined by the transcription unit 114 by subtracting endpoint times in the audio stream for one or more words, as determined by an ASR system, from the times that the corresponding one or more words appear at the output of the transcription unit 114 or on the display of the first device 104.
The transcription unit 114 may also be configured to measure latency within the environment 100 such as average latency of a transcription service, average ASR latency, average CA latency, or average latency of various forms of the transcription unit 114 and may be incorporated into accuracy measurement systems such as described below with reference to
In some embodiments, audio delay and transcription delay may be constant. Additionally or alternatively, audio delay and transcription delay may be variable and responsive to the audio signal and the time that portions of the transcription become available. For example, delays may be set so that words of the transcription appear on the screen at time periods that approximately overlap the time periods when the words are broadcast by the audio so that the first user 110 hears them. Synchronization between audio and transcriptions may be based on words or word strings such as a series of a select number of words or linguistic phrases, with words or word strings being presented on a display approximately simultaneously. The various audio vs. transcription delay and latency options described above may be fixed, configurable by a representative of the transcription system 108 such as an installer or customer care agent, or the options may be user configurable.
In some embodiments, latency or delay may be set automatically based on knowledge of the first user 110. For example, when the first user 110 is or appears to be lightly hearing impaired, latency may be reduced so that there is a relatively close synchronization between the audio that is broadcast and the presentation of a corresponding transcription. When the first user 110 is or appears to be severely hearing impaired, latency may be increased. Increasing latency may give the transcription system 108 additional time to generate the transcription. Additional time to generate the transcription may result in higher accuracy of the transcription. Alternatively or additionally, additional time to generate the transcription may result in fewer corrections of the transcription being provided to the first device 104. A user's level and type of hearing impairment may be based on a user profile or preference settings, medical record, account record, evidence from a camera that sees the first user 110 is diligently reading the text transcription, or based on analysis of the first user's voice or on analysis of the first user's conversations.
In some embodiments, an ASR system within the transcription system 108 may be configured for reduced latency or increased latency. In some embodiments, increasing the latency of an ASR system may increase the accuracy of the ASR system. Alternatively or additionally, decreasing the latency of the ASR system may decrease the accuracy of the ASR system.
For example, one or more of the ASR systems 120 in the transcription unit 114 may include different latencies. As a result, the ASR systems 120 may have different accuracies. For example, the first ASR system 120a may be speaker-dependent based on using the CA profile. Furthermore, the first ASR system 120a may use revoiced audio from the CA client 122. As a result, the first ASR system 120a may be determined, based on analytics or selection by a user or operator of the transcription system 108, to generate transcriptions that are more accurate than transcriptions generated by the other ASR systems 120. Alternatively or additionally, the first ASR system 120a may include configuration settings that may increase accuracy at the expense of increasing latency.
In some embodiments, the third ASR system 120c may generate a transcription faster than the first ASR system 120a and the second ASR system 120b. For example, the third ASR system 120c may generate the transcription based on the audio from the transcription system 108 and not the revoiced audio. Without the delay caused by the revoicing of the audio, the third ASR system 120c may generate a transcription in less time than the first ASR system 120a and the second ASR system 120b. Alternatively or additionally, the third ASR system 120c may include configuration settings that may decrease latency.
In these and other embodiments, the third transcription from the third ASR system 120c may be provided to the fuser 124 and the transcription system 108 for sending to the first device 104 for presentation. The first ASR system 120a and the second ASR system 120b may also be configured to provide the first transcription and the second transcription to the fuser 124.
In some embodiments, the fuser 124 may compare the third transcription with the combination of the first transcription and the second transcription. The fuser 124 may compare the third transcription with the combination of the first transcription and the second transcription while the third transcription is being presented by the first device 104.
Alternatively or additionally, the fuser 124 may compare the third transcription with each of the first transcription and the second transcription. Alternatively or additionally, the fuser 124 may compare the third transcription with the combination of the first transcription, the second transcription, and the third transcription. Alternatively or additionally, the fuser 124 may compare the third transcription with one of the first transcription and the second transcription. Alternatively or additionally, in these and other embodiments, the text editor 126 may be used to edit the first transcription, the second transcription, the combination of the first transcription, the second transcription, and/or the third transcription based on input from the CA 118 before being provided to the fuser 124.
Differences determined by the fuser 124 may be determined to be errors in the third transcription. Corrections of the errors may be provided to the first device 104 for correcting the third transcription being presented by the first device 104. Corrections may be marked in the presentation by the first device 104 in any manner of suitable methods including, but not limited to, highlighting, changing the font, or changing the brightness of the text that is replaced.
By generating the third transcription faster than other transcriptions and providing the third transcription to the first device 104 before fusing or corrections are determined for the third transcription, a transcription may be provided to the first device 104 quicker than in other embodiments. By providing the transcription quicker, the delay between the broadcast audio and the presentation of the corresponding transcription may be reduced. The comparison between the third transcription and one or more of the other transcriptions as described provides for corrections to be made of the third transcription such that a more accurate transcription may be presented.
Modifications, additions, or omissions may be made to the environment 100 and/or the components operating in the environment 100 without departing from the scope of the present disclosure. For example, in some embodiments, providing the transcriptions by the transcription system 108 may be described as a transcription service. In these and other embodiments, a person that receives the transcriptions through a device associated with the user, such as the first user 110, may be denoted as “a subscriber” of the transcription system 108 or a transcription service provided by the transcription system 108. In these and other embodiments, a person whose speech is transcribed, such as the second user 112, may be described as the person being transcribed. In these and other embodiments, the person whose speech is transcribed may be referred to as the “transcription party.”
In these and other embodiments, the transcription system 108 may maintain a configuration service for devices associated with the transcription service provided by the transcription system 108. The configuration services may include configuration values, subscriber preferences, and subscriber information for each device. The subscriber information for each device may include mailing and billing address, email, contact lists, font size, time zone, spoken language, authorized transcription users, default to captioning on or off, a subscriber preference for transcription using an automatic speech recognition system or revoicing system, and a subscriber preference for the type of transcription service to use. The type of transcription service may include transcription only on a specific phone, across multiple devices, using a specific automatic speech recognition system, using a revoicing systems, a free version of the service, and a paid version of the service, among others.
In some embodiments, the configuration service may be configured to allow the subscriber to create, examine, update, delete, or otherwise maintain a voiceprint. In some embodiments, the configuration service may include a business server, a user profile system, and a subscriber management system. The configuration service may store information on the individual devices or on a server in the transcription system 108.
In some embodiments, subscribers may access the information associated with the configuration services for their account with the transcription system 108. In these and other embodiments, a subscriber may access the information via a device, such as a transcription phone, a smartphone or tablet, by phone, through a web portal, etc. In these and other embodiments, accessing information associated with the configuration services for their account may allow a subscriber to modify configurations and settings for the device associated with their account from a remote location. In these and other embodiments, customer or technical support of the transcription service may have access to devices of the subscribers to provide technical or service assistance to customers when needed. Additionally or alternatively, an image management service (not shown) may provide storage for images that the subscriber wishes to display on their associated device. An image may, for example, be assigned to a specific contact, so that when that contact name is displayed or during a communication session with the contact, the image may be displayed. Images may be used to provide customization to the look and feel of a user interface of a device or to provide a slideshow functionality. The image management service may include an image management server and an image file server.
As another example, in some embodiments, the transcription system 108 may provide transcriptions for both sides of a communication session to one or both of the first device 104 and the second device 106. For example, the first device 104 may receive transcriptions of both the first audio and the second audio. In these and other embodiments, the first device 104 may present the transcriptions of the first audio in-line with the transcriptions from the second audio. In these and other embodiments, each transcription may be tagged, in separate screen fields, or on separate screens to distinguish between the transcriptions.
Throughout the disclosure, various embodiments may discuss one device receiving a transcription for clarity. However, unless noted otherwise, where the disclosure discusses a device receiving a transcription it is to be understood that multiple devices may receive the transcription. Alternatively or additionally, where the disclosure discusses a device receiving a transcription of audio from another device it is to be understood that the other device may receive a transcription of the audio from the device. In these and other embodiments, timing messages may be sent between the transcription system 108 and either the first device 104 or the second device 106 so that transcriptions may be presented substantially at the same time on both the first device 104 and the second device 106. Alternatively or additionally, the transcription system 108 may provide a summary of one or both sides of the conversation to one or both parties. In these and other embodiments, a device providing audio for transcription may include an interface that allows a user to modify the transcription. For example, the second device 106 may display transcriptions of audio from the second user 112 and may enable the second user 112 to provide input to the second device 106 to correct errors in the transcriptions of audio from the second user 112. The corrections in the transcriptions of audio from the second user 112 may be presented on the first device 104. Alternatively or additionally, the corrections in the transcriptions of audio from the second user 112 may be used for training an ASR system.
As other examples, the first device 104 and/or the second device 106 may include modifications, additions, or omissions. For example, in some embodiments, transcriptions may be transmitted to either one or both of the first device 104 and the second device 106 in any format suitable for either one or both of the first device 104 and the second device 106 or any other device to present the transcriptions. For example, formatting may include breaking transcriptions into groups of words to be presented substantially simultaneously, embedding XML tags, setting font types and sizes, indicating whether the transcriptions are generated via automatic speech recognition systems or revoicing systems, and marking initial transcriptions in a first style and corrections to the initial transcriptions in a second style, among others.
In some embodiments, the first device 104 may be configured to receive input from the first user 110 related to various options available to the first user 110. For example, the first device 104 may be configured to provide the options to the first user 110 including turning transcriptions on or off. Transcriptions may be turned on or off using selection methods such as: phone buttons, screen taps, soft keys (buttons next to and labeled by the screen), voice commands, sign language, smartphone apps, tablet apps, phone calls to a customer care agent to update a profile corresponding to the first user 110, and touch-tone commands to an IVR system, among others.
In some embodiments, the first device 104 may be configured to obtain and/or present an indication of whether the audio from the communication session is being revoiced by a CA. In these and other embodiments, information regarding the CA may be presented by the first device 104. The information may include an identifier and/or location of the CA. Alternatively or additionally, the first device 104 may also present details regarding the ASR system being used. These details may include, but are not limited to the ASR system's vendor, cost, historical accuracy, and estimated current accuracy, among others.
In some embodiments, either one or both of the first device 104 and the second device 106 may be configured with different capabilities for helping users with various disabilities and impairments. For example, the first device 104 may be provided with tactile feedback by haptic controls such as buttons that vibrate or generate force feedback. Screen prompts and transcription may be audibly provided by the first device 104 using text-to-speech or recorded prompts. The recorded prompts may be sufficiently slow and clear to allow some people to understand the prompts when the people may not understand fast, slurred, noisy, accented, distorted, or other types of less than ideal audio during a communication session. In some embodiments, transcriptions may be delivered on a braille display or terminal. The first device 104 may use sensors that detect when pins on a braille terminal are touched to indicate to the second device 106 the point in the transcription where the first user 110 is reading. As another example, the first device 104 may be controlled by voice commands Voice commands may be useful for mobility impaired users among other users.
In some embodiments, either one or both of the first device 104 and the second device 106 may be configured to present information related to a communication session between the first device 104 and the second device 106. The information related to a communication session may include: presence of SIT (special information tones), communication session progress tones (e.g. call forwarding, call transfer, forward to voicemail, dial tone, call waiting, comfort noise, conference call add/drop and other status tones, network congestion (e.g. ATB), disconnect, three-way calling start/end, on-hold, reorder, busy, ringing, stutter dial tone (e.g. voicemail alert), record tone (e.g. recording alert beeps), etc.), flash hook, on-hold music, an indicator of when another party answers or disconnects, the number of calling devices connected to a conference call, an indicator of whether the other party is speaking or silent, and messages relating to the presence, nature of, and identity of non-speech sounds. Non-speech sounds may include noise, dog barks, crying, sneezing, sniffing, laughing, thumps, wind, microphone pops, car sounds, traffic, multiple people talking, clatter from dishes, sirens, doors opening and closing, music, background noise consistent with a specified communication network such as the telephone network in a specified region or country, a long-distance network, a type of wireless phone service, etc.
In some embodiments, either one or both of the first device 104 and the second device 106 may be configured to present an indication of a quality of a transcription being presented. The quality of the transcription may include an accuracy percentage. In these and other embodiments, either one or both of the first device 104 and the second device 106 may be configured to present an indication of the intelligibility of the speech being transcribed so that an associated user may determine if the speech is of a quality that can be accurately transcribed. Additionally or alternatively, either one or both of the first device 104 and the second device 106 may also present information related to the sound of the voice such as tone (shouting, whispering), gender (male/female), age (elderly, child), audio channel quality (muffled, echoes, static or other noise, distorted), emotion (excited, angry, sad, happy), pace (fast/slow, pause lengths, rushed), speaker clarity, impairments or dysfluencies (stuttering, slurring, partial or incomplete words), spoken language or accent, volume (loud, quiet, distant), and indicators such as two people speaking at once, singing, nonsense words, and vocalizations such as clicks, puffs of air, expressions such as “aargh,” buzzing lips, etc.
In some embodiments, during or at the end of a communication session, either one or both of the first device 104 and the second device 106 may present an invitation for the associated user to provide reviews on topics such as the quality of service, accuracy, latency, settings desired for future communication sessions, willingness to pay, and usefulness. In these and other embodiments, with respect to the first device 104, the first device 104 may collect the user's feedback or direct the user to a website or phone number. The first device 104 may be configured to receive input from the first user 110 such that the first user 110 may mark words that were transcribed incorrectly, advise the system of terms such as names that are frequently misrecognized or misspelled, and input corrections to transcriptions, among other input from the first user 110. In these and other embodiments, user feedback may be used to improve accuracy, such as by correcting errors in data used to train or adapt models, correcting word pronunciation, and in correcting spelling for homonyms such as names that may have various spellings, among others.
In some embodiments, either one or both of the first device 104 and the second device 106 may be configured to display a selected message before, during, or after transcriptions are received from the transcription system 108. For example, the display showing transcriptions may start or end the display of transcriptions with a copyright notice that pertains to the transcription of the audio, such as “Copyright ©<year><owner>,” where “<year>” is set to the current year and <owner> is set to the name of the copyright owner.
In some embodiments, either one or both of the first device 104 and the second device 106 may be configured to send or receive text messages during a communication session with each other, such as instant message, real-time text (RTT), chatting, or texting over short message services or multimedia message services using voice, keyboard, links to a text-enabled phone, smartphone or tablet, or via other input modes. In these and other embodiments, either one or both of the first device 104 and the second device 106 may be configured to have the messages displayed on a screen or read using text-to-speech. Additionally or alternatively, either one or both of the first device 104 and the second device 106 may be configured to send or receive text messages to and/or from other communication devices and to and/or from parties outside of a current communication. Additionally or alternatively, either one or both of the first device 104 and the second device 106 may be configured to provide features such as voicemail, voicemail transcription, speed dial, name dialing, redial, incoming or outgoing communication session history, and callback, among other features that may be used for communication sessions.
In some embodiments, transcriptions may be presented on devices other than either one or both of the first device 104 and the second device 106. In these and other embodiments, a separate device may be configured to communicate with the first device 104 and receive the transcriptions from the first device 104 or directly from the transcription system 108. For example, if the first device 104 includes a cordless handset or a speakerphone feature, the first user 110 may carry the cordless handset to another location and still view transcriptions on a personal computer, tablet, smartphone, cell phone, projector, or any electronic device with a screen capable of obtaining and presenting the transcriptions. Additionally or alternatively, this separate display may incorporate voice functions so as to be configured to allow a user to control the transcriptions as described in this disclosure.
In some embodiments, the first device 104 may be configured to control the transcriptions displayed on a separate device. For example, the first device 104 may include control capabilities including, capability to select preferences, turn captioning on/off, and select between automatic speech recognition systems or revoicing systems for transcription generation, among other features.
As another example, the transcription unit 114 may include modifications, additions, or omissions. For example, in some embodiments, the transcription unit 114 may utilize additional ASR systems. For example, the transcription unit 114 may provide audio, either revoiced or otherwise, to a fourth ASR system outside of the transcription system 108 and/or to an ASR service. In these and other embodiments, the transcription unit 114 may obtain the transcriptions from the fourth ASR system and/or the ASR service. The transcription unit 114 may provide the transcriptions to the fuser 124.
In some embodiments, a fourth ASR system may be operating on a device coupled to the transcription system 108 through the network 102 and/or one of the other first device 104 and the second device 106. Alternatively or additionally, the fourth ASR system may be included in the first device 104 and/or the second device 106.
As another example, the transcription unit 114 may not include the one or more of the fuser 124, the text editor 126, the first ASR system 120a, the second ASR system 120b, and the third ASR system 120c. For example, in some embodiments, the transcription unit 114 may include the first ASR system 120a, the third ASR system 120c, and the fuser 124. Additional configurations of the transcription unit 114 are briefly enumerated here in Table 1, and described in greater detail below.
In some embodiments, the first device 104 and/or the transcription system 108 may determine which ASR system 120 in the transcription unit 114 may be used to generate a transcription to send to the first device 104. Alternatively or additionally, the first device 104 and/or the transcription system 108 may determine whether revoiced audio may be used to determine the transcriptions. In some embodiments, the first device 104 and/or the transcription system 108 may determine which ASR system 120 to use or whether to use revoiced audio based on input from the first user 110, preferences of the first user 110, an account type of the first user 110 with respect to the transcription system 108, input from the CA 118, or a type of the communication session, among other criteria. In some embodiments, the first user 110 preferences may be set prior to the communication session. In some embodiments, the first user may indicate a preference for which ASR system 120 to use and may change the preference during a communication session.
As another example, the transcription system 108 may include modifications, additions, or omissions. For example, the transcription system 108 may include multiple transcription units, such as the transcription unit 114. Each or some number of the multiple transcription units may include different configurations as discussed above. In some embodiments, the transcription units may share ASR systems and/or ASR resources. For example, the third ASR system 120c or ASR services may be shared among multiple different ASR systems. In these and other embodiments, the transcription system 108 may be configured to select among the transcription units 114 when audio of a communication session is received for transcription.
In some embodiments, the selection of a transcription unit may depend on availability of the transcription units. For example, in response to ASR resources for one or more transcription units being unavailable, the audio may be directed to a different transcription unit that is available. In some embodiments, ASR resources may be unavailable, for example, when the transcription unit relies on ASR services to obtain a transcription of the audio.
In response to multiple transcription units having varying available resources, audio may be directed to one or more of the transcription units using allocation rules such as (a) allocating audio to resources based on the capacity of each resource, (b) directing audio to one or more transcription unit resources in priority order, for example by directing to a first resource until the first resource is at capacity or unavailable, then to a second resource, and so on, (c) directing communication sessions to various transcription units based on performance criteria such as accuracy, latency, and reliability, (d) allocating communication sessions to various transcription units based on cost (see #12, #19-21, and #24-29 in Table 2), (e) allocating communication sessions based on contractual agreement, such as with service providers, (f) allocating communication sessions based on distance or latency (see #40 in Table 2), and (g) allocating communication sessions based on observed failures such as error messages, incomplete transcriptions, loss of network connection, API problems, and unexpected behavior. The above rules may also be applied to selecting between resources within a single transcription unit.
In some embodiments, an audio sample may be sent to multiple transcription units and the resulting transcriptions generated by the transcription units may be combined, such as via fusion. Alternatively or additionally, one of the resulting transcriptions from one of the transcription units may be selected to be provided to the first device 104. The transcriptions may be selected based on the speed of generating the transcription, cost, estimated accuracy, and an analysis of the transcriptions, among others.
The transcription system 208 may include an automatic communication session distributor (ACD) 202. The ACD 202 may include a session border controller 206, a database 209, a process controller 210, and a hold server 212. The transcription system 208 may further include multiple transcription units 214, including a first transcription unit (TU1) 214a, a second transcription unit (TU2) 214b, a third transcription unit TU3214c, and a fourth transcription unit TU4214d. Each of the transcription units 214 may be configured in a manner as described with respect to the transcription unit 114 of
In some embodiments, the first device 104 is configured to communicate with an ACD 202 over the network 102 and request a transcription of audio. After establishing communication with the ACD 202, the first device 104 is configured to register with the session border controller 206. The session border controller 206 may record the registration in a user queue in the database 209. Generally, the use of the term database may refer to any storage device and not a device with any particular structure or interface.
Transcription units 214 that are also available to generate transcriptions may be registered with the session border controller 206. For example, after a transcription unit 214 stops receiving audio at the termination of a communication session, the transcription unit 214 may provide an indication of availability to the session border controller 206. The session border controller 206 may record the available transcription units 214 in an idle unit queue in the database 209.
In some embodiments, the process controller 210 may be configured to select an available transcription unit 214 from the idle unit queue to generate transcriptions for audio from a device in the user queue. As described above, each transcription unit 214 may be configured to generate transcriptions using regular audio, revoiced audio, or some combination of regular audio and revoiced audio using speaker-dependent, speaker-independent, or a combination of speaker-dependent and independent ASR systems. In these and other embodiments, the transcription system 208 may include transcription units 214 with multiple different configurations. For example, each of the transcription units 214a-214n may have a different configuration. Alternatively or additionally, some of the transcription units 214 may have the same configuration. Alternatively or additionally, the transcription units 214 may be differentiated based on a CA associated with the transcription unit 214 that may assist in generating the revoiced audio for the transcription unit 214. Thus, a configuration of a transcription unit 214 may be determined based on the CA associated with the transcription unit 214.
The process controller 210 may be configured to select a transcription unit based on:
A method implementing a selection process is described below in greater detail with reference to
As discussed, selection of a transcription unit 214 may be based on an ability of a CA associated with the transcription unit 214. In some embodiments, profiles of CAs may be maintained in the database 209 that track certain metrics related to the performance of a CA to revoice audio and/or make corrections to transcriptions generated by an ASR system. For example, each profile may include one or more of: levels of multiple skills such as speed, accuracy, an ability to revoice communication sessions in noise or in other adverse acoustic environments such as signal dropouts or distortion, proficiency with specific accents or languages, skill or experience revoicing speech from speakers with various types of speech impairments, skill in revoicing speech from children, an ability to keep up with fast talkers, proficiency in speech associated with specific terms such as medicine, insurance, banking, or law, the ability to understand a particular speaker or class of speakers such as a particular speaker demographic, and skill in revoicing conversations related to a detected or predicted topic or topics of the current communication session, among others. In some embodiments, each profile may include a rating with respect to each skill.
In some embodiments, the ACD 202 may be configured to automatically analyze a transcription request to determine whether a particular skill may be advantageous. If a communication session appears likely to benefit from a CA with a particular skill, the saved CA skill ratings in the CA profiles may be used in selecting a transcription unit to receive the communication session. Additionally or alternatively, when a CA is revoicing or is about to revoice a communication session, the CA's skill ratings, combined with other factors such as estimated difficulty in transcribing a user, transcribing a CA, predicted ASR system accuracy for the speaker which may be based on or include previous ASR system accuracy for the speaker, and the CA's estimated performance (including accuracy, latency, and other measures) on the current communication session, may be used to estimate the performance of the transcription unit on the remainder of the communication session. The estimated performance may be used by the ACD 202 to determine whether to change the transcription arrangement, such as to keep the transcription unit on the communication session or transfer to another transcription unit, which may or not rely totally on revoiced audio.
In some embodiments, the process controller 210 may be configured to select an available transcription unit 214 from the idle unit queue to generate transcriptions for audio from a device in the user queue. A transcription unit may be selected based on projected performances of the transcription unit for the audio of the device. The projected performance of a transcription unit may be based on the configuration of the transcription unit and the abilities of a CA associated with the transcription unit.
In some embodiments, the transcription units in the idle unit queue may be revoiced transcription units or non-revoiced transcription units. The revoiced transcription units may each be associated with a different CA. In some embodiments, the CA may be selected to be associated with a particular revoiced transcription unit based on the abilities of the CA. Alternatively or additionally, a revoiced transcription unit may be created with a particular configuration based on the abilities of the CA. In these and other embodiments, when a revoiced transcription unit associated with a CA is not selected, the associated CA may be assigned or returned to a pool of available CAs and may subsequently be assigned to work on another communication session. The revoiced transcription units may include speaker-independent ASR systems and/or speaker-dependent ASR systems that are configured based on the speech patterns of the CAs associated with the revoiced transcription units.
For example, a CA that revoices audio that results in a transcription with a relatively high accuracy rating may revoice audio for a transcription unit 214 configuration without an additional ASR system. In contrast, revoiced audio from a CA with a relatively low accuracy rating may be used in a transcription unit with multiple ASR systems, the transcriptions of which may be fused together (see
As another example, transcription units with different configurations may be created based on the predicted type of subscribers that may be using the service. For example, transcription units with configurations that are determined to better handle business calls may be used during the day and transcription units with configurations that are determined to better handle personal calls may be used during the evening.
In some embodiments, the transcription units may be implemented by software configured on virtual machines, for example in a cloud framework. In these and other embodiments, the transcription units may provision or de-provision as needed. In some embodiments, revoicing transcription units may be provisioned when a CA is available and not associated with a transcription unit. For example, when a CA with a particular ability is available, a transcription unit with a configuration suited for the abilities of the CA may be provisioned. When the CA is no longer available, such as at the end of working-shift, the transcription unit may be de-provisioned. Non-revoicing transcription units may be provisioned based on demand or other needs of the transcription system 208.
In some embodiments, it may take time after a resource or instance is provisioned before it is available to transcribe communication sessions and to be placed in the idle unit queue. In these and other embodiments, transcription units may be provisioned in advance, based on projected need. In particular, the non-revoiced transcription units may be provisioned in advance based on projected need.
The ACD 202 or other device may manage the number of transcription units provisioned or de-provisioned. In these and other embodiments, the ACD 202 may provision or de-provision transcription units based on the available transcription units compared to the current or projected traffic load, the number of currently provisioned transcription units compared to the number of transcription units actively transcribing audio from a communication session, traffic load, or other operations metrics (see Table 2 for a non-exhaustive list of potential operations metrics or features).
For example, if the available transcription unit pool shrinks to a selected level, as determined by the ACD 202, the ACD 202 may configure additional transcription unit instances so that the additional transcription units are ready for possible traffic spikes. Alternatively or additionally, the ACD 202 may provision a transcription unit and the transcription unit may provision ASR systems and other resources in the transcription unit.
In some embodiments, the ACD 202 may also be configured to log communication sessions and transcription records in the database 209. Examples of communication session and transcription records include, but are not limited to, phone numbers, date/time, communication session durations, whether communication sessions are transcribed, what portion of communication sessions are transcribed, and whether communication sessions are revenue-producing (billable), or non-revenue producing (non-billable). The ACD 202 may track whether communication sessions are transcribed with revoiced or without revoiced audio. Alternatively or additionally, the ACD 202 may track whether a communication session is transcribed without revoiced audio for a part of the communication session and with revoiced audio for another part of the communication session. In these and other embodiments, the ACD 202 may indicate what portion of the communication session was transcribed with revoiced audio and without revoiced audio.
In some embodiments, the ACD 202 may track the transcription for the purpose of billing a user that requested the transcription. In these and other embodiments, a time of a certain event may be used as the basis for billing. Examples of time events that may be used as a basis for billing may include:
In some embodiments, the transcription system 208 may include a remote monitor 224. In these and other embodiments, a remote monitor 224 may enable a supervisor (e.g., a computer program such as a CA activity monitor 3104 to be described with reference to
In some embodiments, the remote monitor 224 may also be configured to provide to a device associated with a supervisor or other quality assurance person audio and a transcription of the audio generated by a transcription unit 214. For example, the remote monitor 224 may provide to a supervisor regular audio, revoiced audio associated with the regular audio, and transcriptions as generated based on the regular and/or revoiced audio.
In some embodiments, the remote monitor 224 may capture and provide, for presentation, additional information regarding the transcription system 208 and/or the transcription units 114. The information may include metrics used for selection of a CA, a transcription unit configuration, a CA identifier, CA activity with respect to a text editor, alerts from a CA activity monitor (as will be described below in greater detail with reference to
In some embodiments, the remote monitor 224 may be, for example, manually activated, or automatically activated in response to an event such as an alert indicating that a CA may be distracted. In these and other embodiments, the remote monitor 224 may be configured to provide an interface to a device to allow the device to present and receive edits of a transcription in addition to the text editor associated with the transcription unit generating the transcription of the audio. Alternatively or additionally, the remote monitor 224 may be configured to transfer responsibility from a first device to a second device to broadcast and capture audio to generate revoiced audio.
Modifications, additions, or omissions may be made to the environment 200 and/or the components operating in the environment 200 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription system 208 may be networked with more than just the first device 104. Alternatively or additionally, in some embodiments, the environment 200 may not include the remote monitor 224.
The method 300 may begin at block 302, where a transcription request may be obtained. For example, an ACD, such as the ACD 202 of
At block 304, the transcription request with its designated priority may be placed in the request queue.
At block 306, the transcription unit (TU) availability may be determined. The transcription unit availability may be determined by the ACD. In some embodiments, the ACD may consider various factors to determine transcription unit availability. The factors may include projected peak traffic load or a statistic such as the peak load projected for a period of time, projected average traffic load or a statistic such as the average load projected for a next period of time, the number of transcription units projected to be available and an estimate for when the transcription units will be available based on information from a scheduling system that tracks anticipated sign-on and sign-off times for transcription units, past or projected excess transcription unit capacity over a given period of time, the current number or percentage of idle or available transcription units, and the number of idle or available transcription units, averaged over a preceding period of time. In these and other embodiments, the transcription units determined to be available may be revoiced transcription units. Alternatively or additionally, the transcription units determined to be available may be non-revoiced transcription units or a combination of non-revoiced transcription units and revoiced transcription units.
At block 308, it is determined if the transcription unit availability is above a particular threshold. If yes, the method proceeds to block 310. If no, the request may remain in a queue until the determination is affirmative. The value of the particular threshold may be selected based on the request being a lower-priority request or a higher-priority request. If the request is a higher-priority request, the particular threshold may be close to zero such that the higher-priority request may be accepted with a limited delay. If the request is a lower-priority request, the particular threshold may be higher than the particular threshold for higher-priority requests to reduce the likelihood that there are not transcription units available when a higher-priority request is obtained. At block 310, the request may be sent to an available transcription unit.
It is understood that, for this and other processes, operations, and methods disclosed herein, the functions and/or operations performed may be implemented in differing order. Furthermore, the outlined functions and operations are only provided as examples, and some of the functions and operations may be optional, combined into fewer functions and operations, or expanded into additional functions and operations without detracting from the essence of the disclosed embodiments. For example, in some embodiments, in block 306, the availability of revoiced transcription units may be measured and the availability may be compared to a threshold in block 308. When the availability is below the threshold, the method 300 may return to block 306 and the availability of non-revoiced transcription units may be measured and the method 300 may proceed to block 308. Thus, in these and other embodiments, the method 300 may select revoiced transcription units before selecting non-revoiced transcription units.
The transcription system 408 may include an ACD 402 that includes a selector 406. The transcription system 408 may also include a first transcription unit 414a and a second transcription unit 414b, referred to as the transcription units 414, and an accuracy tester 430. The first transcription unit 414a may include a first ASR system 420a, a second ASR system 420b, referred to as the ASR system(s) 420, and a CA client 422.
The ACD 402 may be configured to perform the functionality described with respect to the ACD 202 of
In some embodiments, the automated accuracy tester 430 may be configured to estimate an accuracy of transcriptions generated by the transcription units 414 and/or the ASR systems 420. In these and other embodiments, the accuracy tester 430 may be configured to estimate the quality of the transcriptions in real-time during the communication session. Thus, the accuracy tester 430 may generate the estimated accuracy as the transcriptions are generated and provided to the first device 104. The accuracy tester 430 may provide the estimated qualities to the selector 406.
In some embodiments, the term “accuracy” may be used generically to refer to one or more metrics of a transcription or of the process of generating a transcription. For example, the term accuracy may represent one or more metrics including values or estimates for: accuracy, quality, error counts, accuracy percentages, error rates, error rate percentages, confidence, likelihood, likelihood ratio, log likelihood ratio, word score, phrase score, probability of an error, word probability, quality, and various other metrics related to transcriptions or the generation of transcriptions. Additionally, any of the above terms may be used in this disclosure interchangeably unless noted otherwise or understood from the context of the description. For example, an embodiment that describes the metric of confidence is used to make a decision or may rely on other of the metrics described above to make the decision. Thus, the use of a specific term outside of the term accuracy should not be limiting, but rather as an example metric that may be used from multiple potential metrics.
For example, accuracy percentage of a transcription may equal accuracy of tokens in the transcription multiplied by 100% and divided by the number of tokens in the transcription. In these and other embodiments, the accuracy percentage may be 100% minus the percentage error rate. As another example, accuracy may equal one minus the error rate when error and accuracy are expressed in decimals. Thus, a description for estimating or utilizing one form of accuracy is to be understood to also be a description for estimating or utilizing another form of accuracy, since accuracy and error rates are merely different expressions of the same phenomenon. As another example, an agreement rate may be substantially equivalent to a disagreement rate, since they are complementary. For example, an agreement rate may be expressed as one (or 100%) minus the disagreement rate. In another example, where a method is described for using an agreement rate to form an estimate or selection, then a disagreement rate may be similarly used.
In some embodiments, the estimated or predicted accuracy may be based on past accuracy estimates. For example, past accuracy estimates may include the estimated and/or calculated accuracy for a previous period of time (e.g., for the past 1, 5, 10, 20, 30, or 60 seconds), since the beginning of the communication session, or during at least part of a previous communication session with the same transcription party. In these and other embodiments, the predicted accuracy may be based on the past accuracy estimates. Alternatively or additionally, the predicted accuracy may be the part accuracy estimates. For example, if the past accuracy estimates an accuracy of 95%, the predicted accuracy going forward may equal the past accuracy estimates and may be 95%. Generally, when discussing a predicted accuracy in this disclosure, the predicted accuracy may be the past accuracy or may be a determination that is based on the past accuracy. Thus, the use of the term “predict,” “predicted,” or “prediction” does not imply that additional calculations are performed with respect to previous estimates or determinations of accuracy. Additionally, as discussed, the term accuracy may represent one or more metrics and the use of the term “predict,” “predicted,” or “prediction” with respect to any metric should be interpreted as discussed above. Additionally, the use of the term “predict,” “predicted,” or “prediction” with respect to any quantity, method, variable, or other element in this disclosure should be interpreted as discussed above and does not imply that additional calculations are performed to determine the prediction. For example, where a prediction is described with reference to metrics such as availability of transcription units, conversation topic, characteristics and types of users or CAs, cost of service, traffic volumes, business or operations measures such as a global metric, spoken language, an estimate based on past or current values may be equivalently used.
In some embodiments, estimated accuracy of transcriptions of audio generated by a first transcription unit or ASR system may be based on transcriptions of the audio generated by a second transcription unit or ASR system. In these and other embodiments, the second transcription unit or ASR system may operate in one of various operating modes. The various operating modes may include a normal operating mode that executes a majority or all of the features described below with respect to
In some embodiments, the selector 406 may obtain an estimated accuracy of the transcription units 414 and/or the ASR systems 120 from the accuracy tester 430. In these and other embodiments, the selector 406 may be configured to change the transcription unit 414 generating the transcription or a configuration of the transcription unit 414 generating the transcription during the communication session based on the estimated accuracy.
In these and other embodiments, the selector 406 may be configured to determine when the estimated accuracy associated with a first unit not performing transcriptions, such as the transcription unit 414 or ASR system 420, meets an accuracy requirement. When the estimated accuracy associated with a first unit meets the accuracy requirement, the first unit may begin performing transcriptions. In these and other embodiments, a second unit, such as the transcription unit 414 or ASR system 420, that previously performed transcriptions when the first unit meets the accuracy requirement may stop performing transcriptions.
In some embodiments, the accuracy requirement may be associated with a selection threshold value. In these and other embodiments, the selector 406 may compare the estimated accuracy of a first unit, such as one of the ASR systems 420 or one of the transcription unit 414, to the selection threshold value. When the estimated accuracy is above the selection threshold value, the accuracy requirement may be met and the selector 406 may select the first unit to generate transcriptions. When the estimated accuracy is below the selection threshold value, the accuracy requirement may not be met and the selector 406 may not select the first unit to generate transcriptions. In these and other embodiments, when the accuracy requirement is not met, the selector 406 may continue to have a second unit that previously generated transcriptions to continue to generate transcriptions. In these and other embodiments, the selection threshold value may be based on numerous factors and/or the selection threshold value may be a relative value that is based on the accuracy of the ASR system 420 and/or the transcription unit 414.
For example, in some embodiments, the selection threshold value may be based on an average accuracy of one or more of the transcription units 414 and/or the ASR systems 420. For example, when the selector 406 is selecting between the first transcription unit 414a and the second transcription unit 414b, an average accuracy of the first transcription unit 414a and an average accuracy of the second transcription unit 414b may be combined. For example, the average accuracies may be subtracted, added using a weighted sum, or averaged. The selection threshold value may be based on the average accuracies of the transcription units 414.
In some embodiments, an average accuracy of the transcription unit 414 and/or the ASR system 420 may be determined. The average accuracy may be based on a comparison of a reference transcription of audio to a transcription of the audio. For example, a reference transcription of audio may be generated from the audio. Additionally, the transcription unit 414 and/or the ASR system 420 may generate a transcription of the audio. The transcription generated by the transcription unit 414 and/or the ASR system 420 and the reference transcription may be compared to determine the accuracy of the transcription by the transcription unit 414 and/or the ASR system 420. The accuracy of the transcription may be referred to as an average accuracy of the transcription unit 414 and/or the ASR system 420.
In some embodiments, the reference transcription may be based on audio collected from a production service that is transcribed offline. One example of transcribing audio offline may include the steps of configuring a transcription management, transcription, and editing tool to (a) send an audio sample to a first transcriber for transcription, then to a second transcriber to check the results of the first transcriber, (b) send multiple audio samples to a first transcriber and at least some of the audio samples to a second transcriber to check quality, or (c) send an audio sample to two or more transcribers and to use a third transcriber to check results when the first two transcribers differ. Additionally or alternatively, the accuracy tester 410 may generate a reference transcription in real time and automatically compare the reference to the hypothesis to determine an error rate in real time.
In some embodiments, a reference transcription may be generated by sending the same audio segment to multiple different revoiced transcription units that each transcribe the audio. Alternatively or additionally, the same audio segment may be sent to multiple different non-revoiced transcription units that each transcribe the audio. The output of some or all of the non-revoiced and revoiced transcription units may be provided to a fuser that may combine the transcriptions into a reference transcription.
In some embodiments, the accuracy requirement may be associated with an accuracy margin. In these and other embodiments, the selector 406 may compare the estimated accuracy of a first unit, such as one of the ASR systems 420 or one of the transcription units 414, to the estimated accuracy of a second unit, such as one of the ASR systems 420 or one of the transcription units 414. When the difference between the estimated accuracies of the first and second units is less than the accuracy margin, the accuracy requirement may be met and the selector 406 may select the first unit to generate transcriptions. When the difference between the estimated accuracies of the first and second units is more than the accuracy margin and the estimated accuracy of the first unit is less than the estimated accuracy of the second unit, the accuracy requirement may not be met and the second unit may continue to generate transcriptions.
An example of the operation of the transcription system 408 follows. In some embodiments, the ACD 402 may initially assign the first transcription unit 414a to generate transcriptions for audio of a communication session. In these and other embodiments, the selector 406 may direct the audio to the first transcription unit 414a. The first transcription unit 414a may use the first ASR system 420a and the second ASR system 420b to generate transcriptions. In some embodiments, the first ASR system 420a may be a revoiced ASR system that uses revoiced audio based on the audio of the communication session. The revoiced audio may be generated by the CA client 422. Alternatively or additionally, the first ASR system 420a may be speaker-independent or speaker-dependent. The second ASR system 420b may use the audio from the communication session to generate transcriptions. The second transcription unit 414b may be configured in any manner described in this disclosure. For example, the second transcription unit 414b may include an ASR system that is speaker-independent. In some embodiments, the ASR system may be an ASR service that the second transcription unit 414b communicates with through an application programming interface (API) of the ASR service.
The accuracy tester 430 may estimate the accuracy of the first transcription unit 414a based on the transcriptions generated by the first ASR system 420a. The accuracy tester 430 may estimate the accuracy of the second transcription unit 414b based on the transcriptions generated by the second ASR system 420b. In some embodiments, the transcriptions generated by the second ASR system 420b may be fused with the transcriptions generated by the first ASR system 420a. The fused transcription may be provided to the first device 104.
When the difference between the estimated accuracies is less than an accuracy margin, the selector 406 may direct audio to the second transcription unit 414b. In these and other embodiments, the first transcription unit 414a may stop generating transcriptions and the second transcription unit 414b may generate the transcriptions for the communication session.
As an alternative, the second transcription unit 414b may generate transcriptions that may be used to estimate the accuracy of the first transcription unit 414a or the second transcription unit 414b. The transcriptions generated by the second transcription unit 414b may not be provided to the first device 104. In these and other embodiments, the transcriptions generated by the second transcription unit 414b may be generated by an ASR system operating in a reduced mode.
As another example, the first transcription unit 414a may use the first ASR system 420a with the CA client 422 to generate transcriptions to send to the first device 104. In these and other embodiments, the accuracy tester 430 may estimate the accuracy of the second ASR system 420b based on the transcriptions generated by the second ASR system 420b.
When the estimated accuracy of the second ASR system 420b is greater than a selection threshold value, the selector 406 may select the second ASR system 420b to generate transcriptions to send to the first device 104. In these and other embodiments, the first ASR system 420a may stop generating transcriptions.
Modifications, additions, or omissions may be made to the environment 400 and/or the components operating in the environment 400 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription system 408 may include additional transcription units. In these and other embodiments, the selector 406 may be configured with multiple selection threshold values. Each of the multiple selection threshold values may correspond to one of the transcription units.
As another example, in some embodiments, the ASR systems 420 and the ASR systems in the second transcription unit 414b may operate as described with respect to
Turning now to various embodiments of the present disclosure that discuss automatic speech recognition (“ASR”),
In some embodiments, the environment 500 may include an ASR system 520, models 530, and model trainers 522. The ASR system 520 may be an example of the ASR systems 120 of
In some embodiments, the feature extractor 504 receives audio samples and generates one or more features based on a feature model 505. Types of features may include LSFs (line spectral frequencies), cepstral features, and MFCCs (Mel Scale Cepstral Coefficients). In some embodiments, audio samples (meaning the amplitudes of a speech waveform, measured at a selected sampling frequency) serve as features. Features may include features derived from a video signal, such as a video of the speaker's lips or face. For example, an ASR system may use features derived from the video signal that indicate lip position or motion together with features derived from the audio signal.
In one example, a camera may capture video of a CA's lips or face and forward the signal to the feature extractor 504. In another example, audio and video features may be extracted from a party on a video communication session and sent to the feature extractor 504. In another example, lip movement may be used to indicate whether a party is speaking so that the ASR system 520 may be activated during speech to transcribe the speech. Alternatively or additionally, the ASR system 520 may use lip movement in a video to determine when a party is speaking such that the ASR system 520 may more accurately distinguish speech from audio interference such as noise from sources other than the speaker.
In some embodiments, the feature transformer 506 may be configured to convert the extracted features, based on a transform model 507, into a transformed format that may provide better accuracy or less central processing unit (CPU) processing. The feature transformer 506 may compensate for variations in individual voices such as pitch, gender, accent, age, and other individual voice characteristics. The feature transformer 506 may also compensate for variations in noise, distortion, filtering, and other channel characteristics. The feature transformer 506 may convert a feature vector to a vector of a different length to improve accuracy or reduce computation.
In some embodiments, the feature transformer 506 may be speaker-independent, meaning that the transform is trained on and used for all speakers. Alternatively or additionally, the feature transformer 506 may be speaker-dependent, meaning that each speaker or small group of speakers has an associated transform which is trained on and used for that speaker or small group of speakers. For example, a machine learner 518 (a.k.a. modeling or model training) when creating a speaker-dependent model may create a different transform for each speaker or each device to improve accuracy. Alternatively or additionally, the feature transformer 506 may create multiple transforms. In these and other embodiments, each speaker or device may be assigned to a transform. The speaker or device may be assigned to a transform, for example, by trying multiple transforms and selecting the transform that yields or is estimated to yield the highest accuracy of transcriptions for audio from the speaker or audio.
One example of a transform may include a matrix which is configured to be multiplied by a feature vector created by the feature extractor 504. For example, if the feature extractor 504 generates a vector a of 60 features with elements a1, a2, a3, . . . , a60 and the feature transformer 506 uses a 40×60 matrix T, then the transformed features ō, including elements o1, o2, o3, . . . , o40 are computed as ō=T ā.+ū, where ū is a constant and may optionally be zero. In these and other embodiments, the matrix T and the constant ū may be included in the transform model 507 and may be generated by the machine learner 518 using the data 524. Methods for computing a transformation matrix T, such as Maximum Likelihood Linear Regression (MLLR), Constrained MLLR (CMLLR), and Feature-space MLLR (fMLLR), and may be used to generate the transform model 507 used by the feature transformer 506. As an alternative to transforming features, model parameters such as acoustic model parameters may be adapted to individuals or groups using methods such as MAP (maximum a posteriori) adaptation.
In some embodiments, a single transform for all users may be determined by tuning to, or analyzing, an entire population of users. Additionally or alternatively, a transform may be created by the feature transformer 506 for each speaker or group of speakers, where a transcription party or all speakers associated with a specific subscriber/user device may include a group, so that the transform adjusts the ASR system for higher accuracy with the individual speaker or group of speakers. The different transforms may be determined using the machine learner 518 and different data of the data 524.
The probability calculator 508, in some embodiments, may be configured to receive a vector of features from the feature transformer 506, and, using an acoustic model 509 (generated by an AM trainer 517), determine a set of probabilities, such as phoneme probabilities. The phoneme probabilities may indicate the probability that the audio sample described in the vector of features is a particular phoneme of speech. Alternatively or additionally, the phoneme probabilities may include multiple phonemes of speech that may be described in the vector of features. Each of the multiple phonemes may be associated with a probability that the audio sample includes that particular phoneme. A phoneme of speech may include any perceptually distinct units of sound that may be used to distinguish one word from another. The probability calculator 508 may send the phonemes and the phoneme probabilities to the decoder 510.
In some embodiments, the decoder 510 receives a series of phonemes and their associated probabilities. In some embodiments, the phonemes and their associated probabilities may be determined at regular intervals such as every 5, 7, 10, 15, or 20 milliseconds. In these and other embodiments, the decoder 510 may also read a language model 511 (generated by an LM trainer 519) such as a statistical language model or finite state grammar and, in some configurations, a pronunciation model 513 (generated by a lexicon trainer 521) or lexicon. The decoder 510 may determine a sequence of words or other symbols and non-word markers representing events such as laughter or background noise. Additionally or alternatively, the decoder 510 determines a series of words, denoted as a hypothesis, for use in generating a transcription. In some embodiments, the decoder 510 may output a structure in a rich format, representing multiple hypotheses or alternative transcriptions, such as a word confusion network (WCN), lattice (a connected graph showing possible word combinations and, in some cases, their associated probabilities), or n-best list (a list of hypotheses in descending order of likelihood, where “n” is the number of hypotheses).
In some embodiments, the rescorer 512 analyzes the multiple hypotheses and reevaluates or reorders them and may consider additional information such as application information or a language model other than the language model used by the decoder 510, such as a rescoring language model. A rescoring language model may, for example, be a neural net-based or an n-gram based language model. In some embodiments, the application information may include intelligence gained from user preferences or behaviors, syntax checks, rules pertaining to the particular domain being discussed, etc.
In some embodiments, the ASR system 520 may have two language models, one for the decoder 510 and one for the rescorer 512. In these and other embodiments, the model for the decoder 510 may include an n-gram based language model. The model for the rescorer 512 may include an RNNLM (recurrent neural network language model).
In some embodiments, the decoder 510 may use a first language model that may be configured to run quickly or to use memory efficiently such as a trigram model. In these and other embodiments, decoder 510 may render results in a rich format and transmit the results to the rescorer 512. The rescorer 512 may use a second language model, such as an RNNLM, 6-gram model or other model that covers longer n-grams, to rescore the output of the decoder 510 and create a transcription. The first language model may be smaller and may run faster than the second language model.
In some embodiments, the rescorer 512 may be included as part of the ASR system 520. Alternatively or additionally, in some embodiments, the rescorer 512 may not be included in the ASR system 520 and may be separate from the ASR system 520, as in
In some embodiments, part of the ASR system 520 may run on a first device, such as the first device 104 of
In some embodiments, a first language model may include word probabilities such as entries reflecting the probability of a particular word given a set of nearby words. A second language model may include subword probabilities, where subwords may be phonemes, syllables, characters, or other subword units. The two language models may be used together. For example, the first language model may be used for word strings that are known, that are part of a first lexicon, and that have known probabilities. For a word that is out-of-vocabulary, such as when the word is not part of a first lexicon or does not have a known probability in the first language model, the second language model may be used to estimate probabilities based on subword units. A second lexicon may be used to identify a word corresponding to the recognized subword units.
In some embodiments, the decoder 510 and/or the rescorer 512 may be configured to determine capitalization and punctuation. In these and other embodiments, the decoder and/or the rescorer 512 may use the capitalization and punctuation model 515. Additionally or alternatively, the decoder 510 and/or rescorer 512 may output a string of words which may be analyzed by the grammar engine 514 to determine which words should be capitalized and how to add punctuation. The scorer 516 may be configured to, once the transcription has been determined, generate an accuracy estimate, score, or probability regarding whether the words in the transcription are correct. The accuracy estimate may be generated based on a confidence model 523 (generated by a confidence trainer 525). This score may evaluate each word individually or the score may quantify phrases, sentences, turns, or other segments of a conversation. Additionally or alternatively, the scorer 516 may assign a probability between zero and one for each word in the transcription and an estimated accuracy for the entire transcription.
In some embodiments, the scorer 516 may be configured to transmit the scoring results to a selector, such as the selector 406 of
In the depicted embodiment, each component in the ASR system 520 may use a model 530, which is created using model trainers 522. Training models may also be referred to as training an ASR system. Training models may occur online or on-the-fly (as speech is processed to generate transcriptions for communication sessions) or offline (processing is performed in batches on stored data). In some embodiments, models may be speaker-dependent, in which case there may be one model or set of models built for each speaker or group of speakers. Alternatively or additionally, the models may be speaker-independent, in which case there may be one model or set of models for all speakers.
ASR system behavior may be tuned by adjusting runtime parameters such as a scale factor that adjusts how much relative weight is given to a language model vs. an acoustic model, beam width and a maximum number of active arcs in a beam search, timers and thresholds related to silence and voice activity detection, amplitude normalization options, noise reduction settings, and various speed vs. accuracy adjustments. A set of one or more runtime parameters may be considered to be a type of model. In some embodiments, an ASR system may be tuned to one or more voices by adjusting runtime parameters to improve accuracy. This tuning may occur during a communication session, after one or more communication sessions with a given speaker, or after data from multiple communication sessions with multiple speakers is collected. Tuning may also be performed on a CA voice over time or at intervals to improve accuracy of a speaker-independent ASR system that uses revoiced audio from the CA.
The depiction of models 530 is illustrative only. Each model shown may be a model developed through machine learning, a set of rules (e.g., a dictionary), a combination of both, or by other methods. One or more components of the model trainer 522 may be omitted in cases where the corresponding ASR system 520 components do not use a model. Models 530 may be combined with other models to create a new model. The different trainers of the model trainer 522 may receive data 524 when creating models.
The depiction of separate components in the ASR system 520 is also illustrative. Components may be omitted, combined, replaced, or supplemented with additional components. For example, a neural net may determine the sequence of words directly from features or speech samples, without a decoder 510, or the neural net may act as a decoder 510. In another example, an end-to-end ASR system may include a neural network or combination of neural networks that receives audio samples as input and generates text as output. An end-to-end ASR system may incorporate the capabilities shown in
One example of an additional component may be a profanity detector (not shown) that filters or alters profanity when detected. The profanity detector may operate from a list of terms (words or phrases) considered profane (including vulgar or otherwise offensive) and, on determining that a recognized word matches a term in the list, may (1) delete the term, (2) change the term to a new form such as retaining the first and last letter and replacing in-between characters with a symbol such as “-,” (3) compare the confidence of the word or phrase to a selected threshold and delete recognized profane terms if the confidence is lower than the threshold, or (4) allow the user to add or delete the term to/from the list. An interface to the profanity detector may allow the user/subscriber to edit the list to add or remove terms and to enable, disable, or alter the behavior of profanity detection.
Alternatively or additionally, profane words may be assigned a lower probability or weight in the language model 511 or during ASR or fusion processing or may be otherwise treated differently from non-profane words so that the profane words may be less likely to be falsely recognized. For example, if the language model 511 includes conditional probabilities, such as a numeric entry giving the probability of a word word3 given the previous n−1 words (e.g., P(word3|word1,word2) where n=3), then the probability for profane words may be replaced with k*P(word3|word1,word2), where k is a weight used to adjust the probability of recognition for profanity.
Some terms may be considered offensive only in certain situations, so, in some embodiments, the profanity list may also specify a context, such as a phrase (which could be a word, series of words, or other construct such as a lattice, grammar, or regular expression) that must precede the term and/or a phrase that must follow the term before it is considered a match. Alternatively or additionally, the list or context rules may be replaced by a natural language processor, a set of rules, or a model trained on data where profane and innocent terms have been labeled. In these and other embodiments, a function may be constructed that generates an output denoting whether the term is likely to be offensive. For example, a profanity detector may learn, by analyzing examples or by reading a model trained on examples of text where profane usage is tagged, to distinguish a term used in a profane vs. non-profane context. To better distinguish profanity, the detector may use information such as the topic of conversation, one or more voice characteristics of the speaker, including the identity, demographic, pitch, accent, and emotional state, an evaluation of the speaker's face or facial expression on a video communication session, and the phone number (or other device identifier) of the speaker. The detector may take into account information about the speaker and/or the subscriber such as how often he/she uses profanity, which, if any, profane words he/she uses, his/her emotional state, the degree to which his/her contacts (as defined from calling history or a contact list) use profanity, etc. A profanity detector, or other components, may be provided for any user/party of the conversation.
Another optional component of the ASR system 520, for example, may be a domain-specific processor for application-specific needs such as address recognition, recognition of specific codes or account number formats, or recognition of sets of terms such as names from a contact list or product names. The processor may detect domain specific or application-specific terms or use knowledge of the domain to correct errors, format terms in a transcription, or configure a language model 511 for speech recognition. In these and other embodiments, the rescorer 512 may be configured to recognize domain-specific terms. Domain- or application-specific processing may alternatively be performed by incorporating a domain-specific grammar into the language model.
Additional components may also be added in addition to merely recognizing the words, including performing natural language processing to determine intent (i.e., a classification of what the person said or wants), providing a text summary of the communication session on a display, generating a report that tabulates key information from a communication session such as drug dosages and appointment time and location, running a dialog that formulates the content and wording of a verbal or text response, and text-to-speech synthesis or audio playback to play an audio prompt or other information to one or more of the parties on the communication session.
Communication session content may also be transmitted to a digital virtual assistant that may use communication session content to make calendar entries, set reminders, make purchases, request entertainment such as playing music, make reservations, submit customer support requests, retrieve information relevant to the communication session, answer questions, send notices or invites to third parties, initiate communication sessions, send email or other text messages, provide input to or display information from advertisement services, engage in social conversations, report on news, weather, and sports, answer questions, or to provide other services typical of a digital virtual assistant. In these and other embodiments, the captioning service may interconnect to one or more commercial digital virtual assistants, such as via an API, to provide methods for the user to use their device to communicate with the digital virtual assistant. The digital virtual assistant may provide results to the user via voice, a display, sending the information to another device such as a smartphone or to an information service such as email, etc. For example, the user device may display the date and time during and/or between communication sessions.
Referring now jointly to
Examples in
The method 600 depicts an embodiment of shared feature extraction across multiple ASR systems. The method 600 may be arranged in accordance with at least one embodiment described in the present disclosure. The method 600 may be performed, in some embodiments, by a device or system, such as a transcription unit or multiple ASR systems, or another device. In these and other embodiments, the method 600 may be performed based on the execution of instructions stored on one or more non-transitory computer-readable media. Although illustrated as discrete blocks, various blocks may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the desired implementation.
The method may begin at block 602, wherein features of audio are extracted. The features may be extracted by a single device or ASR system. The features may be shared with multiple ASR systems, including ASR systems ASR1 and ASR2. Each of the ASR systems ASR1 and ASR2 may obtain the extracted features and perform blocks to transcribe audio. In some embodiments, ASR system ASR1 may perform blocks 604a, 606a, 608a, 610a, 612a, 614a, and 616a. In some embodiments, ASR system ASR2 may perform blocks 604b, 606b, 608b, 610b, 612b, 614b, and 616b.
At blocks 604a and 604b, the extracted features may be transformed into new vectors of features. At blocks 606a and 606b, probabilities such as phoneme probabilities may be computed. At blocks 608a and 608b, the probabilities may be decoded into one or more hypothesis sequences of words or other symbols for generating a transcription.
At blocks 610a and 610b, the decoded hypothesis sequence of words or other symbols may be rescored. At blocks 612a and 612b, capitalization and punctuation may be determined for the rescored hypothesis sequence of words or multiple rescored hypothesis sequence of words. At blocks 614a and 614b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be scored. The score may include an indication of a confidence that the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words are the correct transcription of the audio.
At blocks 616a and 616b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be output. Although blocks 604a, 606a, 608a, 610a, 612a, 614a, and 616a and blocks 604b, 606b, 608b, 610b, 612b, 614b, and 616b are described together, the blocks may each be performed separately by the ASR systems ASR1 and ASR2.
The method 700 depicts an embodiment of shared feature extraction, feature transform, and phoneme calculations across multiple ASR systems. The method 700 may be arranged in accordance with at least one embodiment described in the present disclosure. The method 700 may be performed, in some embodiments, by a device or system, such as a transcription unit or multiple ASR systems, or another device. In these and other embodiments, the method 700 may be performed based on the execution of instructions stored on one or more non-transitory computer-readable media. Although illustrated as discrete blocks, various blocks may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the desired implementation.
The method may begin at block 702, wherein features of audio are extracted. The features may be extracted by a single device or ASR system. At block 704, the extracted features may be transformed into new vectors of features. At block 706, probabilities such as phoneme probabilities may be computed. Blocks 702, 704, and 706 may be performed by a single device or ASR system. The probabilities may be shared with multiple ASR systems, including ASR systems ASR1 and ASR2. Each of the ASR systems ASR1 and ASR2 may obtain the probabilities. In some embodiments, ASR system ASR1 may perform blocks 704a, 706a 708a, 710a, 712a, 714a, and 716a. In some embodiments, ASR system ASR2 may perform blocks 708b, 710b, 712b, 714b, and 716b.
At blocks 708a and 708b, the probabilities may be decoded into one or more hypothesis sequences of words or other symbols for generating a transcription.
At blocks 710a and 710b, the decoded hypothesis sequence of words or other symbols may be rescored. At blocks 712a and 712b, capitalization and punctuation may be determined for the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words. At blocks 714a and 714b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be scored. The score may include an indication of a confidence that the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words are the correct transcription of the audio.
At blocks 716a and 716b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be output. Although blocks 708a, 710a, 712a, 714a, and 716a and blocks 708b, 710b, 712b, 714b, and 716b are described together, the blocks may each be performed separately by the ASR systems ASR1 and ASR2.
The method 800 depicts an embodiment of shared feature extraction, feature transform, phoneme calculations, and decoding, across multiple ASR systems. The method 800 may be arranged in accordance with at least one embodiment described in the present disclosure. The method 800 may be performed, in some embodiments, by a device or system, such as a transcription unit or multiple ASR systems, or another device. In these and other embodiments, the method 800 may be performed based on the execution of instructions stored on one or more non-transitory computer-readable media. Although illustrated as discrete blocks, various blocks may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the desired implementation.
The method may begin at block 802, wherein features of audio are extracted. At block 804, the extracted features may be transformed into new vectors of features. At block 806, probabilities may be computed. At block 808, the probabilities may be decoded into one or more hypothesis sequences of words or other symbols for generating a transcription.
The blocks 802, 804, 806, and 808 may be extracted by a single device or ASR system. The one or more hypothesis sequences of words or other symbols may be shared with multiple ASR systems, including ASR systems ASR1 and ASR2. Each of the ASR systems ASR1 and ASR2 may obtain the one or more hypothesis sequences of words or other symbols and perform blocks to transcribe audio. In these and other embodiments, one or more hypothesis sequences of words may include a single hypothesis, a WCN, a lattice, or an n-best list. In these and other embodiments, the n-best list may include a list where each item in the list is a string of words and may be rescored by an RNNLM or other language model. Additionally or alternatively, the one or more hypothesis sequences of words may be in a WCN or lattice, which may be rescored by an RNNLM or other language model.
In some embodiments, ASR system ASR1 may perform blocks 810a, 812a, 814a, and 816a. In some embodiments, ASR system ASR2 may perform blocks 810b, 812b, 814b, and 816b.
At blocks 810a and 810b, the decoded hypothesis sequence of words or other symbols may be rescored. At blocks 812a and 812b, capitalization and punctuation may be determined for the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words. At blocks 814a and 814b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be scored. The score may include an indication of a confidence that the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words are the correct transcription of the audio.
At blocks 816a and 816b, the rescored hypothesis sequence of words or multiple rescored hypothesis sequences of words may be output. Although blocks 804a, 806a, 808a, 810a, 812a, 814a, and 816a and blocks 804b, 806b, 808b, 810b, 812b, 814b, and 816b are described together, the blocks may each be performed separately by the ASR systems ASR1 and ASR2.
In some embodiments of methods 600, 700, and 800, the ASR system ASR2 may assist the ASR system ASR1 by providing a grammar to the ASR system ASR1. In some embodiments, a grammar may be shared whether or not the ASR systems share resources and whether or not they have a common audio source. For example, in some embodiments, both ASR systems may share a common audio source and share grammar. In some embodiments, each ASR system may have its own audio source and feature extraction, and grammars may still be shared. For example (see
In some embodiments, as depicted in methods 600, 700, and 800, ASR system ASR1 may use the grammar from ASR system ASR2. ASR system ASR1 may use the grammar to guide a speech recognition search or in rescoring. In these and other embodiments, the decoding performed by the ASR system ASR2 may use a relatively large statistical language model and the ASR system ASR1 may use the grammar received from ASR system ASR2120 as a language model. In these and other embodiments, the grammar may include a structure generated by ASR system ASR2 in the process of transcribing audio.
In some embodiments, the grammar may be derived from a structure such as a text transcription or a rich output format such as an n-best list, a WCN, or a lattice. The grammar may be generated using output from the decoding performed by ASR system ASR2, as illustrated in method 600 or from the rescoring performed by ASR system ASR2 as illustrated in method 700 or method 800. The grammar may be provided, for example, to the blocks performing decoding or rescoring. The methods 600, 700, and 800 are illustrative of some combinations of sharing resources. Other combinations of resources may be similarly shared between ASR systems. For example,
The transcription unit 914 may be configured to receive audio from a communication session. The transcription unit 914 may also receive other accompanying information such as a VAD (voice activity detection) signal, one or more phone numbers or device identifiers, a video signal, information about the speakers (such as an indicator of whether each party in the communication session is speaking), speaker-dependent ASR models associated with the parties of the communication session generating the audio received, or other meta-information. Generally, where audio is provided to an ASR system or transcription unit additional information may also be included. The additional information may be included when not explicitly illustrated or described. Alternatively or additionally, communication session audio may include speech from one or more speakers participating in the communication session from other locations or using other communication devices such as on a conference communication session or an agent-assisted communication session.
In some embodiments, the audio may be received by the CA client 922. The CA client 922 may broadcast the audio to a CA and capture speech of the CA as the CA revoices the words of the audio to generate revoiced audio. The revoiced audio may be provided to the ASR system 920. As described previously, the CA may also use an editing interface to the text editor 926 to make corrections to the transcription generated by the ASR system 920 (see, for example,
In some embodiments, the CA profile 908 may change the behavior of the ASR system for a given CA and may include information specific to the CA. For example, the CA profile 908 may include models such as an acoustic model and language models specific to the CA. Alternatively or additionally, the CA profile 908 may include a lexicon including words that the CA has edited. The CA profile 908 may further include key words defined by the CA to execute macros, to insert quick words (described below with reference to
In some embodiments, the ASR system models included in the CA profile 908 may be trained on communication session data, such as communication session audio and transcriptions from the transcription unit 914 and stored in a secure location. The training of the models on the communication session data may be performed by the CA client 922 or by a separate server or device. In some embodiments, the training of the models may occur on a particular schedule, when system resources are available, such as at night or when traffic is otherwise light, or periodically, among other schedules. Additionally or alternatively, communication session data as it is captured may be transformed into an anonymous, nonreversible form such as n-grams or speech features, which may be further described with respect to
In some embodiments, the ASR system models in the CA profile 908 may be trained on-the-fly. Training on-the-fly may indicate that the ASR system models are trained on a data sample (e.g., audio and/or text) as it is captured. In some embodiments, the data sample may deleted after it is used for training. In some embodiments, the data sample may be deleted before a processor performing training using a first batch of samples including the data sample begins training using a second batch of samples including other data samples not in the first batch. In some embodiments, the data sample may be deleted at or near the end of the communication session in which the data sample is captured. These and other embodiments may be discussed in greater detail below with reference to
Modifications, additions, or omissions may be made to the transcription unit 914 and/or the components operating in transcription unit 914 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription unit 914 may include additional elements, such as another ASR system and fusers among other elements. Alternatively or additionally, in some embodiments, the ASR system 920 may pause processing when no voice is detected in the audio, such as when the audio includes silence.
The transcription unit 1114 may include an ASR system 1120, a diarizer 1102, a voiceprints database 1104, an ASR model trainer 1122, and a speaker profile database 1106. In some embodiments, the diarizer 1102 may be configured to identify a device that generates audio for which a transcription is to be generated by the transcription unit 1114. In some embodiments, the device may be a communication device connected to the communication session.
In some embodiments, the diarizer 1102 may be configured to identify a device using a phone number or other device identifier. In these and other embodiments, the diarizer 1102 may distinguish audio that originates from the device from other audio in a communication session based on from which line the audio is received. For example, in a stereo communication path, the audio of the device may appear on a first line and the audio of another device may appear on a second line. As another example, on a conference communication session, the diarizer 1102 may use a message generated by the bridge of the conference communication session that may indicate which line carries audio from the separate devices participating in the conference communication session.
In some embodiments, the diarizer 1102 may be configured to determine if first audio from a first device and at least a portion of second audio from a second device appear on a first line from the first device. In these and other embodiments, the diarizer 1102 may be configured to use an adaptive filter to convert the second audio signal from the second device to a filtered form that matches the portion of the second audio signal appearing on the first line so that the filtered form may be subtracted from the first line to thereby remove the second audio signal from the first line. Alternatively or additionally, the diarizer 1102 may utilize other methods to separate first and second audio signals on a single line or eliminate signal leak or crosstalk between audio signals. The other methods may include echo cancellers and echo suppressors, among others.
In some embodiments, people using an identified device may be considered to be a single speaker group and may be treated by the diarizer 1102 as a single person. Alternatively or additionally, the diarizer 1102 may use speaker identification to identify the voices of various people that may use a device for communication sessions or that may use devices to establish communication sessions from a communication service, such as a POTS number, voice-over-internet protocol (VOIP) number, mobile phone number, or other communication service. In these and other embodiments, the speaker identification employed by the diarizer 1102 may include using voiceprints to distinguish between voices. In these and other embodiments, the diarizer 1102 may be configured to create a set of voiceprints for speakers using a device. The creation of voiceprint models will be described in greater detail below with reference to
In some embodiments, to select between people using the voiceprints, the diarizer 1102 may collect a voice sample from audio originating at a device. The diarizer 1102 may compare collected voice samples to existing voiceprints associated with the device. In response to the voice sample matching a voiceprint, the diarizer 1102 may designate the audio as originating from a person that is associated with the matching voiceprint. In these and other embodiments, the diarizer 1102 may also be configured to use the voice sample of the speaker to update the voiceprint so that the voice match will be more accurate in subsequent matches. In response to the voice sample not matching a voiceprint, the diarizer 1102 may create a new voiceprint for the newly identified person.
In some embodiments, the diarizer 1102 may maintain speaker profiles in a speaker profile database 1106. In these and other embodiments, each speaker profile may correspond to a voiceprint in the voiceprint database 1104. In these and other embodiments, in response to the voice sample matching a voiceprint the diarizer 1102 may be configured to access a speaker profile corresponding to the matching voiceprint.
In some embodiments, the speaker profile may include ASR models or links to ASR models such as acoustic models, feature transformation models such as MLLR or fMLLR transforms, language models, vocabularies, lexicons, and confidence models, among others. The ASR models associated with the speaker profile may be models that are trained based on the voice profile of the person associated with the speaker profile. In these and other embodiments, the diarizer 1102 may make the ASR models available to the ASR system 1120 which may use the ASR models to perform speech recognition for speech in audio from the person. When using the ASR models associated with a speaker profile, the ASR system 1120 may be configured as a speaker-dependent system with respect to the person associated with the speaker profile.
In response to the voice sample not matching a voiceprint, the diarizer 1102 may be configured to instruct the model trainer 522 to train ASR models for the identified voice using the voice sample. The diarizer 1102 may also be configured to save/update profiles, including adapted ASR models, to the profile associated with the matching voiceprint. In some embodiments, the diarizer 1102 may be configured to transmit speaker information to the device upon matching a voiceprint in the voiceprint database 1104.
An example of the operation of the transcription unit 1114 is now provided. Audio of a communication session between two devices may be received by the transcription unit 1114. The communication session may be between a first device of a first user (e.g., the subscriber to the transcription service) and a second device of a second user, the speech of which may be transcribed. The diarizer 1102 may transmit an indicator such as “(new caller)” or “(speaker 1)” to the first device for presentation by the first device. In response to the diarizer 1102 detecting a voice change in the audio being received from the second device (i.e., the voice switches from a previous voice to a new voice), the diarizer 1102 may transmit an indicator such as “(new caller)” or “(speaker 2)” to the first device for presentation. The diarizer 1102 may compare the new voice to voiceprints from the voiceprint database 1104 associated with the second device when the second device is known or not new.
In response to the diarizer 1102 identifying or matching the new voice to an existing voiceprint (including voiceprints from previous communication sessions), an indicator identifying the matched speaker may be transmitted to the first device and ASR models trained for the new voice may be provided to an ASR system generating transcriptions of audio that includes the new voice. In response to the diarizer 1102 not matching the new voice, the diarizer 1102 may send an indication to the first device that the person is new or unidentified, and the diarizer 1102 may train a new speaker profile, model, and voiceprint for the new person.
Modifications, additions, or omissions may be made to the transcription unit 1114 and/or the components operating in transcription unit 1114 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription unit 1114 may include additional elements, such as other ASR systems, a CA client, and fusers among other elements.
As another example, the speaker profile database 1106, the voiceprint database 1104, the ASR model trainer 1122, and the diarizer 1102 are illustrated in
In some embodiments, the first transcription unit 114a may include an ASR system 1220 and a CA client 1222. The ASR system 1220 may be a revoiced ASR system that includes speaker-dependent models provided by the CA client 1222. The ASR system 1220 may operate in a manner analogous to other ASR systems described in this disclosure. The CA client 1222 may include a CA profile 1224 and may be configured to operate in a manner analogous to other CA clients described in this disclosure.
In some embodiments, the CA profile 1224 may include models such as a lexicon (a.k.a. vocabulary or dictionary), an acoustic model (AM), a language model (LM), a capitalization model, and a pronunciation model. The lexicon may contain a list of terms that the ASR system 1220 may recognize and may be constructed from the combination of several elements including an initial lexicon and terms added to the lexicon by the CA client 1222 as directed by a CA associated with the CA client 1222. In these and other embodiments, a term may be letters, numbers, initials, abbreviations, a word, or a series of words.
In some embodiments, the CA client 1222 may add terms to a lexicon associated with the CA client 1222 in several ways. The ways in which a term may be added may include: adding an entry to the lexicon based on input from a CA, adding a term to a list of problem terms or difficult-to-recognize terms for training by a module used by the ASR system 1220, and obtaining a term from the text editor based on the term being applied as an edit or correction of a transcription. In some embodiments, in addition to the term being added to the lexicon, an indication of how the term is to be pronounced may also be added to the lexicon.
In some embodiments, terms added to the lexicon of the CA profile 1224 may be used for recognition by the ASR system 1220. Additionally or alternatively, terms added to the lexicon of the CA profile 1224 may also be added to a candidate lexicon database 1208. A candidate lexicon database 1208 may include a database of terms that may be considered for distribution to other CA clients in a transcription system that includes the transcription units 1214 or other transcription systems.
In some embodiments, a language manager tool 1210 may be configured to manage the candidate lexicon database 1208. For example, in some embodiments, the language manager tool 1210 may manage the candidate lexicon database 1208 automatically or based on user input. Management of the candidate lexicon database 1208 may include reviewing the terms in the candidate lexicon database 1208. Once a candidate term has been reviewed, the candidate lexicon database 1208 may be updated to either remove the term or mark the term as accepted or rejected. A term marked as accepted may be provided to a global lexicon database 1212. The global lexicon database 1212 may provide lexicons to CA clients of multiple transcription units 1214 among other CA clients in a transcription system. The global lexicon database 1212 may be distributed to CA clients so that the terms recently added to the global lexicon database 1212 may be provided to the ASR systems associated with the CA clients such that the ASR systems may be more likely to recognize and generate a transcription with the terms.
In some embodiments, the language manager tool 1210 may determine to accept or reject terms in the candidate lexicon database 1208 based on counts associated with the terms. Alternatively or additionally, the language manager tool 1210 may evaluate whether a term should be reviewed based on a count associated with a term.
In some embodiments, for a particular term, counts of the term may include: (1) the number of different CA clients that have submitted the term to the candidate lexicon database 1208; (2) the number of times the term has been submitted to the candidate lexicon database 1208, by a CA client, by a group of CA clients, or across all CA clients; (3) the number of times the term appears at the output of an ASR system; (4) the number of times the term is provided to be displayed by a CA client for correction by a CA; (5) the number of times a text editor receives the term as a correction or edit; (6) the number of times a term has been counted in a particular period of time, such as the past m days, where m is, for example 3, 7, 14, or 30; and (7) the number of days since the term first appeared or since the particular count of the term, such as the 100; 500; 1,000; among other amounts. In some embodiments, more than one type of count as described above may be considered. For example, a combination of two, three, or four of the different types of counts may be considered. In these and other embodiments, for combinations of counts, the different counts in a combination may be normalized and combined to allow for comparison. In these and other embodiments, the one or more of the different type of counts may be weighted.
In some embodiments, the language manager tool 1210 may evaluate whether a term should be reviewed and/or added/rejected based on a count associated with the term and other information. The other information may include: Internet searches, including news broadcasts, lists of names, word corpora, and queries into dictionaries; and evidence that the term is likely to appear in conversations in the future based on the term appearing in titles of new movies, slang dictionaries, or the term being a proper noun, such as a name of city, place, person, company, or product.
An example of handling a term is now provided. In this example, the term may be “skizze,” which may be a previously unknown word. One hundred CA clients may add the term “skizze,” to their CA profile or to the candidate lexicon database 1208. Additionally, the term may appear in transcriptions seven-hundred times over thirty days. The language manager tool 1210, based on these counts meeting selected criteria, may automatically add the term to the global lexicon database 1212. Additionally or alternatively, the language manager tool 1210 may present the term, along with its counts and other usage statistics, to a language manager (a human administrator) via a user interface where candidate terms are presented in a list. The list may be sorted by counts. In these and other embodiments, the language manager tool 1210 may accept inputs from the language manager regarding how to handle a presented term.
In some embodiments, the global lexicon database 1212, after being provided to the CA client 1222, may be used by the CA client 1222 in various ways. For example, the CA client 1222 may use the terms in the global lexicon database 1212 in the following ways: (1) if the CA client 1222 obtains a term from a CA through a text editor that is not part of the base lexicon, the lexicon of the CA client 1222 particular to the CA, the global lexicon database 1212, or other lexicons used by the transcription system such as commercial dictionaries, the CA client 1222 may present a warning, such as a pop-up message, that the term may be invalid. In these and other embodiments, when a warning is presented, the term may not be able to be entered. Alternatively or additionally, when a warning is presented, the term may be entered based on input obtained from a CA. Alternatively or additionally, when a warning is presented, the CA client 1222 may provide an alternative term from a lexicon; (2) terms in the global lexicon database 1212 may be included in the ASR system vocabulary so that the term can be recognized or more easily recognized; and (3) terms that are missing from the global lexicon database 1212 or, alternatively, terms that have been rejected by the language manager or language manager tool 1210, may be removed from the CA client 1222.
In some embodiments, the CA client 1222 may use multiple lexicons. For example, the ASR system 1220 may use a first lexicon or combination of lexicons for speech recognition and a text editor of the CA client 1222 may use a second lexicon or set of lexicons as part of or in conjunction with a spell checker.
Modifications, additions, or omissions may be made to the transcription units 1214 and/or the components operating in transcription units 1214 without departing from the scope of the present disclosure. For example, in some embodiments, there may be more or less than three transcription units 1214 that may use the global lexicon database 1212. The three transcription units 1214 are merely illustrative. Alternatively or additionally, the first transcription unit 1214a may include additional elements, such as other ASR systems and fusers among other elements.
In some embodiments, the ASR systems 1320 may be speaker-independent, speaker-dependent, or some combination thereof. Alternatively or additionally, each of ASR systems 1320 may include a different configuration, the same configuration, or some of the ASR systems 1320 may have a different configuration than other of the ASR systems 1320. The configurations of the ASR systems 1320 may be based on ASR modules that may be used by the ASR systems 1320 to generate transcriptions. For example, in
In some embodiments, the audio provided to the ASR systems 1320 may be revoiced, regular, or a combination of revoiced and regular. Alternatively or additionally, the ASR systems 1320 may be included in a single transcription unit or spread across multiple transcription units. Additionally or alternatively, the ASR systems 1320 may be part of different API services, such as services provided by different vendors.
In some embodiments, each of the ASR systems 1320 may be configured to generate a transcription based on the audio received by the ASR systems 1320. The transcriptions, referred to sometimes in this and other embodiments as “hypotheses,” may have varying degrees of accuracy depending on the particular configuration of the ASR systems 1320. In some embodiments, the hypotheses may be represented as a string of tokens. The string of tokens may include one or more of sentences, phrases, or words. A token may include a word, subword, character, or symbol.
Examples of different configurations of the ASR systems 1320 (using two ASR systems, ASR1 and ASR2 as examples), the respective output transcriptions of which may be combined through fusion, are described below in Table 3.
Alternatively or additionally, examples of different configurations of the ASR systems 1320 may include the ASR systems 1320 being built using different software, trained on different data sets, configured with different runtime parameters, and provided audio that has been altered in different ways, or otherwise configured to provide different results. In these and other embodiments, the data sets may include the data that may be used to train modules that are used by the ASR systems 1320. In these and other embodiments, the different data sets may be divided into multiple training sets using one or more of several methods as listed below in Table 4. Additional details regarding dividing training sets are provided with respect to
Combining of transcriptions to generate a fused transcription may have multiple beneficial applications in a transcription system including: (1) helping to provide more accurate transcriptions, for example when a speaker who is particularly difficult to understand or when accuracy is more critical, such as with high-priority communication sessions—see item 76 of Table 5); (2) helping to provide more accurate transcriptions for training models, notably acoustic models and language models; (3) helping to provide more accurate transcriptions for evaluating CAs and measuring ASR performance; (4) combining results from an ASR system using revoiced audio and an ASR system using regular audio to help generate a more accurate transcription; and (5) tuning a transcription unit/transcription system for better performance by adjusting thresholds such as confidence thresholds and revoiced/regular ASR selection thresholds, by measuring revoiced ASR or regular ASR accuracy, and for selecting estimation, prediction, and transcription methods.
In some embodiments, the fuser 1324 may be configured to combine the transcriptions by denormalizing the input hypotheses into tokens. In these and other embodiments, the tokens may be aligned, and a voting procedure may be used to select a token for use in the output transcription of the fuser 1324. Additional information regarding the processing performed by the fuser 1324 may be provided with respect to
In some embodiments, the fuser 1324 may be configured to utilize one or more neural networks, where the neural networks process multiple hypotheses and output the fused hypothesis. In some embodiments, the fuser 1324 may be implemented as ROVER (Recognizer Output Voting Error Reduction), a method developed by NIST (National Institute of Science and Technology). Modifications, additions, or omissions may be made to
The transcription generation process 1402 may include generating transcriptions from audio. The transcription generation process 1402 may be performed by ASR systems. For example, the first transcription generation process 1402a, the second transcription generation process 1402b, and the third transcription generation process 1402c may be performed by the first ASR system 1320a, the second ASR system 1320b, and the third ASR system 1320c, respectively, of
In some embodiments, the denormalize text process 1404, the align text process 1406, the voting process 1408, the normalize text process 1409, and the output transcription process 1410 may be performed by a fuser, such as the fuser 1324 of
The first denormalize text process 1404a, the second denormalize text process 1404b, and the third denormalize text process 1404c may be configured to receive the tokens from the first transcription generation process 1402a, the second transcription generation process 1402b, and the third transcription generation process 1402c, respectively. The denormalize text process 1404 may be configured to cast the received tokens into a consistent format. In short, the term “denormalize” as used in this disclosure may include a process of converting tokens, e.g., text, into a less ambiguous format that may reduce the likelihood of multiple interpretations of the tokens. For example, a denormalize process may convert an address from “123 Lake Shore Dr.,” where “Dr.” may refer to drive or doctor, into “one twenty three lake shore drive.
Generally, generated transcriptions, whether from an ASR system or a human, may be in a form that is easily read by humans. For example, if a speaker in a phone communication session says, “One twenty three Lake Shore Drive, Chicago Ill.,” the transcription may read as “123 Lake Shore Dr. Chicago Ill.” This formatting process is called normalization. While the normalization formatting process may make transcriptions easier to read by humans, the normalization formatting process may cause an automatic transcription alignment and/or voting tool to count false errors that arise from formatting, rather than content, even when the transcription is performed correctly. Similarly, differences in formatting may cause alignment or voting errors. Alternatively or additionally, the normalization formatting process may not be consistent between different ASR systems and people. As a result, a transcription based on the same audio from multiple ASR systems and a reference transcription may be formatted differently. For these reasons, denormalizing may be useful in reducing false errors based on formatting because the denormalizing converts the tokens into a uniform format. Additionally or alternatively, the fuser may incorporate rules of equivalency, such as “gonna”=“going to” or “she's”=“she is,” into the alignment and/or voting processes.
In these and other embodiments, the normalization formatting process may also result in inaccurate scoring of transcriptions when a reference transcriptions in compared to a hypothesis transcription. The scoring of the transcriptions may relate to the determining an accuracy or error rate of a hypothesis transcriptions as discussed later in this disclosure. In these and other embodiments, the reference transcriptions and hypothesis transcriptions may be denormalized to reduce false errors that may result in less accurate score for hypothesis transcriptions.
During the denormalize text process 1404, the tokens may be “denormalized” such that most or all variations of a phrase may be converted into a single, consistent format. For example, all spellings of the name “Cathy,” including “Kathy,” “Kathie,” etc., may be converted to a single representative form such as “Kathy” or into a tag that represents the class such as “<kathy>.” Additionally or alternatively, the denormalize text process 1404 may save the normalized form of a word or phrase before denormalization, then recall the normalized form after denormalization. This may be beneficial because if a CA edits a word to be “Cathy” and an ASR system transcribes the word as “Kathie” and both are denormalized to “Kathy” both input spellings may be lost which may reduce potential data for future training of models. In some embodiments, the denormalize text process 1404 may be configured to save and recall the original form of the candidate word, such as by denormalizing the token to a list form that allows multiple options such as “{Cathy, Kathy, Kathie}” and “Kathy” may be denormalized as “{Kathy, Cathy, Kathie},” where the first element in the list is the original form. In these and other embodiments, the list form may be used for alignment and voting and the first element of the list (or the saved original form) may be used for display. The denormalize text process 1404 may provide the denormalized text/tokens to the align text process 1406.
The align text process 1406 may be configured to align tokens in each denormalized hypothesis so that similar tokens are associated with each other in a token group. By way of explanation and not implementation, each hypothesis may be inserted into a row of a spreadsheet or database, with matching words from each hypothesis arranged in the same column. Additionally or alternatively, the align text process 1406 may add variable or constant delay to synchronize similar tokens. The adding variable or constant delay may be performed to compensate for transcription processes being performed with varied amounts of latency.
For example, if a revoiced ASR system has greater latency than a non-revoiced ASR system, the align text process 1406 may shift the output of the non-revoiced ASR system in time so that the non-revoiced output is more closely synchronized with output from the revoiced ASR system. The align text process 1406 may provide the aligned tokens to the voting process 1408.
The voting process 1408 may be configured to determine an ensemble consensus from each token group. Returning to the previous spreadsheet example, each column of the spreadsheet may include the candidate tokens from the different hypothesis transcriptions. The voting process 1408 may analyze all of the candidate tokens and, for example, voting may be used to select a token that appears most often in the column.
In some embodiments, such as for training models, the output of the voting process 1408 may be used in its denormalized form. For example, if a transcription is denormalized at denormalize text process 1404 (e.g., a “21” may be converted to “twenty one”), the text may remain in its denormalized form and the voting process 1408 may provide denormalized text (e.g., “twenty one”) to a model trainer.
In some embodiments, the voting process 1408 may provide an output to the normalize text process 1409. The normalize text process 1409 may be configured to cast the fused output text from the voting process 1408 into a more human-readable form. The normalize text process 1409 may utilize one or more of several methods, including, but not limited to:
An example of the process 1400 is now provided. In this example, a speaker may say “OK, let's meet at four.” During the transcription generation process 1402, three different ASR systems (e.g., ASR systems 1320 of
1. OK, let's meet more.
2. OK, says meet at 4:00.
3. OK, ha let's meet at far.
During the denormalize text process 1404, these hypotheses may be denormalized to yield the following denormalized hypotheses:
1. o k let us meet more
2. o k says meet at four o'clock
3. o k ha let us meet at far
The align text process 1406 may align the tokens, e.g. the words in the above hypotheses, so that as many identical tokens as possible lie in each token group. In some embodiments, the alignment may reduce the edit distance (the minimum number of insertions, deletions, and substitutions to convert one string to the other) or Levenshtein distance between denormalized hypotheses provided to the align text process 1406 after the denormalized hypotheses have been aligned. Additionally or alternatively, the alignment may reduce the edit or Levenshtein distance between each aligned denormalized hypothesis and the fused transcription. Where a hypothesis does not have a token for a given token group, a tag such as a series of “-” characters may be inserted into the token group for the missing token. An example of the insertion of a tag into token groups is provided below with respect to the hypotheses from above. The token groups are represented by columns that are separated by tabs in the below example.
The voting process 1408 may be configured to examine each token group and determine the most likely token for each given group. The mostly likely token for each given group may be the token with the most occurrences in the given group. For example, the most frequent token in the fourth token group, which includes tokens “let,” “says,” and “let,” is “let.” When multiple tokens appear the same number of times, such as when each hypothesis contains a different token in a given token group, any of several methods may be used to break the tie, including but not limited to, selecting a token at random or selecting the token from the ASR system determined to be most reliable. In these and other embodiments, selecting a token from a token group may be referred to as voting. In these and other embodiments, the token with the most votes may be selected from its respective token group.
In some embodiments, other methods for aligning and/or voting may be used than those described above, including ROVER, alternate methods for multiple sequence alignment, BAYCOM (Bayesian Combination), CNC (confusion network combination), frame-based system combination or minimum fWER (time frame word error), and hidden Markov models used for multiple sequence alignment. Additionally or alternatively, a neural network may be used for aligning and/or voting. For example, hypotheses may be input into a neural network, using an encoding method such as one-hot or word embedding, and the neural network may be trained to generate a fused output. This training process may utilize reference transcriptions as targets for the neural network output.
Additionally or alternatively, other criteria that may be used with or in addition to voting, or other methods for fusion and voting as described above, may be used to select the most suitable or correct token from a token group. Alternatively or additionally, these additional criteria may also be used to break ties in a voting scheme. In some embodiments, the additional criteria may include probability, confidence, likelihood, or other statistics from models that describe word or error patterns, and other factors that weigh or modify a score derived from word counts. For example, a token from an ASR system with relatively higher historical accuracy may be given a higher weight. Historical accuracy may be obtained by running ASR system accuracy tests or by administering performance tests to the ASR systems. Historical accuracy may also be obtained by tracking estimated accuracy on production traffic and extracting statistics from the results.
Additional criteria may also include an ASR system including a relatively higher estimated accuracy for a segment (e.g., phrase, sentence, turn, series, or session) of words containing the token. Yet another additional criterion might be analyzing a confidence score given to a token from the ASR system that generated the token.
Another additional criterion may be to consider tokens from an alternate hypothesis generated by an ASR system. For example, an ASR system may generate multiple ranked hypotheses for a segment of audio. The tokens may be assigned weights according to each token's appearance in a particular one of the multiple ranked hypotheses. For example, the second-best hypothesis from an n-best list or word position in a word confusion network (“WCN”) may receive a lower weight than the best hypothesis. Thus, tokens from the lower second-best hypothesis may be weighted less than tokens from the best hypothesis. In another example, a token in an alternate hypothesis may receive a weight derived from a function of the relative likelihood of the token as compared to the likelihood of a token in the same word order position of the best hypothesis. Likelihood may be determined by a likelihood score from an ASR system that may be based on how well the hypothesized word matches the acoustic and language models of the ASR system.
In some embodiments, another criteria that may be considered by the voting process 1408 when selecting a token may include the error type. In these and other embodiments, the voting process 1408 may give precedence to one type of error over another when selecting between tokens. For example, when the error type is a missing token from a token group, the voting process 1408 may select insertion of tokens over deletion of tokens. A missing token from a token group may refer to the circumstance for a particular token group when a first hypothesis does not include a token in the particular token group and a second hypothesis does include a token in the particular token group. In these and other embodiments, insertion of a token may refer to using the token in the particular token group in an output. Deletion of a token may refer to not using the token in the particular token group in the output. For example, if two hypotheses include tokens and token groups as follows:
then the voting process 1408 may be configured to select insertion of tokens rather than deletion of tokens. In these and other embodiments, the voting process 1408 may select the first hypothesis as the correct one. Alternatively or additionally, the voting process 1408 may select deletion of tokens in place of insertion of tokens.
Additionally or alternatively, the voting process 1408 may select insertion or deletion based on the type of ASR systems that results in the missing tokens. For example, the voting process 1408 may consider insertions from a revoiced ASR system differently from insertions from a non-revoiced ASR system. For example, if the non-revoiced ASR system omits a token that the revoiced ASR system included, the voting process 1408 may select insertion of the token and output the result from the revoiced ASR system. In contrast, if the revoiced ASR system omits a token that the non-revoiced ASR system included, the voting process 1408 may output the non-revoiced ASR system token only if one or more additional criteria are met, such as if the language model confidence in the non-revoiced ASR system word exceeds a particular threshold. As another example, the voting process 1408 may consider insertions from a first ASR system running more and/or better models than a second ASR system differently than insertions from the second ASR system.
In some embodiments, another criteria that may be considered by the voting process 1408 when selecting a token may include an energy or power level of the audio files from which the transcriptions are generated. For example, if a first hypothesis does not include a token relative to a second hypothesis, then the voting process 1408 may take into account the level of energy in the audio file corresponding to the deleted token. Various examples of selecting between tokens based on energy levels are now provided.
In a first example, the voting process 1408 may include a bias towards insertion (e.g., the voting process 1408 may select the phrase “I like cats” in the above example) if an energy level in one or more of the input audio files during the period of time corresponding to the inserted token (e.g., “like”) is higher than a high threshold. In these and other embodiments, the voting process 1408 may include a bias towards deletion (e.g., selecting “I cats”) if the energy level in one or more of the input audio files during the period of time corresponding to the inserted word is lower than a low threshold. The high and low thresholds may be based on energy levels of human speech. Additionally or alternatively, the high and low thresholds may be set to values that increase accuracy of the fused output. Additionally or alternatively, the high and low thresholds may both be set to a value midway between average speech energy and the average energy of background noise. Additionally or alternatively, the low threshold may be set just above the energy of background noise and the high threshold may be set just below the average energy of speech.
In a second example, the voting process 1408 may include a bias towards insertions if the energy level is lower than the low threshold. In a third example, the voting process 1408 may include a bias towards non-revoiced ASR system insertions when the energy level from the revoiced ASR system is low. In these and other embodiments, the non-revoiced ASR system output may be used when the energy level in the revoiced ASR system is relatively low. A relatively low energy level of the audio used by the revoiced ASR system may be caused by a CA not speaking even when there are words in the regular audio to be revoiced. In these and other embodiments, the energy level in the non-revoiced ASR system may be compared to the energy level in the revoiced ASR system. When there is a difference between the energy levels that is greater than a difference threshold, the non-revoiced ASR system output may be used. In these and other embodiments, the difference threshold may be based on the energy levels that occur when a CA is not speaking, when there are words in the audio or the CA is speaking only a portion of the words in the audio. As a result, the revoiced audio may not include words that the regular audio includes thereby resulting in a difference in the energy levels of the audio processed by the revoiced ASR system and the non-revoiced ASR system.
In some embodiments, another criteria that may be considered by the voting process 1408 when selecting a token may include outputs of one or more language models. The other criteria discussed above are examples of criteria that may be used. In these and other embodiments, the additional criteria may be used to determine alignment of tokens and improve the voting process 1408, as well as being used for other purposes. Alternatively or additionally, one or more of the additional criteria may be used together.
In some embodiments, other criteria may include one or more of the features described below in Table 5. These features may be used alone, in combination with each other, or in combination with other features.
As discussed above, in some embodiments, another criteria the voting process 1408 may consider when selecting tokens from token groups is outputs of ASR models. For example, the output of models, such as error type models and language models, may be considered as the other criteria. In these and other embodiments, a prior probability specified by the language model for the tokens may be used to select a token from a token column in addition to the number of times (“counts”) a token appears in a token group.
In these and other embodiments, the tokens may each be weighted based on the language model probabilities associated with the tokens. In these and other embodiments, weighting the tokens may increase the likelihood that a result rated by the language model as more probable may be chosen during the voting process 1408. Weighting the tokens may include multiplying a token count for each token in a token column by the probabilities from the language model or adding the probabilities from the language model to the token counts for each token in the token column to determine a score used in the voting process 1408. The token counts may be further weighted by other factors such as word probabilities and confidences estimated by ASR systems.
For example, suppose that, in the “ok let's meet at 4” example provided above with the token columns reproduced below:
the three hypotheses, up until the second-to-last column, are fused to form “o k let us meet at.” The language model may output the probability for each of the tokens in the second-to-last token column as follows.
P(four)=0.05
P(more)=0.01
P(far)=0.02
In these and other embodiments, the voting process 1408 may multiply the count of each token by the probability. Thus, the token count for “four” may be 0.05, the token count for “more” may be 0.01, and the token count for “far” may be 0.02. The token “four” may have the highest probability and may be selected so that the fused hypotheses forms “o k let us meet at four.”
In some embodiments, the language model may indicate a probability of a sequence of N tokens. In these and other embodiments, the probability of a sequence of N tokens may be used to indicate the probability of a token given a context that is based on one or more tokens directly preceding the token. For example, a trigram language model may indicate the probability (or a form thereof, such as log probability) of three tokens in a sequence and thus the probability of a token given two tokens directly preceding the token. For example, the language model may determine the probability of the token “bread” followed by the tokens of “loaf” of as P(bread|loaf of)=0.84, where P(<token>|<(N−1) tokens>) is the probability of a token given the preceding N−1 tokens, where N is the number of words in the sequence. N may be any positive integer, for example, 1, 2, 3, 4, 5, 8, 10, or 15. In the example above with respect to phrase “ok let's meet at 4”, N may equal four and a language model may specify the following probabilities:
In some embodiments, back-off probabilities may be used in cases where probabilities for N words are not available, but where statistics for N−1 words are available. For example, if there are N words in a sequence, the language model may not include a probability for a sequence with N words for each of the tokens in a token column. In these and other embodiments, the language model may include a probability for a token based on a sequence that is N−1 tokens long.
Additionally or alternatively, the language model may indicate the probability of a token given one or more preceding tokens and one or more subsequent tokens for at least one input hypothesis. For example, suppose a first input hypothesis ends with the sequence “meet you at the train station at four” and a second input hypothesis ends with the sequence “meet you at the trade.” A language model may be used to help decide between the tokens “train” and “trade.” In the trigram example provided above, a trigram probability may depend only on the previous two tokens, “at” and “the.” In contrast, in these and other embodiments, a probability may further depend on the subsequent token “station.” In these and other embodiments, the probabilities for each hypothesis may be determined based on one of the hypotheses using the subsequent token and the other hypothesis not using the subsequent token. Alternatively or additionally, the probabilities for each hypothesis may be determined based on a hypothesis without the subsequent token being added to the hypothesis. For example, the hypothesis of “meet you at the trade” may be changed to “meet you at the trade station.” For example, the probabilities may then be written as P(“train”|prior=“at the”, future=“station”) and P(“trade”|prior=“at the”, future=“station”). The resulting probabilities may be used to help decide between selecting the token “trade” or “train.”
In some embodiments, the voting process 1408 may use a probability based on preceding and/or subsequent tokens to reduce latency for cases where various transcription units provide transcriptions with different degrees of latency. Using probabilities based on preceding and subsequent tokens may be advantageous because knowledge of subsequent tokens provided by faster transcription units may be combined with knowledge of previous tokens provided by slower transcription units. Transcription units with different degrees of latency may include a transcription unit with a non-revoiced ASR system with relatively lower latency and a transcription unit with a revoiced ASR system with relatively higher latency.
Continuing the example of using subsequent tokens, the voting process 1408 may encounter multiple ties in a row. For example, the following two hypotheses, shown here in an aligned form, have five ties in a row:
In this example, suppose the align text process 1406 and voting process 1408 is at a decision point (a.k.a. the current node) to decide between the token ‘like’ and ‘often.’ In some embodiments, the align text process 1406 and voting process 1408 may do a full search of all of possible combinations from the point of the tie (e.g., “like” or “often”) until there is consensus again (at “dog”). In the example above, the voting process 1408 may determine the likelihood, given the context of prior and various combinations of subsequent words, of each possible sequence of tokens such as “I like to talk to dog” and “I often walk my favorite dog.” A language model scoring technique such as backoff or Kneser-Ney smoothing may be used to select the most probable sequence for inclusion in the fused transcription
The align text process 1406 and voting process 1408, in searching all possible combinations, may require a significant amount of processing to complete the search. To reduce the processing load, the align text process 1406 and voting process 1408 may utilize an alignment method to limit the length of the search space. For example, if there are ten tied tokens in a row, the align text process 1406 and voting process 1408 may explore combinations of the first five tied tokens to select a more or the most likely sequence and then repeat the process for the next five tokens. Additionally or alternatively, the align text process 1406 and voting process 1408 may reduce the processing load by using a Viterbi search or other dynamic programming method to find a more or most probable sequence.
A language model probability used for fusion may also be conditioned on contexts from multiple input hypotheses. For example, with two inputs, a word probability may be expressed as P (word context 1, context 2), where context 1 is one or more previous tokens from a first input hypothesis and context 2 is one or more previous tokens in a second input hypothesis. Context 1 may further include one or more future tokens from a first input hypothesis. Context 2 may further include one or more future tokens from a second input hypothesis. Similarly, for a multiple input ASR system such as the embodiments illustrated in
Additionally or alternatively, the voting process 1408 may output tokens based on the best available information at a point in time. In these and other embodiments, the voting process 1408 may provide corrections if future inputs or input changes trigger a change in tokens already output. For example, using the example inputs above, the voting process 1408 may initially output “meet you at the trade.” After providing the output of “meet you at the trade”, the voting process 1408 may determine that the token “trade” was incorrect after the voting process 1408 determines the subsequent token of “station.” In these and other embodiments, the incorrect output may have been provided to a device of a user for presentation. In these and other embodiments, the correct token may be provided to the device to replace the incorrect token. In some embodiments, the voting process 1408 may also change a previous output in response to an ASR system making a change to a previous hypothesis.
In some embodiments, an error type model may also be used by the voting process 1408 to increase alignment and/or voting accuracy. In these and other embodiments, a type of error from multiple different error types may be assigned to each token column based on the differences between the tokens in the token column. An error type model may be built that may use patterns of error types to assist in selecting tokens from the token columns.
As an example of an error type model, consider an example reference transcription (e.g., what was actually spoken) “Hermits have no peer pressure” and a hypothesis transcription (e.g., what the ASR system output) “Hermits no year is pressure.” An alignment may be arranged with an error type line to create an error map such as:
The error type codes may be “D” for deletions, “S” for substitutions, “I” for insertions, and “C” for correct. An error type model for a speech transcriber may be constructed by presenting a corpus of audio into an ASR system. The ASR system may output an output transcription. The output transcription may be compared to a reference transcription of the corpus of audio by aligning the two transcriptions and comparing the aligned transcriptions to determine the error type for each word group in the corpus of audio. Based on the comparison, a pattern of error types may be used to construct an error type model.
In these and other embodiments, the error type model may include a set of conditional probabilities of given error types given the context of previous and/or future error types. For example, the error type model may include the probabilities of patterns of error types such as “D”s, “S”s, “I”s, and “C”s that may characterize output of the ASR system. Errors of a transcription by the ASR system may then be provided to the error type model for estimating or predicting the reliability of the transcription for purposes of alignment and/or voting. A similar error type model may be determined for a pair of ASR systems, using the method described above for an ASR system and a reference transcription. In these and other embodiments, the error type model may be built for a given ASR system using a language modeling method based on, for example, n-grams, or using other machine learning methods such as neural networks.
As discussed above, the align text process 1406 and voting process 1408 may be configured to receive a sequence of tokens from each of multiple ASR systems. In these and other embodiments, the sequence of tokens may include phrases, words, subword units, or a combination of words and subword units. Subwords, as used in this disclosure, may refer to parts of words that have been divided into roots, stems, prefixes, and suffixes (e.g., “reuniting” may be broken into subword units as “re-unit-ing”). Subword units may also include words that are parts of compound words (e.g., downtown=down+town). Subword units may also include syllables, such as may be shown as subdivisions of a word in a standard dictionary (eg. “re-u-nit-ing”). Subword units may also include phonemes or characters.
In some embodiments, the align text process 1406 may be configured to align the tokens, such that subwords may be aligned as well as words. For example, the phrase “I don't want anything” may be transcribed by three ASR systems as:
In this example, there is a three-way tie for the last token because each hypothesis includes a different word for the last token. However, if words are broken into subwords, each hypothesis includes an additional token and the token alignment becomes:
The voting process 1408 may then produce the output “I don't want anything.” Thus, in some embodiments, by using subwords as tokens as illustrated above, a simple majority vote may render the correct set of tokens for output.
In some embodiments, the tokens that represent subwords may be combined into whole words during the voting process 1408. For example, during the voting process 1408 the input hypotheses may be examined and one of the hypotheses that includes the selected token by voting may be used as a template for combining the subwords. For example, the first hypothesis in the above example, may be used as the template such that the output is “I don't want anything” instead of “I don't want any thing” with the word “anything” broken into the subwords “any” and “thing.”
In some embodiments, the align text process 1406 and voting process 1408 may not divide words into sub-words where there is significant agreement between hypotheses. For segments of hypotheses that lack significant agreement, words may be split into subwords that may be aligned and subjected to voting and recombination of the subwords. Alternatively or additionally, the transcriptions generated by the transcription generation processes 1402 may include words that are divided into subwords. The transcriptions with the subwords may be provided to the align text process 1406 and voting process 1408. Alternatively or additionally, some of the transcriptions generated by the transcription generation processes 1402 may include words that are divided into subwords. Other transcriptions that do not include words divided into subwords may be sent to a division process that may divide one or more words in the other transcriptions into subwords.
In some embodiments, alignment of hypotheses may be used to determine an accuracy score for the output of the voting process 1408. For example, a hypothesis and reference may be aligned. A number of differences in the aligned transcriptions may be determined. When alignment is performed with the hypotheses including subword units, several options for measuring accuracy may be used. The options may include:
In some embodiments, the transcription generation processes 1402 may each generate a single hypothesis that may include a sequence of tokens that may be ultimately provided to the align text process 1406 and voting process 1408. Additionally or alternatively, the transcription generation processes 1402 may be configured to generate rich structures, such as word confusion networks (“WCNs”), n-best lists, or lattices, which contain information about alternative hypotheses and may include the relative probabilities or likelihoods of each. These rich structures may be combined to create a consensus hypothesis. In one example, alternative hypotheses embedded in the rich structures may be used to break voting ties, evaluate confidence for words, word strings, or subwords, and result in more accurate hypotheses that may not have been generated had only a single hypothesis from each transcription generation process 1402 been used.
In some embodiments, one or more alternate hypotheses from transcription generation processes 1402 may be used as additional inputs to the align text process 1406. For example, the first transcription generation process 1402a may generate a first hypothesis and a second hypothesis. Both the first and second hypotheses may be provided to the align text process 1406 along with the hypotheses from the other transcription generation processes 1402.
In some embodiments, the align text process 1406 and/or voting process 1408 may be configured to utilize a Viterbi search or variation of the Viterbi search adapted to measuring edit distance between tokens to align token sequences. In these and other embodiments, an example of the Viterbi search method may include such as the Wagner-Fischer dynamic programming method. Additionally or alternatively, other search methods such as code implementing Dijkstra's algorithm or an A* (spoken as “A star”) search method may be used for alignment of tokens.
An example of the alignment process using a Viterbi search method is now provided. Assume the align text process 1406 obtains a first hypothesis with a first sequence of tokens and a second hypothesis that includes a second sequence of tokens from different ones of the transcription generation processes 1402. In these and other embodiments, the align text process 1406 may find a path that best meets a selected set of performance criteria by constructing a two-dimensional grid representing the first sequence in a first dimension and the second sequence in a second dimension. The performance criteria may include the lowest cost or the highest score. For example, the cost may be a function of the number of deletions “D,” substitutions “S,” and insertions “I.” If all errors receive the same weight, the cost may be represented by D+S+I. The Viterbi path may then chose the alignment between the first and second sequence that results in the lowest cost as represented by D+S+I. The highest score may represent the Viterbi path that aligns the first and second sequences such that a score such as the number of matching words, the total path probability, or N−(D+S+I), where N is the number of words in the reference, is increased.
In some embodiments, the processing time of the Viterbi search may be approximately proportional to LAR (L raised to the power of R), where L is the average number of tokens per sequence and R is the number of sequences. For example, if there are five transcription generation processes 1402 and each transcription generation process 1402 generates a sequence of ten words, the processing time may be proportional to L{circumflex over ( )}R=10,000. In some embodiments, a processing load for the Viterbi search may be reduced by using a sequential alignment method where the voting process 1408 aligns two input sequences to create a first new sequence, then aligns a third input sequence to the first new sequence to create a second new sequence, then aligns a fourth input sequence to the second new sequence to create a third new sequence, and so on. In these and other embodiments, the align text process 1406 may be configured to align first the sequences estimated to be highest in accuracy. The accuracy determination may be based on historical accuracy measured for each transcription generation process 1402, an estimate of accuracy for the current transcriptions, or other accuracy metrics, among others. The subsequent sequences may be aligned in order of decreasing estimated accuracy. As such, the align text process 1406 may sort sequences in order of decreasing estimated accuracy prior to sequential alignment.
In some embodiments, the align text process 1406 may be configured to find an alignment between multiple sequences by searching for an alignment that reduces a sum of pairs edit distance function. The sum of pairs edit distance function may include the sum of the edit distance between each pair of sequences. For example, if there are three sequences, seq1, seq2, seq3 and an edit distance function d(a,b) which determines the edit distance between sequences a and b, the sum of pairs distance function may be expressed as d(seq1,seq2)+d(seq1,seq3)+d(seq2,seq3). An example of an edit distance is the minimum number of changes (insertions, deletions, or substitutions) needed to convert a first string to a second string.
In some embodiments, the align text process 1406 may utilize other methods for finding an alignment between multiple sequences while limiting processing of a device performing the align text process 1406. These methods may include any one or combination of the above or below described methods:
In some embodiments, fusion results generated by the align text process 1406 and voting process 1408 may be recomputed frequently, such as while the transcribed party is talking. The fused transcription, for example, may be recomputed each time a new token is received from one of the transcription generation processes 1402, periodically at short intervals, or once a certain amount of audio has been received. In some embodiments, the align text process 1406 and voting process 1408 may run even though the transcribed party has not necessarily stopped talking or even finished a sentence. In these and other embodiments, performing the align text process 1406 and voting process 1408 while the transcribed party is not finished talking may be referred to as providing partial results. In these and other embodiments, the partial results may be determined by fusing the transcriptions that have been received.
In some embodiments, partial results may be obtained by evaluating substantially all input, including text input, confidence estimates, endpoints, etc., received from the start of a communication session, or start of the transcription session, from the point where a transcribed party begins speaking to the current point in time, or from the point where a transcribed party begins speaking and has continuously spoke to the current point in time.
In some embodiments, a point in time tf is established to denote the point in time before which fusion results are unlikely to change, even with further audio input into or transcription output from the transcription generation processes 1402. Fusion output before tf may be referred to as “locked.” When fusion results are evaluated, only results after tf may be determined because results before tf may not be expected to change. As such, alignment results before tf may have already been fused and sent to the vote process 1408 and to the first device 104. The evaluation after tf may also be simplified because, as with a beam search, only alignment paths that include locked results may be considered. All other paths, in some embodiments, may be eliminated from the search.
An example of locking results in an alignment search may be illustrated by Matrix 0 below where two sequences, “I like apples and bananas” and “I might apples bananas sauce” are aligned. In this example, a word from a column is considered aligned with a word in a row if there is an “x” in the corresponding column and row. The alignment search is the process of finding the alignment, or pattern of “x” s, that best matches words between sequences. The “path” may be considered to be the sequence of cells marked with an “x.” In an embodiment of a Viterbi search, links may be formed between cells by analyzing one column at a time, moving from left to right (the forward pass). Links may indicate the best option for the previous match) and point backwards from a given cell to the best previous match. For example, there may be a link from row 2, column 2 back to row 1, column 1, since row 1, column 1 is the final cell of the best alignment path to this point in fusing process. After the links are in place to a particular column, a backtracking step (the backwards pass) may follow the links from right to left, starting at the particular column, to determine the path, which may be used to define the alignment between sequences.
Suppose, in the example above, that the alignment of a portion, “I like apples,” of sequence 1 and a portion, “I might apples,” of sequence 2 is determined by align text process 1406 to be unlikely to change. The align text process 1406 may therefore set the block of cells bounded by row 1, column 1 and row 3, column 3 to be immutable by locking the links. Additionally or alternatively, the locked cells may correspond to those representing time prior to tf. Suppose further that the align text process 1406 determines that the presence of “x”s or absence (indicated with a “-”) in the locked block are in the correct locations and locks them so the locked blocks do not subsequently change. The alignment decisions for the locked section may be sent to the vote process 1408 and (contingent on approval by the vote process 1408) sent to a first device as transcriptions. In some embodiments, a forward or backward pass in locked cells may not be run because the results are not expected to change. Further, supposing the cells in the path are correctly marked (e.g. with the “x” in cell row 3, column 3), then the search may be restricted to paths that include locked cells marked as part of the path, simplifying the search beyond the locked cells. For example, if the “x” in the cell in row 3, column 3 is locked and the “-” is locked in row 2, column 3, then paths potentially stemming from row 2, column 3 may be ignored and potential paths stemming from row 3, column 3 may be evaluated. Thus, the number of potential paths to search may be reduced. Reduction of the number of paths to search may simply the search. As the search progresses from left to right, additional cells, “x” s, and “-”s may be locked, simplifying the search through cells subsequent to (e.g., below and to the right of) the locked cells. A similar embodiment is described below with reference to Matrix 1 and Matrix 2.
Additionally or alternatively, the align text process 1406 and voting process 1408 may be configured to fuse transcriptions in real time or near real time by accumulating transcriptions from each transcription generation process 1402. The accumulated transcriptions, input to align text process 1406 and voting process 1408 as blocks of text, may then be fused together to create an output hypothesis. Each time a new token or sequence of tokens is received from one of the transcription generation processes 1402, the new token or sequence of tokens may be appended to the previously created input hypothesis to create an updated input hypothesis. The updated input hypothesis may then be fused with other hypotheses from other transcription generation processes 1402, and the fused output becomes the fused output hypothesis.
In some embodiments, to limit processing load or for other reasons, the align text process 1406 and voting process 1408 may use a method of “windowing.” Windowing refers to creating a hypothesis by accumulating the output from speech transcribers, and when a hypothesis length is greater than a selected window length (L), one or more tokens, starting from the beginning of the hypothesis, may be deleted until the hypothesis length is L tokens. This is similar to having a ‘window’ that allows the align text process 1406 and voting process 1408 to see L tokens of the hypothesis at a time. By deleting tokens in this manner, the hypothesis provided to the align text process 1406 and voting process 1408 may be kept at manageable lengths.
In some embodiments, one or more of the transcription generation processes 1402 may lag behind other of the transcription generation processes 1402. For example, a transcription generation process 1402 with a relatively higher latency than other transcription generation processes 1402 may output a transcription that lags behind, in time, the transcriptions of the other transcription generation processes 1402. As a result, the window for each transcription generation process 1402 may cover a different segment of time. In these and other embodiments, the align text process 1406 and voting process 1408 may be configured to output only words that are estimated to be within the window of all or some number of the transcription generation processes 1402. For example, the align text process 1406 and voting process 1408 may be configured to only output tokens that come after the pth token from the beginning of a window and before the qth token from the end of the window. For example, if the window is fifty tokens (L=50), p=9, and q=5, the align text process 1406 and voting process 1408 may output tokens ten through forty-five.
In these and other embodiments, hypotheses, such as token sequences, provided to the align text process 1406 may be realigned each time new or corrected tokens or token sequences are received from the transcription generation processes 1402. The realignment of the token sequences may be performed for tokens within the windows.
Additionally or alternatively, the align text process 1406 may remember context from a previous alignment using a sliding window. In some embodiments, to remember context from a previous alignment using a sliding window, the align text process 1406 may be configured to align token sequences from the transcription generation processes 1402 by creating a dynamic programming matrix. In these and other embodiments, the align text process 1406 may retain context with alignment by not creating a new matrix each time new tokens or a sequence of tokens is received from the transcription generation processes 1402, but by retaining information in the matrix regarding the previous tokens or sequence of tokens received from the transcription generation processes 1402. The example matrix below (Matrix 1) shows alignment between two sequences, seq1 and seq2, using an example where seq1=“A B C D” and seq2=“A C C D.” The values in the matrix show the cumulative Levenshtein edit distance as computed using, for example, the Viterbi or the Wagner-Fischer method. The edit distance used in this example may count one point for an insertion, deletion, or substitution. Once matrix values are determined, the alignment may be determined from the path that reduces the edit distance.
The example matrix below (Matrix 2) shows an example where two more tokens are provided for each sequence and the first two tokens in each of the sequences are set to ‘locked.’ In these and other embodiments, the locked tokens may then be appended to the fused transcription output by the align text process 1406 and voting process 1408. Instead of re-computing the entire dynamic programming table represented in matrices, the cells corresponding to the locked token, such as (the two rows containing “word1=A” and “word2=C” and the two columns containing “word1=A” and “word2=B”) may be removed from the matrix 2. Calculations for the new elements of the matrix may be performed and the remaining portions of the table may then be used to align new words in the sequence. As a result, only 12 of 16 elements (the 4×4 grid of cells at the bottom-right of Matrix 2, minus the four that were previously computed) may be newly determined instead of calculating all 16 elements.
The sliding window method is illustrated in Matrix 2 above in two dimensions for the case of two input sequences, but a multi-dimensional version may be used with more than two input sequences.
In some embodiments, the align text process 1406 and voting process 1408 may be configured to operate with a variable delay. In these and other embodiments, the variable delay may be responsive to how many tokens in input token sequences match. In these and other embodiments, the align text process 1406 and voting process 1408 may use shorter delays for input sequences with more tokens that match.
For example, if input sequences from a transcription generation process 1402 process each contain a series of one or more tokens that match across one or more other input sequences, the align text process 1406 and voting process 1408 may output the series of tokens immediately. If one or more words are different across input sequence, the align text process 1406 and voting process 1408 may wait for more tokens before determining and outputting a result. As another example, suppose, at a certain point in time, a first input sequence includes “meet you at the train station at four” and the second input sequence includes “meet you at the train.” The token sequence of “meet you at the train” matches. As a result, the align text process 1406 and voting process 1408 may output the sequence of “meet you at the train” immediately or after some minor delay without waiting for another token. Suppose, however, the second input sequence ends with “meet you at the trade.” In this case, the align text process 1406 and voting process 1408 may wait for subsequent tokens for the second input sequence after the token “trade” before deciding whether to output “train” or “trade.” Additionally or alternatively, the align text process 1406 and voting process 1408 may output the sequence immediately or after some minor delay without waiting for another token. After receiving a subsequent token, the align text process 1406 and voting process 1408 may determine if the sequence included an error. If the sequence included an error, a correction of the error may be provided to the first device 104.
For purposes other than providing transcriptions during communication sessions, such as generating transcriptions for training models and measuring accuracy, real-time or near real-time operations may not be necessary. In these and other embodiments, the align text process 1406 and voting process 1408 may be configured to operate on larger blocks of input or even to wait for the end of a session (such as a communication session) or a speaker saying words in a conversation before fusing transcriptions. In these and other embodiments, matching of input sequences, evaluating matching of input sequences, and other processes discussed herein with respect to the process 1400 may be run less frequently than when providing transcriptions during a communication session in or at real-time.
Modifications, additions, or omissions may be made to
In some embodiments, the ASR system 1520 may be a revoiced ASR. In these and other embodiments, the ASR system 1520 may obtain the revoicing of audio from a CA. In some embodiments, the CA may recite punctuation in the revoicing of the audio. For example, the CA may say keywords such as “comma,” “period,” and “question mark,” in addition to the words of the audio where the punctuation should be added in the audio. The word recognizer 1502 may be configured to recognize such punctuation keywords and place the corresponding punctuation marks in the transcription generated by the ASR system 1520. In these and other embodiments, the ASR system 1520 may be configured to ignore punctuation keywords such that the punctuation keywords voiced by the CA are not included in the transcription as words, such as “comma.”
In some embodiments, the CA may recite capitalization in the revoicing of the audio. For example, the CA may say a keyword such as “capitalize,” “capital,” or “all caps,” in addition to the words of the audio to indicate the words or letters that should be capitalized. The word recognizer 1502 may be configured to recognize such capitalization keywords and cause the corresponding words to be capitalized in the transcription generated by the ASR system 1520. In these and other embodiments, the ASR system 1520 may be configured to ignore capitalization keywords such that the capitalization keywords voiced by the CA are not included in the transcription as words, such as “capitalize.”
Additionally or alternatively, capitalization and punctuation may be automatically generated by the ASR system 1520 using the punctuator 1504 and the capitalizer 1515, as will be explained hereafter.
Capitalization and punctuation may be provided in transcriptions that are provided to a user device for presentation. In some embodiments, a transcription may be sent with the incorrect capitalization and punctuation or that lacks capitalization and punctuation. In these and other embodiments, corrected capitalization and punctuation for a transcription may be provided to the user device for presentation. In some embodiments, the transcription unit 1514 may obtain the corrections of capitalization and punctuation based on input from a CA or from other processes performed by the ASR system 1520.
In some embodiments, the punctuator 1504 may be configured to use a punctuation model 1506 to punctuate a transcription generated by the ASR system 1520. In these and other embodiments, the ASR system 1520 may generate the transcription without punctuation as described previously. The punctuator 1504 may use the punctuation model 1506 to add the punctuation to the transcription.
The punctuation model 1506 may be generated by a punctuation model trainer 1508. The punctuation model trainer 1508 may obtain text that includes the punctuation and text that does not include punctuation. The text may be stored by a punctuation database 1530 as a corpus of punctuated text. The text from the corpus may be provided by the punctuation database 1530 to the punctuation model trainer 1508 and to a punctuation remover 1532. The punctuation remover 1532 may remove the punctuation from the text and provide the text without the punctuation to the punctuation model trainer 1508.
The punctuation model trainer 1508 may include a first feature extractor 1509a and a second feature extractor 1509b, referred to as the feature extractors 1509. The punctuated text may be provided to the first feature extractor 1509a. The unpunctuated text may be provided to the second feature extractor 1509b. The feature extractors 1509 may be configured to extract features from the text, such as n-grams. The feature extractors 1509 may provide the extracted features to a data analyzer 1510a. In some embodiments, the data analyzer 1510a may use machine learning that does not use separate feature extraction, in which case, one or more feature extractors 1509 may be omitted.
A data analyzer 1510a may use the extracted features and information from a punctuated term list 1512, which may include a list of abbreviations, acronyms, regular expressions, and other words or phrases to be punctuated, to train a punctuation model 1506. The punctuation model 1506 may include rules to allow the ASR system 1520 to punctuate transcriptions. The punctuation model 1506 may be provided to the punctuator 1504. The punctuator 1504 may use the punctuation model 1506 to punctuate transcriptions generated by the ASR system 1520.
Additionally or alternatively, the punctuator 1504 may use the punctuation model 1506 to insert punctuation into a second corpus of text, such as text generated from transcriptions generated by a transcription system that includes the transcription unit 1514. The second corpus of text may be provided to the punctuation database 1530. In some embodiments, the first corpus and/or the second corpus may be used by the punctuation model trainer 1508 to generate a second punctuation model that may be used by the punctuator 1504. In this manner, the punctuation model may be updated as the transcription unit 1514 generates additional transcriptions.
In some embodiments, the punctuation model 1506 may also be trained using punctuation spoken by a CA or edits obtained from a CA. For example, if a CA revoices an audio sample and says “don't leave period if you go comma i'll hang up period” then the punctuator may be trained on the punctuated text “don't leave. if you go, i'll hang up.” This training may occur on-the-fly or on recorded text.
Additionally or alternatively, the ASR system 1520 may add punctuation to a transcription using other methods. For example, one or more methods may be used as described below in Table 7.
In some embodiments, the capitalizer 1515 may be configured to use a capitalization model 1518 to punctuate a transcription generated by the ASR system 1520. In these and other embodiments, the ASR system 1520 may generate the transcription without punctuation as described previously. The capitalizer 1515 may use the capitalization model 1518 to add the punctuation to the transcription.
The capitalization model 1518 may be generated by a capitalization model trainer 1516. The capitalization model trainer 1516 may obtain text that includes capitalization and text that does not include capitalization. The text may be stored by a capitalization database 1522 as a corpus of capitalized text. The text from the corpus may be provided by the capitalization database 1522 to the capitalization model trainer 1516 and to a capitalization remover 1523. The capitalization remover 1523 may remove the capitalization from the text and provide the text without the capitalization, such that the text is all lower case, to the capitalization model trainer 1516.
The capitalization model trainer 1516 may include a first feature extractor 1517a and a second feature extractor 1517b, referred to as the features extractors 1517. The capitalized text may be provided to the first feature extractor 1517a. The un-capitalized text may be provided to the second feature extractor 1517b. The feature extractors 1517 may be configured to extract features from the text, such as n-grams. The feature extractors 1517 may provide the extracted features to a data analyzer 1510b. In some embodiments, types of machine learning may be employed such that feature extraction may not be used.
The data analyzer 1510b may use the extracted features and information from a capitalized term list 1521, which may include a list of proper names, abbreviations, acronyms, regular expressions, and other terms to be capitalized, to train the capitalization model 1518. The capitalization model 1518 may include rules to allow the ASR system 1520 to capitalize transcriptions. The capitalization model 1518 may be provided to the capitalizer 1515. The capitalizer 1515 may use the capitalization model 1518 to capitalize transcriptions generated by the ASR system 1520.
Additionally or alternatively, the capitalizer 1515 may use the capitalization model 1518 to insert capitalization into a second corpus of text, such as text generated from transcriptions generated by a transcription system that includes the transcription unit 1514. The second corpus of text may be provided to the capitalization database 1522. In some embodiments, the first corpus and/or the second corpus may be used by the capitalization model trainer 1516 to generate a second capitalization model that may be used by the capitalizer 1515. In this manner, the capitalization model may be updated as the transcription unit 1514 generates additional transcriptions.
In some embodiments, the capitalization model 1518 may also be trained using capitalization spoken by a CA or edits of capitalization obtained from a CA using, for example, a text editor.
In some embodiments, the ASR system 1520 may add capitalization to a transcription using other methods than the method described above with respect to the capitalizer 1515. For example, one or more methods may be used as described below in Table 8.
capitalizing and punctuating a transcription may incur some latency. In these and other embodiments, the latency may be due to the capitalizer 1515 and punctuator 1504 using input ahead (i.e., in the future) of the point where capitalization and punctuation are inserted. In some embodiments, overall latency may be reduced by converting audio to text using a first method that provides a lower accuracy transcription with lower latency and a second method that provides a higher accuracy transcription with higher latency. Capitalization and punctuation determined using the first method may be applied to a transcription determined using the second method to reduce the latency. Alternatively or additionally, the capitalizer 1515 and the punctuator 1504 may further determine capitalization and punctuation based on the second transcription. A comparison may be made between the first transcription and the second transcription to determine errors. Some or all of the errors may be corrected and may be sent to the first device as corrections.
In some embodiments, training the punctuation model 1506 and the capitalization model 1518 may be performed using transcription generated by the transcription unit 1514. In these and other embodiments, the transcriptions may include personal information and non-personal information. The non-personal information may be stored and the personal information deleted using methods disclosed herein for storing data to train language and acoustic models. For example, n-grams may be extracted from the transcriptions, filtered for privacy, and saved, together with capitalization and punctuation marks. In another example, transcriptions are filtered for privacy and stored (see
Modifications, additions, or omissions may be made to the environment 1500 without departing from the scope of the present disclosure. For example, the punctuation model trainer 1508 and the capitalization model trainer 1516 may not include the punctuation model trainer 1508 and the capitalization model trainer 1516 as described. Rather, the punctuation model trainer 1508 and the capitalization model trainer 1516 may include neural networks that may be built or adapted on-the-fly, using for example, gradient descent training and machine learning to generate the punctuation model 1506 and the capitalization model 1518. Additional details regarding training models on-the-fly are disclosed in the context of training acoustic and language models with reference to
The environment 1600 may also include a first capitalization converter 1625a, a second capitalization converter 1625b, and a third capitalization converter 1625c, collectively referred to as the capitalization converter(s) 1625. The capitalization converters 1625 may be configured to remove capitalization or convert capitalization of the transcriptions from the ASR systems 1620 to a format suitable for fusion. The environment 1600 may also include a fuser 1622, a capitalizer 1615, and a punctuator 1604. In some embodiments, the punctuator 1604 may be configured to replace punctuation after fusion of transcriptions by the fuser 1622. Alternatively or additionally, the capitalizer 1615 may be configured to replace capitalization after fusion.
The environment 1600 may operate in one or more different modes. The different modes are discussed in turn.
In a first mode, the punctuation and capitalization of the transcriptions generated by the ASR systems 1620 may be converted into tags by the punctuation converters 1624 and capitalization converters 1625. The tags may be inserted into the transcriptions. The transcriptions may be provided to the fuser 1622. The fuser 1622 may fuse the transcriptions with the tags. For example, the phrase “Jacob is sick.” may be converted to “Jacob is sick_period_” by the punctuation converter 1624. The capitalization converter 1625 may convert “Jacob is sick_period_” to “_capital_ jacob is sick_period_”. In some embodiments, the punctuation converters 1624 may separate punctuation marks from each word by at least one space or using whitespace so that the fuser 1622 processes words and punctuation marks as separate tokens.
After fusion of the transcriptions with the inserted tags by the fuser 1622, the tags of the fused transcription may be converted back to punctuation and capitalization. In some embodiments, the fuser 1622 may be configured to treat tags as regular tokens for purposes of alignment and voting. Additionally or alternatively, the fuser 1622 may be configured to ignore tags or may assign weights for tags that are different from weights for other tokens for purposes of alignment and/or voting. In these and other embodiments, the capitalizer 1615 and the punctuator 1604 may not be utilized.
In a second mode, a first transcription, which contains marks such as punctuation and capitalization, is generated by the first ASR system 1620a. The first transcription is provided to the fuser 1622 without having the punctuation and capitalization removed. The first transcription may be selected to not have the punctuation and capitalization removed based on the first transcription having the highest word and/or capitalization and/or punctuation accuracy.
In these and other embodiments, the second and third punctuation converters 1624b and 1624c may be configured to remove the punctuation from the transcriptions from the second and third ASR systems 1620b and 1620c. The second and third capitalization converters 1625b and 1625c may be configured to remove the capitalization from the transcriptions from the second and third ASR systems 1620b and 1620c. Thus, the transcriptions from the second and third ASR systems 1620b and 1620c may not include punctuation and capitalization and may be provided to the fuser 1622.
The fuser 1622 may be configured to pass through all punctuation and capitalization and to keep punctuation aligned in the transcriptions. In these and other embodiments, the fuser 1622 may combine the transcriptions from the ASR systems 1620 into a fused transcription. The fuser 1622 may also be configured to align the fused transcription with the first transcription to insert the capitalization and the punctuation from the first transcription into the fused transcription. In these and other embodiments, multiple transcriptions may be fused with punctuation and capitalization. Alternatively or additionally, multiple transcriptions may be fused without punctuation and capitalization. The two groups of fused transcriptions may be fused to add punctuation and capitalization
In a third mode, punctuation and capitalization are removed from the transcriptions before fusion by the fuser 1622. In these and other embodiments, the punctuation converters 1624 and the capitalization converters 1625 may be configured to remove the punctuation and capitalization. A record of the locations of the punctuation and capitalization may be retained and provided to the capitalizer 1615 and the punctuator 1604. In these and other embodiments, the capitalizer 1615 and the punctuator 1604 may receive the record of the locations of the punctuation and capitalization and may be configured to reinsert the punctuation and capitalization into the transcriptions fused by the fuser 1622.
In a fourth mode, punctuation and capitalization may be attached as attributes to tokens in the transcriptions by the punctuation converters 1624 and the capitalization converters 1625, respectively. The attributes and the tokens in the transcriptions may be provided to the fuser 1622. The fuser 1622 may align the tokens and may select tokens and attributes of punctuation and capitalization based on a voting process as described previously. For example, if three hypotheses include:
As described, various embodiments disclose methods for providing both punctuation and capitalization. However, the providing of punctuation and capitalization may be separated. In these and other embodiments, the steps for providing punctuation may be implemented without providing capitalization and the steps for providing capitalization may be implemented without providing punctuation.
Modifications, additions, or omissions may be made to the environment 1600 without departing from the scope of the present disclosure. For example, in some embodiments, the punctuator 1604, capitalizer 1615, the punctuation converters 1624, and capitalization converters 1625 may not be part of the environment 1600.
As another example, the environment 1600 may not include one or more of the punctuation converters 1624 and capitalization converters 1625 and one or more of the punctuator 1604 and the capitalizer 1615.
As another example, the environment 1600 may not include the punctuation converters 1624, and capitalization converters 1625. In these and other embodiments, the ASR systems 1620 may generate transcriptions without punctuation or capitalization and send the transcriptions to the fuser 1622. The fuser 1622 may fuse the transcriptions to generate a fused transcription. The fused transcription may be provided to the capitalizer 1615 and punctuator 1604 to add capitalization and punctuation, respectively, to the fused transcription.
In some embodiments, a user that is presented the transcription by the device 1704 may struggle to decipher emotion and word emphasis from the plain text of the transcription. In particular, the user may struggle to decipher emotion and word emphasis from plain text if the user's hearing loss is significant and the user relies more on transcriptions than audio to carry on the conversation. In these and other embodiments, if the user is unable to detect attributes such as subtle changes in a speaker's tone of voice, he or she may miss important cues which can lead to misunderstandings. In these and other embodiments, the enhanced transcription generator 1702 may be configured to obtain the audio and provide instructions to the device 1704 regarding adjusting the presentation of the transcription such that the presented transcription provides context regarding emotion and word emphasis from the audio. The presentation of the transcription may be adjusted by adjusting the presentation of certain words in the transcription or adding symbols to the transcription.
In some embodiments, a user who may rely on the presented transcriptions to understand the conversation may also struggle to detect key information in a presented transcription. In these and other embodiments, the enhanced transcription generator 1702 may also be configured to obtain the audio and provide instructions to the device 1704 regarding adjusting the presentation of the transcription such that the presentation of key words/phrases (for example: names, appointment times, phone numbers, and locations) in the transcription are adjusted to distinguish the key words/phrases from other portions of the transcription
In some embodiments, the enhanced transcription generator 1702 may be configured to analyze the audio of the speaker and/or the transcriptions generated by the transcription system 1708 to identify emotion, word emphasis, key words, and/or phrases, among other aspects of a conversation. In some embodiments, to identify emotion, word emphasis, key words, and/or phrases, the enhanced transcription generator 1702 may include one or more of: a text analyzer 1710, a pitch analyzer 1712, an energy detector 1714, a spectrum analyzer 1716, or a waveform analyzer 1718. In these and other embodiments, one or more of the text analyzer 1710, pitch analyzer 1712, energy detector 1714, spectrum analyzer 1716, and waveform analyzer 1718 may be configured to obtain and analyze the audio. One or more of the text analyzer 1710, pitch analyzer 1712, energy detector 1714, spectrum analyzer 1716, and waveform analyzer 1718 may provide an analysis of the audio to a detector 1720. The analysis of the audio may determine values of or changes in pitch, volume, speaking rate, features derived from spectral characteristics, and other factors. The detector 1720 may be configured to compare the values or changes to property characteristics of the aforementioned attributes to determine emotion, word emphasis, key words, and/or phrases. The detector 1720 may also be configured to associate the determined emotion and word emphasis with associated words in the transcription. The detector 1720 may provide an indication of the words in the transcription that may be adjusted, the type of adjustment, and/or symbols, such as words, characters, or other symbols that may be added to the transcription to attempt to convey the determined emotion and word emphasis.
In some embodiments, the detector 1720 may also be configured to apply natural language processing or other techniques to the transcription to assist in identifying key words, and/or phrases. The detector 1720 may provide an indication of the identified key words and/or phrases in the transcription that may be adjusted and the type of adjustment.
In some embodiments, the detector 1720 may be configured to mark the words or phrases in the transcription that may be adjusted. In these and other embodiments, the words or phrases in the transcription may be marked with tags such as XML tags (similar to the <c> and </c> tags that may be used to denote corrections). Marking the words may adjust a presentation of the words. The adjustments to the words may include one or more of the following, among others:
In some embodiments, the detector 1720 may provide the transcription with the marked words and/or additional symbols to the device 1704. The device 1704 may present the transcription on the display 1705. The device 1704 may present the adjustments to the transcription based on the tags in the transcription. As illustrated in
Additionally or alternatively, when words are presented on the display 1705 that may be associated with data for which other aspects of the device 1704 may use to perform functions, such as telephone numbers, email addresses, references to additional information, URLs or other Internet addresses, etc., links to allow usage of the data may be created. For example, the display 1705 may be a touch screen that allows a user to click a link or an icon such as the consent input element 1709 or the settings 1707 to activate. The words associated with the data, for which links may be created, may be displayed in a manner that indicates the word is associated with the link. For example, a word may be displayed with a color change or with underlining to indicate that the word is associated with a link. For example, the words “Bob's Deli” are underlined in
In some embodiments, the device 1704 may be configured to present a user interface that may obtain input from the user regarding settings 1707 that may be used to adjust the transcriptions. For example, the settings 1707 may allow for control of turning on or off each type of adjustment, such as emotion, word emphasis, and key words/phrases, individually or together as a group. Additionally or alternatively, when the transcription system 1708 sends a transcription, and later an update to the transcription, such as a correction to the transcription, the update may show as a strikethrough through the incorrect word with an emphasis on the corrected word. Alternatively or additionally, an update from the transcription system 1708 may cause the device 1704 to highlight the correction. In some embodiments, as will be discussed below in greater detail with reference to
Modifications, additions, or omissions may be made to the environment 1700 without departing from the scope of the present disclosure. For example, in some embodiments, the enhanced transcription generator 1702 is illustrated as being separate from the device 1704 and the transcription system 1708. In some embodiments, the enhanced transcription generator 1702 may be part of the device 1704 or the transcription system 1708. As another example, the display 1705 may be part of another device, such as a television that communicates with the device 1704.
The first transcription unit 1814a may be a revoiced transcription unit as previously described. The second transcription unit 1814b may be a non-revoiced transcription unit as previously described. The switches 1804 may be configured to direct or pass data, such as audio and transcriptions based on their configuration. The configuration of the switches may be controlled by the selector 1806.
In some embodiments, the first switch 1804a and the second switch 1804b may be configured to obtain audio. The audio may be from a communication session or from some other source. The first switch 1804a may be configured to block the audio or pass the audio to the first transcription unit 1814a based on the configuration of the first switch 1804a. The first transcription unit 1814a may generate a transcription of the audio and provide the transcription to the third switch 1804c. The second switch 1804b may be configured to block the audio or pass the audio to the second transcription unit 1814b. The second transcription unit 1814b may be configured to generate a transcription of the audio and provide the transcription to the third switch 1804c.
In some embodiments, the third switch 1804c may select between a transcription from the first transcription unit 1814a or the second transcription unit 1814b. The selector 1806 may control the switches 1804. Thus, the selector 1806 may be configured to determine when audio is sent to the first transcription unit 1814a and the second transcription unit 1814b and which transcription is output by the third switch 1804c. The selector 1806 may be configured to control the switches 1804 independently. For example, the selector 1806 may direct the first switch 1804a to direct audio to the first transcription unit 1814a and also direct the second switch 1804b to direct audio to the second transcription unit 1814b, in overlapping time periods. In these and other embodiments, both the first transcription unit 1814a and the second transcription unit 1814b receive the same audio at approximately the same or at the same time. In these and other embodiments, both the first transcription unit 1814a and the second transcription unit 1814b may generate transcriptions and/or other data.
As another example of independent control of the switches 1804 by the selector 1806, when switching audio away from the first transcription unit 1814a, the second switch 1804b may direct audio to the second transcription unit 1814b before the first switch 1804a stops providing the audio to the first transcription unit 1814a so that the second transcription unit 1814b may begin generating transcriptions before the first transcription unit 1814a stops generating transcriptions. Likewise, when switching from the second transcription unit 1814b to the first transcription unit 1814a, the first switch 1804a may send audio to the first transcription unit 1814a for a period of time before the second transcription unit 1814b stops generating transcriptions, allowing the first transcription unit 1814a to begin generating transcriptions.
As another example of independent control of the switches 1804 by the selector 1806, when the third switch 1804c switches between transcriptions from the first transcription unit 1814a and the second transcription unit 1814b, the third switch 1804c may be timed to account for relative latency of each of the first transcription unit 1814a and second transcription unit 1814b. For example, if the latency through the first transcription unit 1814a is x (four, for example) seconds and the latency through the second transcription unit 1814b is y (one second, for example), when switching between the transcription from the first transcription unit 1814a to the transcription from the second transcription unit 1814b, the third switch 1804c may wait (as directed by the selector 1806) for a time period x-y (e.g., three seconds) after the first switch 1804a has directed audio to the second transcription unit 1814b before selecting the transcriptions from the second transcription unit 1814b. To avoid missing text, the selector 1806 may direct the second switch 1804b to send audio to the second transcription unit 1814b before directing the third switch 1804c to select text from the second transcription unit 1814b. Providing audio to the second transcription unit 1814b in advance may also increase accuracy of the second transcription unit 1814b by providing prior context to the language model. Similarly, the selector 1806 may direct the first switch 1804a to send audio to the first transcription unit 1814a before directing the third switch 1804c to select text from the first transcription unit 1814a.
In some embodiments, the selector 1806, as discussed above, is configured to transmit control commands to the switches 1804 that determine a destination of the audio and to select between transcriptions. In these and other embodiments, the selector 1806 may be configured to control the switches 1804 based on one or more features such as accuracy of the second transcription unit 1814b, availability of the first transcription unit 1814a, and other features from Table 2 and Table 5. Alternatively, both the selector 1806 and switches 1804 may be implemented as software executed by a processor and configured to direct audio to different locations/destinations. The selector 1806 may use one or more of the following methods to control the switches 1804:
Modifications, additions, or omissions may be made to the environment 1800 without departing from the scope of the present disclosure. For example, in some embodiments, the second transcription unit 1814b may be part of a transcription unit. Alternatively or additionally, the first switch 1804a and the second switch 1804b may be combined in a single switch. Thus, while the switches 1804 are represented as different devices, the switches 1804 may be included in any combination of devices. Alternatively or additionally, the switches 1804 as described may be implemented by hardware, software, or some combination thereof that is configured to perform the functionality of the switches 1804 as described in this disclosure.
Alternatively or additionally, the configurations and actions of the switches 1804 as illustrated in
The locations of switches 1804, the selector 1806, and the second transcription unit 1814b are also illustrative. One or more of those components may alternatively be implemented by a processor executing instructions on a device participating in a communication session from which the audio discussed in this embodiment is obtained. For example, if the second transcription unit 1814b executes on a device, the selector 1806 may send a signal to the device indicating whether audio should be provided to the ASR system 1821 or to the first transcription unit 1814a and from where transcriptions should be received, such as from the ASR system 1821 or the first transcription unit 1814a. In another example, if the ASR system 1821 and the selector 1806 are implemented on a device, the selector 1806 may determine that audio may be processed to create transcriptions internally on the device by the ASR system 1821, sent to an external location for processing with an outside ASR system, or sent to the first transcription unit 1814a for generating transcriptions.
The synchronizer 1902 may be configured to obtain the transcriptions from the transcription units 1914. The synchronizer 1902 may be configured to output one of the transcriptions. For example, the synchronizer 1902 may output one of the transcriptions to a device for presentation to a user.
The synchronizer 1902 may also be configured to change which one of the transcriptions is being output. In these and other embodiments, the synchronizer 1902 may be configured to transition between transcriptions being output in a manner such that the output transcription does not include duplicate words from the first and second transcriptions, does not miss words that are included in the first and second transcriptions, and does not present words in an improper order. In short, the synchronizer 1902 may be configured to switch between the first and second transcriptions used to provide the output transcription without the output transcription including an indication of the switch between the first and second transcriptions.
In some embodiments, to transition between the first and second transcriptions, the synchronizer 1902 may be configured to align the first and second transcriptions and check to ensure that the transcriptions are in sync before making the switch. In some embodiments, the synchronizer 1902, may align the first and second transcriptions to compensate for differences in latency (i.e., the time difference between audio input and text output) for the transcription units 1914. In these and other embodiments, to align the first and second transcriptions, the synchronizer 1902 may add a constant delay to the first and second transcriptions. Alternatively or additionally, the synchronizer 1902 may wait for a silent segment or period of time with no speech such that neither of the first and second transcriptions include text to switch between the first and second transcriptions.
A more specific example to transition between the transcriptions is now provided. The synchronizer 1902 may receive a first transcription T1 from the revoiced first transcription unit 1914a. The synchronizer 1902 may receive a second transcription T2 from the non-revoiced second transcription unit 1914b. The synchronizer 1902 may search for a first segment or sequence of words in the first transcription that aligns with a second segment in the second transcription. For example, suppose the first transcription and the second transcription at a given moment (e.g., within a sliding time window of a particular duration) end with the following:
T2“ . . . going to stop worry about what you think I hope that doesn't upset you or cause”
T1“ . . . finally decided I'm going to stop worrying what you think I hope that”
Note that the speaker in this example is still speaking, so the sentences may not be complete. Note also that latencies of the transcription unit 1914 may be different, so one of the transcriptions (in this example the second transcription T2) may contain more recent text at a given point than the other. These transcriptions each contain a segment that partly matches with the other (showing an aligned format):
ASR: going to stop worry about what you think I hope that
CA: going to stop worrying ---- what you think I hope that
The synchronizer 1902 may be configured to find segments in the first and second transcriptions that match to within a selected set of criteria. The criteria may include, for example, a first rule that a minimum number of words match and a second rule regarding a maximum number of differences, for example that there are at least nine matching words and no more than two differences. Alternatively or additionally, the set of criteria may include a first rule that at least x (e.g., five) words must be matched, a second rule that the number of match errors cannot exceed y % (e.g., 25%) of the words in the segment, and a third rule that the last word in both segments must be the same.
When the alignment between the first transcription and the second transcription satisfies the alignment criteria, the synchronizer 1902 may output the aligned text and then switch between the first transcription and the second transcription. For example, the synchronizer 1902 may output the first transcription up through the end of the aligned segment of the first transcription. After outputting the end of the aligned segment of the first transcription, the synchronizer 1902 may output the second transcription beginning with the portion that immediately follows the aligned segment of the second transcription
In some embodiments, the synchronizer 1902 may use other methods to align or match the transcriptions. For example, the synchronizer 1902 may use a Viterbi search or other dynamic programming method to align and identify segment matches in the first and second transcriptions. In some embodiments, the synchronizer 1902 may use information from the transcription units 1914 to align the first and second transcriptions. For example, the synchronizer 1902 may use word endpoints from ASR systems in the transcription units 1914 to align the first and second transcriptions. Alternatively or additionally, methods discussed with respect to aligning text with respect to fusing of transcriptions may also be used to switch between the first transcription and the second transcription.
In some embodiments, in response to switching between transcriptions, the synchronizer 1902 may be configured to send a message to the transcription units 1914 indicating the switch. As a result, the unselected transcription unit 1914 may be available to generate transcriptions for other audio.
In some embodiments, the synchronizer 1902 may be configured, when or prior to switching from the non-revoiced second transcription unit 1914b to the revoiced first transcription unit 1914a, to direct a CA client of the revoiced first transcription unit 1914a to display the second transcription or a summary of the second transcription over a preceding period of time. Displaying the second transcription may provide the CA performing the revoicing for the revoiced first transcription unit 1914a context for the communication session. In these and other embodiments, when displaying the second transcription to the CA before and/or after the switch to the first transcription, the second transcription text may be provided from a buffer. For example, the non-revoiced second transcription unit 1914b may generate a lattice in response to audio and, when a switch between transcriptions occur, the lattice may be decoded into text for display to the CA. Additionally or alternatively, audio may be saved, then, when the switch between transcriptions occur, the audio may be converted to text for display to the CA.
Additionally or alternatively, the CA client may direct the presentation of the second transcription over a longer period of time, during which the CA may provide edits to the second transcription. In these and other embodiments, the CA client may receive an indication from a CA to direct the synchronizer 1902 to switch between the first and second transcription. Additionally or alternatively, audio may be broadcast to a CA so that the CA may listen to the previous portion of the communication session before the synchronizer 1902 switches to the first transcription from the second transcription.
Modifications, additions, or omissions may be made to
The environment 2000 may also include a switch 2004, a selector 2006, and a scorer 2016. The switch 2004 may be configured to be controlled by a selector 2006 to direct audio to the first transcription unit 2014a or not direct audio to the first transcription unit 2014a. In some embodiments, the selector 2006 may receive input from the second transcription unit 2014b, the scorer 2016, and/or other automation decision features to determine how to control the switch 2004 and the synchronizer 2002. In these and other embodiments, the scorer 2016 may provide an indication of an agreement rate between the first transcription and the second transcription. Various examples of a scorer 2016 are discussed in
In some embodiments, the selector 2006 may be configured to use the agreement rate from the scorer 2016, when the agreement rate is available, to determine how to control the switch 2004 and the synchronizer 2002. In these and other embodiments, when the agreement rate is not available, such as when the first transcription unit 2014a is not generating transcriptions, the selector 2006 may rely on other features to determine control decisions. In these and other embodiments, reference to making control decisions may relate to determining how to control the switch 2004 and the synchronizer 2002, including whether the switch 2004 may send audio to the first transcription unit 2014a, which of the first and second transcriptions the synchronizer 2002 may output, and whether the second transcription unit 2014b may generate transcriptions, among other control decisions regarding selecting between transcription units to generate transcriptions and selecting between transcriptions to output as discussed in this disclosure.
In some embodiments, the selector 2006 may also use as input to determine control decisions the agreement rate, an estimated accuracy of the second transcription from the second transcription unit 2014b, and other automation decision features. Alternatively or additionally, the selector 2006 may use only the estimated accuracy of the second transcription to determine control decisions. Alternatively or additionally, the selector 2006 may use other performance measures from the second transcription unit 2014b, such as average word confidence, sentence or phrase confidence, and likelihood ratio with respect to the second transcription, or other statistics or features from Table 2 or Table 5 to determine control decisions. In these and other embodiments, a likelihood ratio may be determined by subtracting the log likelihood scores for the top two hypotheses in an n-best list from one or more ASR systems of the second transcription unit 2014b.
As another example, a combination of features may be derived from internal ASR parameters from one or more ASR systems of the second transcription unit 2014b and used to estimate accuracy or another ASR performance measure. Examples of internal ASR parameters include, but are not limited to, the number of active arcs in a decoder search or the entropy or another statistic derived from the output probabilities from a neural network used as an acoustic model. In these and other embodiments, an ASR performance measure may pertain to each word, an average over a phrase or speaking turn in a conversation, or an entire session or conversation. In some embodiments, when using an ASR performance metric to determine control decisions, the selector 2006 may be configured to compare an ASR performance metric to a threshold. In response to the ASR performance metric satisfying the threshold, the selector 2006 may determine control decisions.
Alternatively or additionally, the selector 2006 may further rely on features unrelated to an ASR performance metric or an agreement rate to determine control decisions. In these and other embodiments, the features may include signal-to-noise ratio of the audio, speaker characteristics of the participants in the communication session generating the audio, such as accent, and transcription complexity, among other features.
In some embodiments, the selector 2006 may determine control decisions on other data including a communication session history from previous communication sessions of the transcription party or other features from Table 2 and Table 5. In these and other embodiments, based on a communication session history, an initial control decision, such as selecting between the transcription units 2014 may be determined before transcriptions are generated. For example, the communication session history may include information including performance criteria, such as ASR performance metrics from the second transcription unit 2014b, that may be used to determine control decisions before transcriptions are generated.
In some embodiments, the selector 2006 may further rely on features such as an account type (see Table 10 for examples), availability of the first transcription unit 2014a, communication session priority, and other features from Table 2 to determine control decisions before transcriptions are generated.
An example operation of the environment 2000 is now provided. The example operation may pertain to the selector 2006 selecting one of the transcription units 2014 based on previous communication session information. To begin, a connection between two or more users (a “first user” or “first party” and a “second user” or “transcription party”) on a first communication session may occur. Transcription may be generated from the audio from the transcription party and provided to the first party. Information may be collected during the first communication session such as, ASR performance metrics, agreement rate, or other features from Table 2 or Table 5.
The collected information may be saved in a communication session history database. Two or more parties may be connected on a second communication session. It may be determined if one or more of the parties has previously participated in a communication session. In response to one or more of the parties having previously participated, information from the previous communication session may be analyzed. Based on collected information from the communication session history database and the analysis of the collected information, the selector 2006 may determine to use either one or both of the transcription units 2014 (see Table 1) to provide transcriptions for the communication session. In some embodiments, the selection may be further based on information known about the second communication session before the second communication session begins. In some embodiments, the selection may be further based on features from Table 2. In some embodiments, the selection may be further based on features from Table 5. Additionally or alternatively, after making the initial decision, the selector 2006 may determine to change the one of transcription units 2014 providing the transcriptions.
In some embodiments, the selector 2006 may use any of a number of estimation and classification methods such as machine learning methods to determine control decisions. Examples of estimation and classification methods include those listed below in Table 9, among others.
In some embodiments, the selector 2006 may use estimation and classification methods for which training may be performed. An example operation of the environment 2000 describing training the selector 2006 using machine learning is now provided. The operation is defined with respect to processes 1-7 provided below. Modifications, additions, or omissions may be made to the processes 1-7 without departing from the scope of the present disclosure. For example, the processes may be implemented in differing order. Additionally or alternatively, two or more processes may be performed at the same time. Furthermore, the outlined processes and actions are only provided as examples, and some of the processes and actions may be optional, combined into fewer processes and actions, or expanded into additional processes and actions without detracting from the essence of the disclosed example. Processes 1-7 may include:
Modifications, additions, or omissions may be made to the environment 2000 without departing from the scope of the present disclosure.
In some embodiments, audio, for example from a communication session, may be provided to the CA client 2122, the transcription unit 2114, the first ASR system 2120a, and the second ASR system 2120b. The transcription unit 2114, the first ASR system 2120a, and the second ASR system 2120b may be configured to generate transcriptions using the audio and provide the transcriptions to various scorers 2116 as illustrated.
In some embodiments, the CA client 2122 may generate revoiced audio and provide the revoiced audio to the third ASR system 2120c, the fourth ASR system 2120d, and the fifth ASR system 2120e. The third ASR system 2120c, the fourth ASR system 2120d, and the fifth ASR system 2120e may be configured to generate transcriptions using the revoiced audio and provide the transcriptions to various scorers 2116 as illustrated.
In some embodiments, the transcription unit 2114 may be a revoiced transcription unit. In some embodiments, the fifth ASR system 2120e may be speaker-dependent based on the speaker revoicing the audio and interfacing with the CA client 2122. The other of the ASR systems 2120 may be speaker-independent. In these and other embodiments, each of the other ASR systems 2120 may include the same or different configurations of ASR models.
In some embodiments, each of the scorers 2116 may determine agreement rates between the respective transcriptions obtained and may provide the agreements to the selector 2106. The agreement rates between various transcriptions as determined by the scorers 2116 may be used as input features to the selector 2106. The selector 2106 may be analogous to the selector 2006 of
Although depicted as the selector 2106 obtaining the agreement rates from all of the scorers 2116, in some embodiments, one or more of the ASR systems 2120 may not be used to generate transcriptions that may be selected for presentation to a party participating in a communication session generating the audio illustrated in the environment 2100. In these and other embodiments, the transcriptions and other output of the ASR systems 2120 may be used as input features for the selector 2106 and used by the selector 2106 to determine control decisions. In these and other embodiments, when a transcription or output of an ASR system output is used for selection and not for presentation, the ASR system may be run in a reduced mode (i.e., “crippled mode”) that consumes fewer compute resources and may deliver relatively lower accuracy.
In some embodiments, one or more of the ASR systems 2120 may generate additional information such as:
1. Alternate transcriptions in the form of an n-best list, WCN, lattice, etc.;
2. Confidence scores or accuracy metrics; and
3. Meta-information on acoustic or ASR parameters such as beam width, CPU usage, signal characteristics, or perplexity scores.
The additional information may be provided to the selector 2106 for use in determining control decisions. Additionally or alternatively, the selector 2106 may use other features, such as one or more items described in Table 2 and Table 5, as input in determining control decisions.
The environment 2100 illustrates various configurations of ASR systems and how the transcriptions of the ASR systems may be compared to determine agreement rates. The agreement rates of various ASR systems may also be used for other purposes besides being provided to the selector 2106. For example, the comparison between transcriptions may be used for accuracy estimation purposes of ASR systems, for determining difficulty of transcribing the audio, for determining which transcription to select when fusing outputs from multiple transcription units, or for classification, among other purposes. Classification may refer to determining that a transcription or a system that may generate the transcription may be used for a particular purpose, such as any of the uses for systems and/or transcriptions described in this disclosure. For example, classification may include classifying transcription units into different classes such that a transcription unit from an appropriate class may be selected for a particular situation
For example, the fourth ASR system 2120d may be a speaker-independent ASR system trained on a population of callers. The third ASR system 2120c may be a speaker-independent ASR system trained on multiple CA voice samples. The second scorer 2116b then may provide a feature that reflects the agreement between the fourth ASR system 2120d and the third ASR system 2120c. As another example, in some embodiments, the second ASR system 2120b may be “crippled,” or configured for lower accuracy than the first ASR system 2120a (see
As another example, the outputs of the second scorer 2116b and the third scorer 2116c may be used to estimate accuracy of the revoicing provided by the CA client 2122. Alternatively or additionally, the outputs of multiple scorers 2116 such as fourth, fifth, and sixth scorers may be used to estimate revoiced or non-revoiced ASR system accuracy such as the accuracy of the first ASR system 2120a. Alternatively or additionally, the output of the fourth scorer 2116d may be used to estimate non-revoiced ASR system accuracy. (see
As another example, the outputs of the fourth scorer 2116d and the fifth scorer 2116e may be used to estimate ASR accuracy of the non-revoiced ASR systems. Alternatively or additionally, the second ASR system 2120b may use the transcription of the first ASR system 2120a or the fifth ASR system 2120e as a grammar. The audio input to the second ASR system 2120b may be delayed so that the grammar is in place before corresponding audio is received by the second ASR system 2120b. Running the second ASR system 2120b with such a grammar may increase the likelihood that the second ASR system 2120b generates the same transcription as the first ASR system 2120a or the fifth ASR system 2120e, respectively. The fifth scorer 2116e and the sixth scorer 2116f may then be used to estimate revoiced or non-revoiced ASR system accuracy. Alternatively or additionally, the output of first scorer 2116a and other agreement rates between one or more revoiced ASR systems may be used to measure the revoicing accuracy and/or the accuracy of the fifth ASR system 2120e and to estimate the difficulty of transcribing particular audio or audio from a particular participant in a communication session.
In some embodiments, the depicted environment 2100 may use ASR systems that generate results (i.e., transcriptions) with error patterns that are uncorrelated, that differ in accuracy, or that provide differences used in improving or predicting accuracy. Examples of how two ASR systems may be configured or trained differently for this purpose are listed in Table 3. By providing transcriptions to the selector 2106 that differ and thus a greater diversity of information, the selector 2106 may be configured to improve the process of determining control decisions. As described above, resources may be shared across ASR systems (see
Modifications, additions, or omissions may be made to the environment 2100 without departing from the scope of the present disclosure. For example, in some embodiments, transcriptions generated by one or more of the ASR systems 2120 may be combined, e.g., fused, to generate the transcriptions that are provided to the scorers 2116. For example, the transcriptions of the first ASR system 2120a and the second ASR system 2120b may be fused. Alternatively or additionally, the transcriptions of the third ASR system 2120c, the fourth ASR system 2120d, and the fifth ASR system 2120e may be fused. Alternatively or additionally, the transcriptions of the third ASR system 2120c and the fourth ASR system 2120d may be fused. Alternatively or additionally, the transcriptions of one or more revoiced and speaker-independent ASR systems may be fused with transcriptions from one or more non-revoiced speaker-dependent ASR systems.
As another example, the environment 2100 may not include one or more of the scorers 2116 and/or one or more of the ASR systems 2120. As another example, the transcription of each of the ASR systems 2120 and the transcription unit 2114 may be compared together by a scorer to generate a complete set of agreement rates that may be provided to the selector 2106.
In some embodiments, the scorer 2216 may include first and second denormalizers 2202a and 2202b. The first and second denormalizers 2202a and 2202b may be configured to convert one or both token strings to a common format, as disclosed in the description of
In some embodiments, the scorer 2216 may include an aligner 2204 configured to align two or more transcriptions in a manner that reduces the number of differences between similar tokens in the transcriptions. The aligner 2204 may obtain the output of the first and second denormalizers 2202a and 2202b and align the outputs. The aligner 2204 may align the outputs of the first and second denormalizers 2202a and 2202b in a manner analogous to the alignment performed when fusing token strings as described in this disclosure.
In some embodiments, the aligned token strings may be provided to an error counter 2206. The error counter 2206 may count the number of differences between the aligned token strings and a number of tokens that are the same. The differences may be referred to as errors. The tokens that are the same, may be referred to as agreements. The differences may include where one token string includes a token the other does not have and where each token string includes the same number of tokens, but some of the tokens are different. When some of the tokens are different, this may be referred to as substitution. When one token string includes a token another token string does not have, this may be referred to as a deletion or insertion based on which token string is considered the reference token string. When the reference token string does not include the token and the other token string does, this may be referred to as insertion. When the reference token string includes the token and the other token string does not, this may be referred to as deletion. In these and other embodiments where error types such as insertions, deletions, and substitutions are counted, a reversal error type may be added. A reversal error may be determined from the number of words in text strings that are swapped. In some embodiments, the swapped text strings may be adjacent. For example, “I don't really like peas” transcribed as “I really don't like peas” may contain one reversal error, since “really” and “like” are swapped. In another example, “I'm late because late last night my car died” transcribed as “I'm late because my car died late last night” may be counted as three reversal errors because two strings of three words each are swapped. In these and other embodiments, the total error rate may be determined by adding the number of insertion, deletion, substitution, and reversal errors.
In some embodiments, the error counter 2206 may count all of the errors and all agreements. A comparison of the errors to the agreements may be reported as an agreement rate, accuracy, or error rate. Additionally or alternatively, the different types of errors such as deletions, substitutions, and insertions, may be counted and reported separately to generate a detailed output. Modifications, additions, or omissions may be made to
In some embodiments, the scorer 2316 may include first and second denormalizers 2302a and 2302b and an aligner 2304, which may be analogous to elements in the scorer 2216 previously described in
In some embodiments, the error rate may represent the errors of the second transcription received by the second denormalizer 2302b with respect to the first transcription received by the first denormalizers 2302a. In these and other embodiments, however, the first transcription may not be a reference transcription. For example, the second transcription may be from a regular ASR system and the first transcription may be from a revoiced ASR system. As a result, the first transcription may include errors. Thus, the differences between the second transcription and the first transcription does not necessarily mean that the second transcription includes a true error as the second transcription may be correct and the first transcription may be incorrect, but because of the difference in the transcriptions, the error detector 2306 may indicate an error in the second transcription. In these and other embodiments, the adjuster 2303 may adjust the error rate to compensate for the errors in the first transcription. For example, in some embodiments, the adjuster 2303 may add a correction factor 2308 to the error rate. The correction factor 2308 may be based on the negative value of the average error rate of the first transcription. Alternatively or additionally, the adjuster 2303 may also adjust the error rate based on other features 2310. The other features 2310 may include one or more items from Table 2 and Table 5. The output of the adjuster 2303 may be an estimated error rate 2312, which may be the error rate output by the scorer 2316.
Modifications, additions, or omissions may be made to the scorer 2316 without departing from the scope of the present disclosure. For example, the adjuster 2303 may be replaced by an estimator such as the estimator described below with reference to
The estimator 2402, in some embodiments, may be configured to receive values for one or more input features 2408. Based on the values of the one or more input features 2408, the estimator 2402 may determine an estimate for a parameter upon which the selector 2406 may determine a control decision. The parameter may include a confidence score regarding a transcription, an accuracy of a transcription, latency between transcriptions, other metrics related to a transcription, and any metric that may be used to select between a revoiced or non-revoiced transcription unit/ASR system, among others. Examples of input features 2408 include an agreement rate from a scorer, such as a scorer 2016 of
In some embodiments, the estimated parameter may be transmitted to the comparator 2404. The comparator 2404 may be configured to compare the estimate with a threshold 2410. Based on the comparison, the selector 2406 may determine a control decision. For example, in response to the estimated parameter satisfying the threshold 2410, the selector 2406 may determine to direct a revoiced ASR system to generate transcriptions. In response to the estimated parameter not satisfying the threshold 2410, the selector 2406 may determine to direct a non-revoiced ASR system to generate transcriptions. In some embodiments, the threshold 2410, in combination with other factors, may contribute to an automation rate of a transcription system or portion of a transcription system. In these and other embodiments, the automation rate may include a percentage of the total transcriptions that are generated by a non-revoiced ASR system as compared to a revoiced ASR system.
In some embodiments, the transcription units may include any number of different configurations. For example, the transcription units may be configured as revoiced transcription units, non-revoiced transcription units, combination of revoiced and non-revoiced transcription units, transcription units with fusers, among other combinations such as described in Table 1. Alternatively or additionally, the transcription units, as discussed previously, may be software based such that they may be instantiated and torn down as directed. In these and other embodiments, the selector 2502 may be configured to select among transcription units that are instantiated. Alternatively or additionally, the selector 2502 may be configured to select among transcription unit templates that may be created and direct instantiation of a selected transcription unit.
In some embodiments, the selector 2502 may be configured to obtain input features 2508. The input features 2508 may be analogous to the input features 2408 of
In some embodiments, the selection parameters 2504 may include: (1) a performance threshold (see
In some embodiments, the values of the selection parameters 2504 may be determined based on one or more business objectives. Example business objectives are provided in Table 11 below.
In some embodiments, the values of the selection parameters 2504 may be further determined in response to operations data. Operations data, in some embodiments, may include communication session records, statistics, and measurements or projections for: revoiced ASR system availability, availability and distribution of non-revoiced ASR system or revoiced ASR system skills such as spoken languages, missed communication sessions, abandoned communication sessions, test communication sessions, speed of answer for incoming communication sessions, automation rate, transcription latency, the number of communication sessions with no audio, communication sessions with no audio sent to revoiced ASR systems, numbers and status for sales leads, server load (e.g., CPU load, memory usage), billing status, the number and type of provisioned systems such as non-revoiced ASR systems and revoiced ASR system, traffic load, networks or equipment out of service, action taken by operation administrators, alarms, and operation metrics listed in Tablet.
In some embodiments, the selector 2502 may be configured to select parameters and values for parameters. An example of the selector 2502 selecting parameters and values for parameters is now provided. The selection may be defined with respect to processes 1-8 provided below. Modifications, additions, or omissions may be made to the processes 1-8 without departing from the scope of the present disclosure. For example, the processes may be implemented in differing order. Additionally or alternatively, two or more processes may be performed at the same time. Furthermore, the outlined processes and actions are only provided as examples, and some of the processes and actions may be optional, combined into fewer processes and actions, or expanded into additional processes and actions without detracting from the essence of the disclosed example:
An example of the above steps (by number) is as follows. (1) A transcription service provider establishes a global metric of minimizing cost while providing overall accuracy at or above a specified level and (2) defines an ASR accuracy threshold, below which communication sessions are sent to a revoiced ASR system. (3) The selector 2502 estimates the relationship between the threshold and the global metric and (4) determines a value for the threshold predicted to satisfy the global metric. (5) The selector 2502 uses the threshold value to decide whether to transcribe each communication session utilizing revoiced ASR systems or non-revoiced ASR systems. (6) The performance tracker 2510 tracks and reports cost and accuracy. (7) The selector 2502 uses the reported cost and accuracy to adjust the threshold value. (8) The selector 2502 and performance tracker 2510 repeat steps 3-8.
In some embodiments, the steps above may be implemented by automated systems (e.g., by the selector 2502 and performance tracker 2510). Additionally or alternatively, the steps above may be implemented by a combination of automated systems and human operators. For example, a set of tools may be configured to enable human operators to control, guide, override, or execute the above steps. Examples of methods implemented by tools may include:
In some embodiments, the first estimator 2602a, the second estimator 2602b, and the classifier 2604 may be machine learning models that have been trained to make decisions based on input features 2608. In these and other embodiments, the first estimator 2602a, the second estimator 2602b, referred to collectively as the estimators 2602, and the classifier 2604 may be an example of the implementation of the selector 2502 discussed in
In some embodiments, the first estimator 2602a may be trained with respect to a first type of transcription unit. Thus, the first estimator 2602a may be configured to estimate a value of a particular feature of the first type of transcription unit in response to receiving the first input features 2608a. For example, the first estimator 2602a may estimate the measured or predicted error rate of a non-revoiced ASR system based on the first input features 2608a.
In some embodiments, the second estimator 2602b may be trained with respect to a second type of transcription unit. Thus, the second estimator 2602b may be configured to estimate a value of a particular feature of the second type of transcription unit in response to receiving the second input features 2608b. For example, the second estimator 2602b may estimate the measured or predicted error rate of a revoiced ASR system based on the second input features 2608b. In some embodiments, the particular feature estimated by the first estimator 2602a may be different than the particular feature estimated by the second estimator 2602b or the particular features may be the same. Classifier input features 2612 may include features such as items listed in Table 2 or Table 5.
In some embodiments, the classifier 2604 may be trained based on the outputs of the estimators 2602 and classifier input features 2612. The classifier 2604 may be configured to output a control decision based on the received input. Alternatively or additionally, the classifier 2604 may be configured to output a particular value. The particular value may be compared to a threshold. In response to the particular value satisfying the threshold, a control decision may be implemented.
In some embodiments, each of the first input features 2608a, the second input features 2608b, and the classifier input features 2612 may include one or more agreement rates from a scorer, such as a scorer 2016 of
An example of the operation of the selector 2606 is now provided. The first estimator 2602a may estimate the measured or predicted error rate of a non-revoiced ASR system based on the first input features 2608a. The second estimator 2602b may estimate the measured or predicted error rate of a revoiced ASR system based on the second input features 2608b. The classifier 2604 may use the estimated error rates and the classifier input features 2612 to generate a revoicing cost. The revoicing cost may reflect the relative cost of using a revoiced ASR system versus a non-revoiced ASR system and may be expressed in monetary units such as dollars, as a unitless number such as a ratio, in terms of a contribution to a global metric, or using other units. The revoicing cost may be presented to a comparator which compares the revoicing cost to a threshold. When the revoicing cost is less than the threshold, then the revoiced ASR system may be used to generate transcriptions. When the revoicing cost is more than the threshold, then the non-revoiced ASR system may be used.
Alternatively or additionally, the classifier 2604 may be configured to subtract one error rate from another. If, for example, the threshold is zero, the estimated non revoiced ASR system error rate is 15%, and estimated revoiced ASR system error rate is 3%, then the classifier 2604 may output a positive value, such as 12%, that exceeds the threshold and thus indicates that a revoiced ASR system is selected to provide transcriptions. Additionally or alternatively, the first estimator 2602a may estimate non-revoiced ASR system accuracy and the second estimator 2602b may estimate the difference in cost of selecting a non-revoiced ASR system instead of a revoiced ASR system. In these and other embodiments, the classifier 2604 may select between the non-revoiced ASR system or revoiced ASR system or output a value that is compared to a threshold to make a selection
Additionally or alternatively, the estimators 2602 may provide other information to the classifier 2604. In these and other embodiments, the classifier 2604 may be configured to select among different options, such as types of transcription units for generating transcriptions. Additionally or alternatively, the estimators 2602 may be omitted and the input features 2608 and classifier input features 2612 may be presented to the classifier 2604 which generates an output upon which a control decision may be based.
In some embodiments, the linear estimator 2702 may include weights associated with inputs and an adder 2703. The linear estimator 2702 may be configured to receive a set of inputs, multiply each of the inputs by a weight α1, α2, α3, . . . αN (depicted as “a1,” etc.), sum the weighted inputs using the adder 2703, and output the weighted sum of the inputs. Weights may be determined using optimization methods such as Linear Discriminant Analysis (LDA), linear regression, logistic regression, stochastic gradient descent, or gradient boosting. As with other estimators described herein, input features may include one or more agreement rates from scorers, such as a scorer 2016 of
In some embodiments, the non-linear estimator 2704 may be configured to transform the estimation input features, by for example, using a nonlinear function. For example, if x and y are inputs and n is a real number, then examples of transformations include functions such as xn, log(x), x*y, xn+yn, xy, neural networks, and activation functions typically used with neural networks such as sigmoid functions, logistic functions, tan h(x), ReLU, step functions, etc. Alternatively or additionally, the non-linear estimator 2704 may operate on one input at a time such as with x2 or on multiple inputs simultaneously such as with x2+y2, and with neural networks. The transformed features, by the feature transformer 2706, may be applied to the adder 2705 in addition to or instead of the original estimation input features. The input features may be weighed before being summed using the adder 2705. In these and other embodiments, the weights α1, α2, α3, . . . , αN may then be determined using methods similar to those of a linear estimator.
A neural network may be used in various embodiments described herein as an estimator, selector, and classifier. In some embodiments, the neural network may include a set of one or more inputs, nodes, connections, and outputs. Each node may receive an input from the set of inputs or from another node. Connections between nodes may be multiplied by a weight, so that the input to a first node equals the output of a previous node multiplied by the weight associated with the connection between the two nodes. Nodes may accumulate the inputs in a summation where the summation is the total of the outputs of all previous nodes, each multiplied by the respective weight of the connection. Nodes may be linear or nonlinear. For linear nodes, the node output may equal the sum of the inputs for that node. For nonlinear nodes, the inputs may be totaled in a summation step, then processed with a nonlinearity or activation function. Examples of activation functions include linear, tan h, sigmoid, step, ReLU, leaky ReLU, and Gaussian functions.
Additionally or alternatively, nodes in the neural network may be organized in layers. The neural network may have as few as one layer or it may have multiple layers as in deep neural networks (DNNs). The neural network may be feed-forward so that all connections send signals towards the output. The neural network may include feedback or recurrent connections that send signals to previous layers or backwards towards the input as in recurrent neural networks (RNNs). Other topologies are possible, including gated recurrent units (GRUs), convolutional neural networks (CNNs), temporal convolutional networks (TCNs), pooled layers, long short-term memory (LSTM) networks, bottleneck DNNs, autoencoders, time delay networks (TDNN), ResNet, WaveNet, attention networks such as hierarchical neural attention encoders, neural networks with transfer learning, densely connected neural nets, generative adversarial networks (GANs), or combinations of the above.
The method 2800 may begin with a signal indicating that a communication session has initiated or is about to be initiated. At block 2802, it may be determined whether to use data from the communication session for modeling, such as for training ASR models or to otherwise improve accuracy for future communication sessions through obtained data, such as to attain higher accuracy transcriptions. In some embodiments, a communication session may be selected for modeling randomly, using an active learning model that selects communication sessions where a more accurate transcription is expected to contribute more to improve ASR accuracy through modeling, or for other reasons. For example, a more accurate transcription may be expected to contribute more to improve ASR accuracy through modeling if the communication sessions are within a specified range such as near (e.g., +/−10%) the middle of the estimated accuracy distribution. When the communication session is not to be used for modeling, the method 2800 may proceed to block 2814. When the communication session may be used for modeling, the method 2800 may proceed to block 2804.
At block 2804, it may be determined whether better accuracy is appropriate for the modeling. In some embodiments, the decision regarding better accuracy for modeling may be based on a number of factors including, 1) random selection of the communication session for better accuracy than a single revoicing transcription unit; 2) a more accurate transcription of the communication session is expected to contribute more to improve ASR accuracy through modeling, among other factors.
When better accuracy is not selected for the modeling, the method 2800 may proceed to block 2812. In block 2812, a revoicing transcription unit may be selected to generate transcriptions for the communication. When better accuracy is selected for the modeling, the method 2800 may proceed to block 2806.
At block 2806, it may be determined if better services are available. Better services may include providing the audio of the communication session to additional transcription units. Additional transcription units may be available if the additional transcription units are currently available and are projected to be available throughout the communication session with a number of extra transcription units for other priorities. In some embodiments, the transcription unit availability may be estimated from one or more of: current and projected size of the transcription unit pool, current and projected traffic, or average transcription unit idle time, among others. In these and other embodiments, the additional transcription units may be revoicing or non-revoicing transcription units. In some embodiments, the additional transcription units may include better ASR systems, such as ASR systems that are or may be configured to run in a more expensive, but more accurate mode. In these and other embodiments, the outputs of the transcription units may be fused. Alternatively or additionally, a better service may include sending a communication session to a CA using a stenotype to provide transcriptions.
When better services are available, the method 2800 may proceed to block 2810. When better services are not available, the method 2800 may proceed to block 2812. At block 2812, the better services may be used to generate a transcription of the communication session.
At block 2814, when the communication session is not going to be used for modeling, a device identifier for a device of a party being transcribed (the “transcription party”) may be obtained. The device identifier may be obtained, through a service such as automatic number identification (ANI) service or a digital automatic number identification (DNIS) service, or other methods for incoming communication sessions. For outgoing communication sessions, the device identifier may be a number or information used by a device to establish the communication session with the device of the transcription party.
At block 2816, it may be determined if the device identifier or other information indicates that the communication session includes a device associated with a high-priority number. High-priority numbers may be described with respect to item 76 of Table 5. In response to it being determined that the communication session includes a device associated with a high-priority number, the method 2800 may proceed to block 2812 where a revoicing transcription unit may be used for the communication session. In response to it being determined that the communication session does not include a device associated with a high-priority number, the method 2800 may proceed to block 2818.
At block 2818, it may be determined if the device of the transcription party has provided audio for which transcriptions have been previously generated. In response to the device providing audio for which transcriptions have been previously generated, the method 2800 may proceed to block 2820. In response to the device not providing audio for which transcriptions have been previously generated, the method 2800 may proceed to block 2822.
At block 2820, prior communication session statistics, models, or other profile information related to the device may be retrieved.
At block 2822, a prediction or estimate of non-revoicing ASR system accuracy may be determined. The prediction or estimate may be based on available information, including estimates from estimators, the device profile (e.g., historical accuracy for the transcription party), other device information, items from Table 2 and Table 5, etc.
At block 2824, it may be determined if the predicted accuracy tp is greater than a threshold t1. In response to the predicted accuracy tp being greater than the threshold, the method 2800 may proceed to block 2826. In response to the predicted accuracy tp not being greater than the threshold, the method 2800 may proceed to block 2828.
At block 2828, it may be determined if a revoicing transcription unit is available. If a revoicing transcription is available, the method 2800 may proceed to block 2812. Otherwise, the method 2800 may proceed to block 2826. At block 2826, a non-revoicing transcription unit may be selected to generate transcriptions for the communication session.
Modifications, additions, or omissions may be made to the method 2800 without departing from the scope of the present disclosure. For example, the operations of method 2800 may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations and actions are only provided as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the disclosed embodiments. As another example, the revoicing ASR system may be replaced with a non-revoicing ASR system, such as one with superior performance or higher cost.
At block 2902, a signal may be received indicating that a communication session has been or is about to be initiated between a device of a subscriber and a device of a party whose speech is to be transcribed (the “transcription party”).
At block 2904, an account type for the device of the transcription party in the communication session may be determined. A phone number or other identifying information may be considered when determining the account type. Other sources of identifying information may include, but are not limited to, public records or a subscription service containing identification records. Many different account types may be identified, including but not limited to those enumerated in Table 10.
At block 2904, a type of the account may be analyzed to determine one of multiple account groups to which the account type may belong. In these and other embodiments, in response to determining that the account type matches a first list of account types (e.g., residential or unknown communication sessions), the method 2900 may proceed to block 2906. In response to determining that the account type matches a second list of account types, the method 2900 may proceed to block 2908. The second list may include, but is not limited to, business communication sessions, toll-free or 800 numbers, medical (hospital, doctor), IVR systems, and communication sessions where estimated accuracy was above a selected threshold on a previous communication session. Additionally or alternatively, the second list may include communication sessions to customer support, technical support, other customer care centers, or services where an announcement is played to advise callers that communication sessions may be recorded.
In response to determining that the account type matches a third list of account types that require premium service, the method 2900 may proceed to block 2912. The third list may include, for example emergency numbers and numbers designated by the subscribing party as high-priority (see item 76 of Table 5).
In response to determining that the account type matches a fourth list of account types, such as low priority communication sessions or tasks that may be transcribed at a later time, the method 2900 may proceed to block 2910.
At block 2906, a revoicing transcription unit may be selected to generate transcriptions for the communication session. At block 2908, a non-revoicing transcription unit may be selected to generate transcriptions for the communication session.
At block 2910, an embedded ASR system may be selected to generate transcriptions for the communication session. Alternatively or additionally, the audio may be recorded and provided to a queue to be transcribed in non-real time during the communication session. In these and other embodiments, the embedded ASR system may be implemented on the device of the subscribing party, or on a device associated with or connected to the device participating in the communication session.
At block 2912, a premium transcription unit may be selected to generate transcriptions for the communication session. A premium transcription unit may be a transcription unit that includes multiple ASR systems, multiple CA clients, ASR systems with additional models or configurations to generate better transcriptions, network ASR systems, among other types of ASR systems.
In general, after selecting a transcription unit, the method 2900 may include predicting future accuracy of the transcriptions based on the same or different types of transcription units. Based on the predictions, the type of transcription unit that may be used to generate transcriptions may change during the communication session.
At block 2916, accuracy tp of a transcription of the communication session generated by a non-revoicing transcription unit may be predicted. In some embodiments, the accuracy may be predicted continuously, periodically, at other intervals, or in response to one or more factors, such as a length of the communication session, a change in speakers, a change in audio quality, among other factors. In some embodiments, methods such as those listed in Table 9 and one or more of the features in Table 2 and Table 5 may be used to estimate or predict accuracy. In some embodiments, the predicted accuracy may be the current calculated accuracy.
An example is now provided with respect to predicting or estimating accuracy of a transcription. In these and other embodiments, one or more companion ASR systems may process substantially the same speech as a first transcription unit. In some embodiments, the first transcription unit may be a revoicing ASR system and the companion ASR system may be non-revoiced ASR systems. In some embodiments, the first transcription unit system may be a non-revoicing ASR system and the companion ASR systems may be non-revoiced ASR systems. In these and other embodiments, the accuracy may be estimated using one or more features such as (a) ASR confidence (from one or more of the companion ASR systems), (b) the disagreement rate between the companion ASR systems, (c) the disagreement rate between each companion ASR system and the first transcription unit, (d) the number of words from one or more of the companion ASR systems where the confidence is above a selected percentage. In some embodiments, one or more features from Table 2 and Table 5 may also be used.
In some embodiments, any combination of the first transcription unit and the companion ASR systems may be substantially identical except for one aspect. For example, the first transcription unit and one of the companion ASR systems may be substantially identical except for one aspect and the other companion ASR system may be different. Alternatively or additionally, the first transcription unit and the companion ASR system may be substantially identical except for one aspect when there is one companion ASR system. Alternatively or additionally, the companion ASR systems may be substantially identical except for one aspect. The one aspect may be, for example, selected from the n-gram length in the language model, the size or topology of a neural network implementing an acoustic model, the source or size of training data in the language model or acoustic model, and distorting or otherwise processing the input speech for one of the ASR systems. The one aspect may alternatively be a method of crippling one of the ASR systems.
In some embodiments, any combination of the first transcription unit and the companion ASR systems may include software that is substantially identical or is derived from a common source, a first ASR system using at least one model (e.g., an acoustic model and/or language model) that is different from the corresponding model (i.e., the model is used in a similar fashion) used by a second ASR system.
In another example regarding predicting or estimating accuracy of a transcription, an accuracy estimator may be trained, using a machine learning method, such as one in Table 9 and using at least two features, trained on a set of audio samples where the accuracy of each sample is labeled and used as a target for the machine learning method.
At block 2918, the accuracy tp may be compared to a threshold t1 In some embodiments, the threshold t1 may be based on one or more factors. The factors may be similar to the factors used to determine between selecting a revoicing transcription unit or a non-revoicing transcription unit as discussed in this disclosure. For example, a threshold may be determined, for example, by using a measure of communication session transcription difficulty, estimated revoicing ASR system accuracy, particular accuracy requirements, and other features.
In response to the accuracy tp satisfying the threshold t1, the method 2900 may proceed to block 2932. Otherwise, the method 2900 may proceed to block 2920, where the original revoicing transcription unit may continue to generate the transcription. After block 2920, the method 2900 may proceed to block 2916 for continued prediction of the accuracy of the transcription of the communication session generated by a non-revoicing transcription unit.
At block 2922, accuracy tp of a transcription of the communication session generated by an embedded transcription unit may be predicted. In some embodiments, the accuracy may be predicted continuously, periodically, at other intervals, or in response to one or more factors, such as a length of the communication session, a change in speakers, a change in audio quality, among other factors. In some embodiments, the predicted accuracy may be the current calculated accuracy.
At block 2924, the accuracy tp may be compared to a threshold t3. In response to the accuracy tp satisfying the threshold t3 the method 2900 may proceed to block 2926. Otherwise, the method 2900 may proceed to block 2934.
At block 2934, accuracy tp of the transcription of the communication session generated by the non-revoicing transcription unit may be compared to a threshold t2 In response to the accuracy tp satisfying the threshold t2 the method 2900 may proceed to block 2932 where the original non-revoicing transcription unit may continue to generate the transcription. After block 2932, the method 2900 may proceed to block 2922 for continued prediction of the accuracy of the transcription of the communication session generated by an embedded and non-revoicing transcription unit. Otherwise, the method 2900 may proceed to block 2920 where a revoicing transcription unit may begin to generate transcriptions for the communication session.
At block 2928, accuracy tp of a transcription of the communication session generated by an embedded transcription unit may be evaluated. In some embodiments, the accuracy may be evaluated continuously, periodically, at other intervals, or in response to one or more factors, such as a length of the communication session, a change in speakers, a change in audio quality, among other factors. In some embodiments, the predicted accuracy may be the current calculated accuracy.
At block 2930, the accuracy tp may be compared to a threshold t4. In some embodiments, the threshold t1 may be based on one or more factors. The factors may be similar to the factors used to determine between selecting a revoicing transcription unit or a non-revoicing transcription unit as discussed in this disclosure.
In response to the accuracy tp not satisfying the threshold t4, the method 2900 may proceed to block 2932 where a non-revoicing transcription unit may begin to generate transcriptions for the communication session. Otherwise, the method 2900 may proceed to block 2926, where the original embedded transcription unit may continue to generate the transcription. After block 2926, the method 2900 may proceed to block 2928 for continued evaluation of the accuracy of the transcription of the communication session generated by the embedded transcription unit.
In some embodiments, the accuracy thresholds (t1, t2, etc.) may be the same or different. To avoid frequent switching between different transcription units, t2 may be set lower than t1 and t4 may be set lower than t3. Although the method 2900 is described as calculating accuracy estimates and predictions, in this and other embodiments disclosed herein, current or past estimates may be used in place of predicted or calculated estimates and vice versa, because past performance may be used to predict future performance.
In some embodiments, the predicted accuracy thresholds (t1, t2, etc.) may change depending on how long the communication session has been running and a duration of measurement window for predicting or evaluating the accuracy. For example, one or more of the thresholds may have a first set of values for intervals starting after a first time period (e.g., the first minute of the communication session) and a second set of values for intervals starting at the beginning of the communication session. Examples of how accuracy thresholds may be constructed and used include: (1) a threshold may be set to 100% for any 20 seconds after the first minute of a communication session or 97% for the first 20 seconds of the communication session; (2) a threshold may be set to 90% for any 1 minute after the first minute of a communication session or 88% for the first 30 seconds of the communication session; or (3) a threshold may be set to 80% plus an estimated measurement error. In some embodiments, the estimated measurement error may include an estimate of the precision of the accuracy estimation. In example (3), above, if the accuracy is estimated at 85% and the estimated measurement error is +/−7%, then the threshold may be 80%+7%=87%.
An accuracy threshold may also change based on the account type associated with the device identifier. For example, a business communication session may use a first threshold (e.g., t1=87%) and a residential communication session may use a second threshold (e.g., t1=78%). The account type may be one or more of the items in Table 10.
Modifications, additions, or omissions may be made to the method 2800 without departing from the scope of the present disclosure. For example, the operations of method 2800 may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations and actions are only provided as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the disclosed embodiments.
For example, in some embodiments, one or more other groups of account types may be included. In these and other embodiments, the transcriptions may be generated by one of the above described options or another type of service. As another example, the revoicing transcription unit may be replaced with a non-revoicing transcription unit, such as one with superior performance or higher cost.
The method 3000 may begin at block 3002, where first audio data originating at a first device during a communication session between the first device and a second device may be obtained. In these and other embodiments, the communication session may be configured for verbal communication.
At block 3004, an availability of revoiced transcription units in a transcription system may be obtained. In some embodiments, the availability of revoiced transcription units may be based on one or more of: a current peak number of transcriptions being generated, a current average number of transcriptions being generated, a projected peak number of transcriptions to be generated, a projected average number of transcriptions to be generated, a projected number of revoiced transcription units, and a number of available revoiced transcription units. Alternatively or additionally, the availability of revoiced transcription units may be based on three or more of: a current peak number of transcriptions being generated, a current average number of transcriptions being generated, a projected peak number of transcriptions to be generated, a projected average number of transcriptions to be generated, a projected number of revoiced transcription units, and a number of available revoiced transcription units.
At block 3006, in response to revoiced transcription units being available, the method 3000 may proceed to block 3008. In response to revoiced transcription units not being available, the method 3000 may proceed to block 3014.
At block 3008, in response to establishment of the communication session, a revoiced transcription unit may be selected, based on the availability of revoiced transcription units, instead of a non-revoiced transcription unit to generate a transcription of the first audio data to direct to the second device.
At block 3010, revoiced audio generated by a revoicing of the first audio data by a captioning assistant may be obtained by a revoiced transcription unit.
At block 3012, a transcription of the revoiced audio may be generated using an ASR engine of the revoiced transcription unit. The ASR engine may be part of an ASR system. In some embodiments, the automatic speech recognition engine may be trained specifically for speech of the captioning assistant. Block 3012 may be followed by block 3018.
At block 3014, a non-revoiced transcription unit may be selected. At block 3016, a transcription of the audio may be generated by the non-revoiced transcription unit. Block 3016 may be followed by block 3018.
At block 3018, the transcription of the revoiced audio may be directed to the second device as the transcription of the first audio data. In some embodiments, the directing may occur in response to selecting the revoiced transcription unit.
Modifications, additions, or omissions may be made to the method 3000 without departing from the scope of the present disclosure. For example, the operations of method 3000 may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations and actions are only provided as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the disclosed embodiments.
For example, in some embodiments, the method 3000 may include after directing the transcription of the revoiced audio to the second device and during the communication session, obtaining second audio data originating at the first device during the communication session and obtaining, from the non-revoiced transcription unit using a second automatic speech recognition engine, a second transcription of the second audio data. In some embodiments, the method 3000 may further include generating, by the revoiced transcription unit, a third transcription of a revoicing of the second audio data using the automatic speech recognition engine, generating a fourth transcription using one or more words of the second transcription and one or more words of the third transcription, and directing the fourth transcription to the second device as a transcription of the second audio data.
As another example, the method 3000 may further include during a period when the revoiced transcription unit is generating the transcription of the revoiced audio, obtaining, from the non-revoiced transcription unit using a second automatic speech recognition engine, a second transcription of the first audio data.
In these and other embodiments, the automatic speech recognition engine may be trained specifically for speech of the captioning assistant and the second automatic speech recognition engine may be trained for a plurality of speakers.
Alternatively or additionally, while directing the transcription of the revoiced audio to the second device and during the communication session, the method 3000 may further include determining a difference between a first number of words in the revoiced audio and a second number of words in the first audio data is below a comparison threshold and in response to the difference being below the comparison threshold, directing the second transcription to the second device as the transcription of the first audio data instead of the transcription of the revoiced audio.
Alternatively or additionally, while directing the transcription of the revoiced audio to the second device and during the communication session, the method 3000 may further include determining an error rate of the transcription of the revoiced audio is below an error threshold and in response to the error rate being below the error threshold, directing the second transcription to the second device as the transcription of the first audio data instead of the transcription of the revoiced audio.
In some embodiments, the audio may be delayed before being provided to the audio interface 3122 by a delay mechanism 3102. In some embodiments, a text editor 3126 may be configured to obtain the transcriptions from the ASR system 3120. The text editor 3126 may also be configured to present the transcriptions to a CA or to provide the transcription to a device for presentation to a CA. The text editor 3126 may obtain inputs from the CA regarding edits to the transcription. The text editor 3126 may be configured to change the transcription to correct the errors. In some embodiments, the audio interface 3122 and the text editor 3126 may be part of a CA client discussed with respect to
In some embodiments, the delay mechanism 3102 may add a delay to the audio to make editing of the transcription easier for the CA. The delay may be provided so that transcriptions appear at a desired point, such as during, slightly before, or slightly after the corresponding audio. The delay value and whether delay is activated may depend on settings determined by the CA, a CA supervisor, or an administrator. The delay mechanism 3102 may be configured to maintain a constant delay, or alternatively to vary a delay period. The delay period may be set in response to output from the ASR system 3120. For example, in conjunction with output text, the ASR system 3120 may provide endpoints that mark the time of the beginning and/or ending of each word. As recognized words are displayed to the CA, the delayed audio may be synchronized to the display of the recognized words using the endpoints.
In some embodiments, the display of the text editor 3126 or audio signals provided by the audio interface 3122 may be configured to draw the CA's attention to areas most likely to need correction. For example, the display may indicate ASR system confidence via color coding, highlighting, changes in font, brightness changes, or by other variations in the visual presentation
To save typing or reduce errors, the ASR system 3120 may provide a recognized output such as an n-best list, WCN, or lattice to the text editor 3126 so the text editor 3126 may present alternative words or phrases for the CA to select to be used in the output transcription instead of words in the first hypothesis initially selected by the ASR system 3120. A portion of text may be displayed with a variation in the visual presentation as described above, indicating that the text editor has one or more alternate hypotheses available. Examples of how a text editor may provide CA editing options may include:
In some embodiments, the environment 3100 may also be configured with a CA activity monitor 3104. In this and other embodiments disclosed herein where an ASR system may provide transcriptions automatically and where a CA may be aware that the ASR system is running, there is a risk that the CA may stop working or work at a reduced performance level.
In some embodiments, the CA activity monitor 3104 may be configured to monitor the CA for unproductive behavior and advise the CA, the CA's supervisor, or otherwise provide feedback, reports or alarms so that the behavior may be verified and/or corrected. In some embodiments, where text is produced by the ASR system 3120 without corresponding text from the CA, the text from the ASR system 3120 may appear in a different color or font, highlighted, or otherwise marked so that the CA may more easily determine text to which the CA did not contribute. Additionally or alternatively, the CA's supervisor, once alerted, may use remote access software to further monitor the CA.
In some embodiments, the CA activity monitor 3104 may be configured to periodically place pre-recorded test communication sessions to the CA where the transcription is known and where errors are inserted into the transcription. If the CA fails to correct an acceptable number or percentage of the errors, the CA activity monitor 3104 may signal poor CA performance.
Alternatively or additionally, the CA activity monitor 3104 may be configured to cause the text editor 3126 to present deliberate errors to the CA that are not errors in the transcription output by the ASR system 3120 during a communication session. For example, the transcription from the ASR system 3120 may be provided to a device for display to a subscriber and to the CA activity monitor 3104. The CA activity monitor 3104 may select a word at random from the transcription output and delete the word, replace the word with another word, or insert a word. The CA activity monitor 3104 may provide the transcription to the text editor 3126 for presenting to the CA.
In some embodiments, the other word may be selected at random. Additionally or alternatively, a second ASR system or language model may be used to construct errors that are believable, or relatively likely according to an ASR system or language model, so that the CA does not discern that the errors are being input to a transcription. In some embodiments, the second ASR system may be configurable for variable accuracy to adjust the number of constructed errors. If the CA fails to correct an error, or if the CA's error correction performance over time falls below a selected threshold, the CA activity monitor 3104 may signal poor CA performance.
In some embodiments, the CA activity monitor 3104 may be configured to analyze a second reference transcription created by a second ASR system. If the transcription generated by the ASR system 3120 is not significantly closer to the second reference transcription after being edited by the CA, then the CA activity monitor 3104 may signal poor CA performance. Additionally or alternatively, if the CA corrects less than a selected number of errors over one or more periods of time, the CA activity monitor 3104 may signal poor CA performance. The selected number of errors may be constant, or it may vary from communication session to communication session. The selected number of errors may be responsive to estimated ASR system accuracy of the ASR system 3120. Estimated ASR system accuracy may include estimated accuracy during a current communication session or averaged across multiple communication sessions. The CA activity monitor 3104 may also use the estimated accuracy of the ASR system 3120 alone or of the ASR system 3120 with CA edits in determining whether to signal poor CA performance. The CA activity monitor 3104 may take into account use of the text editor 3126 and/or the audio interface 3122 by the CA in evaluating CA behavior. For example, if a CA stops speaking or exhibits signs that might otherwise be construed as distracted, but is actively editing text, the CA activity monitor 3104 may use the editing activity to suppress a distracted CA signal.
In some embodiments, the CA activity monitor 3104 may use a video image obtained, for example, from a camera configured to record the CA to detect suspect behavior. The camera may or may not be visible to the CA. The image may, for example, be analyzed automatically by image processing software, by a remote supervisor, or a combination thereof, to detect conditions and events such as:
In some embodiments, the video may be monitored continuously. In another example, the video may be monitored intermittently. In another embodiment, the video camera may be non-functional or unused, but visible to the CA. The camera may include a light to suggest video is being captured. Other events used by the CA activity monitor 3104 may include:
When the CA activity monitor 3104 signals suspect CA behavior, a remote monitoring system may provide a supervisor means to observe the CA. This observation may be live or from one or more recordings and may include listening to caller audio, listening to CA audio, observing part or all of the CA's screen, observing transcriptions, watching video from a camera, and examining time records, computer login records, and door access logs. Additionally or alternatively, a recording/playback system may allow the supervisor to observe recorded activities of the suspect CA, such as at or before the CA activity monitor detected a suspect event. For example, the supervisor may be able to watch recorded video of the CA during the communication session containing the suspect event or during other communication sessions. In one implementation the CA's lips may be at least partly obscured, for example either continuously or when the lips are in motion, in the video to protect privacy of the communication session. Additionally or alternatively, the text of the conversation may be obscured and the audio may be rendered unintelligible to protect privacy.
Modifications, additions, or omissions may be made to the environment 3100 without departing from the scope of the present disclosure. For example, in some embodiments, the audio interface 3122 may be configured to obtain revoiced audio from the CA. The revoiced audio may be provided to another ASR system. The output of the ASR system 3120 and the other ASR system may be fused. In these and other embodiments, the CA activity monitor 3104 may listen to audio to detect distractions or other suspect behavior. For example, if the CA activity monitor 3104 hears music, the CA speaking, or other audio while the audio does not include speech, or if the CA mutes his/her microphone, the CA activity monitor 3104 may signal that the CA is distracted. If the CA activity monitor 3104 hears multiple voices or a voice that does not correspond to the CA's voice, it may signal that the CA may be distracted. In another example, the ASR system 3120 may include multiple ASR systems and a fuser that combines outputs of the multiple ASR systems.
Each of the transcription units 3214 may include a fuser 3224 that may be configured to fuse the outputs of the ASR system 3221 and ASR system 3220. In some embodiments, the fuser 3224 may make a decision to use text from the ASR system 3221 and ASR system 3220 for each word, for each subword unit, for each phrase, for a speaker turn, for a remaining portion of a session, or for an entire session. The decision may take into account voting, endpoints, word accuracy probabilities, alignment, silence detection, and information from a language model in making the decision. When switching between transcriptions from the ASR system 3221 and ASR system 3220, the fuser 3224 may be configured to synchronize text so that words of the transcription remains in sequential order (see
Each of the transcription units 3214 may also include a text editor 3226. In the first transcription unit 3214a of
The embodiment of
Turning now to
In some embodiments, the transcriptions from the ASR system 3220 may be presented to a CA. In these and other embodiments, the transcriptions from the ASR system 3220 may be presented to the CA in a marked format, such as a different color, so that the CA can easily observe the action of the ASR system 3220. While the CA is not revoicing, the fuser 3224 may forward the transcription from the ASR system 3220 as-is, without combining the transcriptions from the ASR system 3221 as there are no transcriptions from the ASR system 3221 without revoicing. Once the CA resumes revoicing, transcriptions from the ASR system 3221 may be synchronized with transcription from the ASR system 3220 and the fuser 3224 may resume fusing the transcriptions.
In some embodiments, various inputs, each corresponding to the same word, segment of the conversation, or point in time in the communication session audio stream, may arrive at the fuser 3224 input at different times, due to variations in latency for the various transcription paths. For example, in some embodiments, the ASR system 3220 may be faster than the ASR system 3221 such that the transcription from the ASR system 3220 may arrive at the fuser 3224 input ahead of the transcription from the ASR system 3221. In these and other embodiments, the fuser 3224 may create and transmit a fused transcription for a given segment of the conversation after the fuser 3224 has received all inputs corresponding to the segment. Alternatively or additionally, the fuser 3224 may transmit a fused transcription to a user device for presentation after the fuser 3224 has received one or more input transcriptions. After receiving the other transcription, the fuser 3224 may determine a correction to the previous transcription based on the other transcription and provide the changes to a user device. Additionally or alternatively, the fuser 3224 may also change the fused transcription and transmit changes to the user device in response to changes in input transcriptions, such as if one of the ASR systems 3220 and 3221 revises a previous hypothesis. In some embodiments, the fuser 3224's style or configuration may change in response to one or more factors such as a change in speech recognition accuracy of one of the ASR systems 3220 and 3221, a change in CA behavior, or a change in values of one or more features in Table 2 and Table 5. For example, in response to accuracy of transcriptions from the ASR system 3220 being above a particular threshold, the fuser 3224 may operate to provide the first transcription received and making corrections. In these and other embodiments, in response to the accuracy of transcriptions from the ASR system 3220 being below a particular threshold, the fuser 3224 may wait for both transcriptions before providing a transcription. Modifications, additions, or omissions may be made to the transcription units 3214 without departing from the scope of the present disclosure.
In
In
In
In some embodiments, the third operating mode may be configured to relieve the CA from revoicing the audio such that the CA may attend to correcting errors in the transcriptions using the text editor 3326.
In some embodiments, the delay of the audio performed by the audio delay 3330 may be constant or variable. In a first example, audio delay may be constant and may be responsive to estimated latency of a transcription process of the audio as illustrated in
In some embodiments, the transcription unit 3314 may be reconfigured, for example between modes 1, 2, and 3, using one of several methods, including:
The latency, in some embodiments, for the various modes may be different, so a synchronizer 3302 may buffer text as necessary and ensure that there are no gaps or overlaps in the output transcription when the transcription unit 3314 switches between modes. The synchronizer 3302 is illustrated coming before the text editor 3326, though the synchronizer 3302 may alternatively come after (see
As described above, the transcription unit 3314 may be configured to continue to provide transcriptions in real-time or near real-time to a user device regardless of actions by the CA. Thus, the CA stopping revoicing, editing, or other actions may not stop the transcription unit 3314 from providing transcriptions to the user device.
In some embodiments, the transcription unit 3314 may include a bypass 3304 for sending a transcription to a user device and bypassing providing the text to the text editor 3326 for editing. In these and other embodiments, the bypass 3304 may be configured to forward text directly to a user device, before the text is presented to the CA for editing and/or before receiving input from the CA regarding edits to the text by the text editor 3326. In these and other embodiments, after the text editor 3326 receives a correction (e.g., edit, insertion, or deletion), the corrected text may be forwarded to the user. The user device may then display the corrections. The corrections may be presented in an altered form such as in highlighted text so that the reader can see which text has been corrected. In some embodiments, the bypass 3304 may be configured to operate in response to a CA activity monitor determining that the CA has stopped editing the text.
Modifications, additions, or omissions may be made to the transcription units 3314 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription units 3314 may not include the bypass 3304. In these and other embodiments, the text editor 3326 may be configured to forward text directly to a user device, before the text is presented to the CA for editing and/or before receiving input from the CA regarding edits to the text. In these and other embodiments, after the text editors 3326 receives a correction (e.g., edit, insertion, or deletion), the corrected text may be forwarded to the user. The user device may then display the corrections. The corrections may be presented in a form such as highlighted text so that the reader can see which text has been corrected.
In some embodiments, the transcription unit 3414 may further include a CA activity monitor 3406 and silence detector 3402. The CA activity monitor 3406 may be an example of an alternative embodiment of the CA activity monitor 3104 of
In some embodiments, the silence detector 3402 may be configured to monitor one or more of: the communication session audio and the revoiced audio. In some embodiments, the silence detector 3402 may be configured to detect silence of the communication session audio or the revoiced audio and assign a silence certainty rating based on an average energy of the communication session audio or the revoiced audio falling below a selected threshold. The silence detector 3402 may provide an indication regarding silence in communication session audio and the revoiced audio to the CA activity monitor 3406.
The CA activity monitor 3406 may be configured to compare silence detector indications regarding the communication session audio and the revoiced audio, taking into account a delay, to determine if the CA should be speaking when the CA is not speaking/revoicing. For example, if speech is detected from the communication session audio, but not the CA, taking into account a time lag between the communication session audio and the revoiced audio, at a high confidence and for a significant period of time, the CA may be determined to have stopped speaking and the CA activity monitor 3406 may signal poor CA performance.
In some embodiments, the CA activity monitor 3406 may also receive input from one or more of: the first transcription, the second transcription, the fused transcription, the edited transcription, and log activity of the text editor 3426. Additionally or alternatively, the CA activity monitor 3406 may make a determination of whether the CA is performing as expected based on the input. For example, the CA activity monitor 3406 may compare text output from the fuser 3424 with text output from the text editor 3426 and determine that the CA is not appropriately making corrections. As another example, the CA activity monitor 3406 may use silence information and a log of activity from the text editor 3426 to determine that the CA has stopped revoicing. However, the CA activity monitor 3406 may also take into account an indication of activity from the text editor 3426 suggesting that the CA has legitimately stopped speaking in order to edit text.
In some embodiments, the CA activity monitor 3406 may be configured to detect CA silence by finding sequences of words in the first transcription from revoiced audio that are missing in the second transcription of the communication session audio. The silence detector 3402 may assign a higher silence certainty when the sequence of words missing in the first transcription from revoiced audio is followed by a sequence of words that match a similar sequence in the second transcription of the communication session audio.
In some embodiments, the CA activity monitor 3406 may be configured to detect CA silence by comparing the first transcription from revoiced audio with the second transcription of the communication session audio. For example, if the second transcription includes an amount of text that is more than what the second transcription includes for a threshold amount of time or over a threshold number of words or characters, the CA may be determined to have slowed or stopped working and the CA activity monitor 3406 may signal distracted CA performance. In these and other embodiments, the CA activity monitor 3406 may take into account a time lag between the communication session audio and the revoiced audio.
In some embodiments, the CA activity monitor 3406 may be configured to detect CA silence by comparing the number of words or subword units such as syllables in the revoiced audio over a particular period of time to the number of words or subword units in the communication session audio over the particular period of time. The number of words may, for example, be counted in the first and second transcriptions. Alternatively or additionally, the number of subword units may be counted by analyzing audio to determine the number of changes in features such as volume and/or the frequency spectrum over a selected period of time. For example, when a metric measuring a change in the magnitude spectrum exceeds a specified threshold, a new subword unit may be considered to have begun.
In some embodiments, the transcription unit 3414 may also be configured to assist the CA. For example, the second transcription may be provided to a user device after the second ASR system 3421 generates the second transcription. However, the text editor 3426 may not present the second transcription for a fixed or variable length of time or until after the CA revoices the corresponding audio. Delaying the presentation of the second transcription may encourage the CA to continue speaking and may help avoid confusing the CA when seeing transcriptions before the CA revoices the corresponding audio.
In some embodiments, an accuracy estimator may measure the overall error rate of the transcription unit 3414 and may use the error rate to measure performance of the CA. The error rate may also be used to provide feedback or other incentives to the CA to raise the combined system accuracy. The CA activity monitor 3406 may provide the error rate to the text editor 3426 or other system that may present the error rate or another performance metric during or at the end of a communication session. For example, the another performance metric may include a function of the estimated CA accuracy in revoicing the audio and a function responsive to the estimated difficulty in revoicing the communication session audio. In another example, the performance metric may include a function of the estimated accuracy of an ASR system receiving the revoiced audio and the estimated accuracy of an ASR system receiving the communication session audio.
Modifications, additions, or omissions may be made to the transcription units 3414 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription units 3414 may include a synchronizer and/or audio delay. In some embodiments, an audio delay may delay audio so that the CA hears it at approximately the same time as the corresponding text appears in the text editor 3426. In a first example, the audio delay time may be set to zero. In a second example, the audio delay time may respond to word endpoints for one or more words from the second transcription compared to the point in time where the one or more words appear in the text editor 3426. In a third example, the audio delay may respond to communication session audio, presentation of text from the text editor 3426, and an arrival time of the text at the text editor 3426.
In some embodiments, the CA 3518 may listen to the communication sessions and view the transcriptions on one or more displays 3504. The editor 3502 may be configured to receive input form the CA 3518 to make corrections to the transcriptions. If the CA 3518 makes corrections after the transcriptions have been sent to a user device, the editor 3502 may be configured to send the corrections to the user device.
In some embodiments, a set of loudspeakers 3506a-d are configured to broadcast the audio signals 1-4. Additionally or alternatively, one or more loudspeakers 3506 may be configured to broadcast audio from multiple audio signals with per-audio stream signal variations so that the apparent position of each audio signal, from the CA's 3518 perspective, appears at various locations in space. The location in space may be set, for example, by adjusting loudness, phase, delay, and other characteristics of the audio signals. For example, two loudspeakers 3506a and 3506b may play audio from all the audio signals. In these and other embodiments, each audio signal may be positioned in space within the stereo image by adjusting the relative loudness of each audio signal sent to each loudspeaker. Additionally or alternatively, the audio signals may be broadcast to the CA 3518 via stereo headphones and the audio signal to the headphones may be adjusted so that each audio signal appears to come from a different location in space. In some embodiments, the CA 3518 may rewind and replay portions of one or more conversations. The replay may use a speech rate changer to play speech at a rate faster or slower than real-time and/or remove or shorten silent segments. Modifications, additions, or omissions may be made to the environment 3500 without departing from the scope of the present disclosure. For example, the number of audio signals and ASR systems may be more or less than four.
In some embodiments, the environment 3600 may also include four estimators 3604a-d, collectively the estimators 3604, associated with each of the ASR systems 3620. The ASR systems 3620 may provide the transcriptions to the estimators 3604. The estimators 3604 may be configured to determine a characteristic of at least a segment of the transcriptions received. A segment may be a word, a few words, or a speaker turn delimited by silence or by the other party speaking. In some embodiments, the characteristic may be an accuracy of the transcription or other characteristic of a transcription that may be measured as described in this disclosure.
In some embodiments, the estimators 3604 may provide the characteristic of the transcriptions to the transcription managers 3602. The transcription managers 3602 may be configured to compare the characteristic to a threshold. The threshold may be based on the source of the audio. For example, the threshold may be based on the type of the communication session as described in this disclosure. In response to the characteristic satisfying a threshold, the transcription may be provided to a user device associated with the audio signal corresponding to the transcription. In response to the characteristic not satisfying the threshold, the segment and the audio corresponding to the segment may be provided to the automatic communication session distributor (“ACD”) 3606. Alternatively or additionally, in response to the characteristic not satisfying the threshold, the segment and the audio corresponding to the segment may be provided to the user device as well.
The ACD 3606 may receive a segment and audio from the transcription managers 3602 and route it to an available CA client 3622. The CA client 3622 may be configured to present the audio and the segment to a CA associated with the CA client 3622 and obtain input from the CA regarding edits to the segment. In some embodiments, the CA may not edit the segment. The ACD 3606 may provide the edits back to the transcription manager 3602. The transcription manager 3602 may provide the edited segment to a user device for presentation. Alternatively or additionally, the transcription manager 3602 may provide the edits as corrections to a user device that previously obtained the segment.
In some embodiments, although not depicted here, the CA clients 3622 may be part of transcription units associated with the ASR systems 3620. In these and other embodiments, the transcription units may be utilized to accurately and efficiently generate corrections to the segment by including a speaker-dependent ASR, a companion ASR system and fuser, or other forms of ASR systems.
In some embodiments, the CA clients 3622 may present text that the ASR systems 3620 transcribed before, during, and, if it is available, after the segment. In some embodiments, the CA client 3622 may obtain inputs from a keyboard, mouse, voice commands, revoicing, or other forms of computer input.
In some embodiments, to help CAs associated with the CA clients 3622 understand the context or topic of conversation, the ACD 3606 may be configured to use the same CA client 3622 or group of CA clients 3622 for a given communication session. In these and other embodiments, the ACD 3606 may provide one of the CA clients 3622 with a transcription or summary of prior portions of the conversation.
In some embodiments, the ACD 3606 may be configured to favor selecting a CA client 3622 for a communication session based on the CA client 3622 previously handling audio associated with one or more devices participating in the communication session. In some embodiments, the ACD 3606 may select CA clients 3622 based on information regarding the CAs associated with the CA clients 3622, such as a skill level of a CA, idle time for CA, status of a CA such as seniority or performance, experience with a given language or accent, ability to handle particular characteristics such as high noise levels, or knowledge such as medical or legal expertise related to the current conversation topic.
In some embodiments, the characteristic determined by the estimator 3604 may be a predicted accuracy of a segment. The predicted accuracy may be the accuracy of the segment before the segment has been partly or fully transcribed. In these and other embodiments, the predicted accuracy may be based on an estimated accuracy of past speech transcriptions or segments thereof. In response to the predicted accuracy/quality not satisfying the threshold, the segment may be sent to a CA client 3622. In these and other embodiments, a transcription unit that includes the CA client 3622 may be configured to transcribe the segment at overlapping time periods as the segment is transcribed using the ASR systems 3620. By streaming segments to CA clients 3622 based on predicted accuracy, round-trip latency to and from the CA clients 3622 may be reduced. In these and other embodiments, segments may continue to stream to the CA clients 3622 until the predicted accuracy rises above the threshold. Modifications, additions, or omissions may be made to the environment 3600 without departing from the scope of the present disclosure. For example, the number of audio signals and associated elements (e.g. ASR systems and transcription managers) and the number of CA clients may be more or less than the numbers illustrated.
In some embodiments, the fuser 3724 may be configured to receive the transcriptions from the ASR systems 3720. The fuser 3724 may combine the transcriptions to generate fused transcription. In some embodiments, the ASR systems 3720a-c and 3720e-g may be any combination of speaker-independent or speaker-dependent ASR systems. Alternatively or additionally, the ASR systems 3720a-c and 370e-g may each be configured in any number of ways as described in this disclosure. The number of ASR systems and the number of transcriptions provided to the fuser 3724 may be more or less than the numbers illustrated. For example, in some embodiments, the transcription unit 3714 may include two, three, four, or five ASR systems besides the ASR system 3720d. In these and other embodiments, one or more of the ASR systems may use the revoiced or non-revoiced audio to generate the transcriptions. Alternatively or additionally, one or more of the ASR systems may run in a reduced or crippled state. Alternatively or additionally, one or more of the ASR systems may be configured as indicated in the below list.
Additionally or alternatively, an ASR system running on a device providing the audio to the transcription unit 3714 or another device may be used to create a transcription. In these and other embodiments, the transcription may be used alone, it may be fused with transcriptions from one or more ASR systems 3720, or it may be used in multiple configurations at different times in response to estimated accuracy, difficulty of transcribing a given audio stream, network connectivity, availability of transcription units, and other factors such as the features listed in Table 2 and Table 5.
In some embodiments, the transcription unit 3714 may include a first text editor 3726a and a second text editor 3726b. The first text editor 3726a may be configured to display the transcription from the ASR system 3720d and obtain edits from a CA for the transcription from the ASR system 3720d. The second text editor 3726b may be configured to display the fused transcription and obtain edits from a CA for the fused transcription. The CA that may use the first and second text editors 3726a and 3726b may be the same or different.
In some embodiments, the bandwidth and sample resolution of the input signals to the ASR systems 3720 may be different and may vary, depending on the communication session. For example, when the audio passes through a telephone network, the audio may be sampled at 8 kHz with a resolution of eight bits with μ-Law encoding. In response to this encoding, one or more of the ASR systems 3720, for example the ASR systems 3720e-g, may run models trained using input audio sampled at 8 kHz with μ-Law encoding. In these and other embodiments, the ASR systems 3720a-d that may obtain the revoiced audio may use models trained on speech sampled at a higher sampling rate, such as at 16 kHz, and at a higher sampling resolution, such as 16-bit linear. In some embodiments, audio from a communication network may use other sampling and encoding methods such as a 16 kHz sampling rate, a 16-bit sample encoding, wideband audio, wideband voice, ITU standard G.722, HD Voice, MP3, AMR-WB, codecs used for VoIP and videoconferencing, etc. In these and other embodiments, a determination may be made regarding the audio quality and one or more ASR systems 3720 may be configured in response to the determined audio quality. Additionally or alternatively, a first one of the ASR systems 3720 may be configured for audio sampled and encoded in a first format and a second one of the ASR systems 3720 may be configured for audio sampled and encoded in a second format. Additionally or alternatively, audio in a first format may be converted to a second format and presented to an ASR system 3720 configured for the second format. For example, wideband audio may be downsampled to 8 kHz and processed by an ASR system 3720 configured to recognize 8 kHz speech.
In some embodiments, audio may be transmitted to the audio interface 3718 and the ASR systems 3720e-g substantially at the same quality level in which it is received. Additionally or alternatively, audio may be processed by speech enhancer 3702a-d, collectively speech enhancers 3702, that may be configured to improve performance of the ASR systems 3720. The speech enhancers 3702 may be configured to perform one or more of the following:
In some embodiments, when the audio is part of a communication session, the speech enhancers 3702 may use a number of different methods to automatically determine which party of the communication session (e.g., the subscriber who may be hearing-impaired, and the transcription party, who may also be hearing-impaired) is speaking, including comparing the relative energy levels of the subscriber's audio signal and the transcription party's audio signal, and using voiceprints to distinguish between voices on the same channel. For example, on a two-way communication session or conference communication session, the audio of the speaking party may be identified for the CA using visual and/or audio indicators. Additionally or alternatively, the transcription unit 3714 may also send indicators to a user device so that the user device can display speaker information such as “New speaker:” or “Female Speaker:” or “Party 3:” to the subscriber. Such indicators may also be sent to the CA by, for example, providing a panel light, a lit region on the CA screen, or a displayed text advisement to notify the CA which speaker is talking and when the speaker changes. The visual indicator may be a signal for the CA to resume revoicing. For example, a region of the screen may dim or change color when the subscriber is speaking, and it is unnecessary for the CA to revoice the audio, then brighten when the user speaks for which a transcription may be generated. While a party is speaking that the CA may not revoice, one or more of the ASR systems 3720 may caption the party and display a transcription or summary to the CA so that the CA is updated on the conversation context.
In some embodiments, during the time when a CA is not revoicing or providing input to correct a transcription, the CA client software may give the CA alternate tasks to perform. For example, a group of one or more transcription units may provide multiple services such as:
One implementation of the last item (recording revoiced audio) may include the steps of:
The method of using revoiced audio from a CA to train models may be combined with CA accuracy testing or another quality assurance process, including methods for testing CAs described herein so that the same activity (e.g., the CA speaking) may serve multiple purposes. For example, the results (creating a voice sample and a transcription) from playing an audio sample to a CA may be used both for training models and for testing accuracy. When a CA is working on alternate tasks, a visual display related to the alternate task may obscure at least part of the captioning screen when active, then it may disappear when it is time for the CA to resume captioning.
Modifications, additions, or omissions may be made to the transcription unit 3714 without departing from the scope of the present disclosure. For example, the transcription unit 3714 may include a single speech enhancer 3702 that may provide audio to the audio interface 3718 and the ASR systems 3720e-g. Additionally or alternatively, the speech enhancers 3702 may be provided for the non-revoicing ASR systems but not for the revoicing ASR systems.
The audio may also be provided to ASR systems 3820b-d, which each may be configured to generate a transcription. The transcriptions may be provided to a first fuser 3824a and the second fuser 3824b, referred to collectively as the fusers 3824. The fusers 3824 may be configured to generate fused transcriptions based on the received transcriptions. In some embodiments, the output of the first fuser 3824a may be provided to the scorer 3816. In these and other embodiments, the output of the second fuser 3824b may be provided as the output transcription of the transcription unit 3814. Alternatively or additionally, the output of the text editor 3826 may be provided as the output transcription of the transcription unit 3814 and the transcription unit 3814 may not include the second fuser 3824b.
The transcription generated by the ASR system 3820a and the output of the first fuser 3824a may be compared by the scorer 3816. Since the fused transcription may contain errors, the scorer 3816 may use other features or provide a constant correction factor as discussed with respect to
In some embodiments, the output of the scorer 3816 may be provided as feedback 3802 to the CA. Additionally or alternatively, outputs of the scorer 3816 may be incorporated into reports, messages to CA management, and processes to improve transcription unit selection methods or methods to select between using revoiced or non-revoiced audio. Multiple types of reports and alerts may be generated. For example, a first report may be created to provide feedback to a CA for information and learning purposes and a second report may be created that may affect the CA's employment, compensation, or status. In these and other embodiments, the output of the scorer 3816 may be used for one or more of the examples listed in Table 13.
Modifications, additions, or omissions may be made to the transcription unit 3814 without departing from the scope of the present disclosure. For example, the transcription unit 3814 may not include the ASR systems 3820c and 3820d. In these and other embodiments, the first fuser 3824a may be omitted. The scorer 3816 may be configured, in this example, to compensate for errors committed by the ASR system 3820b in determining CA performance.
In some embodiments, the transcription generated by the transcription unit 3914b may be compared to the transcription generated by the transcription unit 3914a by the scorer 3916 to estimate accuracy of the transcription unit 3914a. Additionally or alternatively, the transcription generated by the transcription unit 3914b may be used to provide transcriptions to user devices in certain situations including:
In some embodiments, the transcriptions of the transcription units 3914b-d may be provided to modeling tools 3904. The modeling tools 3904 may be configured to train ASR models. In some embodiments, ASR models may be built or adapted in real-time (i.e., “on-the-fly”), meaning that ASR system models are trained on non-stored production data (e.g., communication session audio and/or generated transcriptions). Additionally or alternatively, ASR models may be built from pre-recorded data such as recorded transcriptions from transcription units 3914b-d.
As illustrated, the transcription unit 3914b may include a first audio interface 3918a, a first speaker-dependent ASR system 3920a, a second speaker-independent ASR system 3920b, a fuser 3024, a second audio interface 3918b, and a text editor 3926, which may receive input from a second CA different from the CA that provides the revoiced audio to the first audio interface 3918a. Alternatively or additionally, the transcription unit 3914b may include a third speaker-dependent ASR system 3920c that may include models based on the second CA. The first audio interface 3918a may obtain the audio, broadcast the audio to the first CA, and obtain revoiced audio. The first audio interface 3918a may provide the revoiced audio the first speaker-dependent ASR system 3920a that may generate a revoiced transcription of the revoiced audio and provide the revoiced transcription to the fuser 3924. The second speaker-independent ASR system 3920b may also provide a transcription to the fuser 3924 based on the audio. The transcription and the revoiced transcription may be fused by the fuser 3924 to create a first fused transcription.
In some embodiments, the second audio interface 3918b may be configured to provide the audio to the second CA. The text editor 3926 may be configured to present the fused transcription to the second CA and obtain edits to the fused transcription from the second CA. The second CA may use a keyboard, mouse, and other computer interface devices, including the third speaker-dependent ASR system 3920c configured to understand voice commands and/or transcribe revoiced audio. Fused transcriptions with corrections from the text editor 3926 may be denoted as higher-accuracy transcriptions.
In some embodiments, the audio provided by the second audio interface 3918b to the second CA may be delayed by a delay 3906 so that portions of the fused transcription are visible via the text editor 3926 approximately at the time the second audio interface 3918b broadcasts the corresponding audio.
In some embodiments, the delay 3906 may be configured to speed up or slow down speech that is sent to the second audio interface 3918b, depending on where edits are being performed on the fused transcription in the text editor 3926. For example, when a word or phrase is selected for editing and/or when editing starts generally, the delay 3906 may be adjusted such that the second audio interface 3918b plays audio corresponding to the word or phrase. In some embodiments, the second audio interface 3918b may rewind audio. In these and other embodiments, audio may subsequently be sped up by the delay 3906 to compensate for the lost time. In some embodiments, the second audio interface 3918b may rewind audio based on inputs from the second CA using a voice command, click or key press, knob, or foot pedal, among other inputs.
In some embodiments, the delay 3906 may be configured to change a speech rate in the audio by changing the duration of silence segments between speech segments. In some embodiments, silence segments may be located using energy-based voice activity detection. Additionally or alternatively, silence segments may be located using an ASR system that identifies and reports word endpoints (the time of onset and offset) as the ASR system reports the words recognized.
The transcription unit 3914a may be configured to provide a hypothesis transcription to the scorer 3916. In some embodiments, the scorer 3916 may compare the hypothesis transcription to the output of the transcription unit 3914b to generate an accuracy estimate. The estimate may be used, for example to give the CA feedback or to benchmark average performance of the transcription unit 3914a.
In some embodiments, the transcription units 3914b-d may be used to provide transcriptions to modeling tools 3904. The modeling tools 3904 may generate language models, acoustic models, pronunciation models, and other types of ASR and machine learning models used in captioning.
The transcription unit 3914b may also be used to provide transcriptions to user devices for presentation to subscribers. For example, suppose an accuracy estimator determines that a revoicing transcription unit associated with a first CA is struggling to transcribe speech that is, for example, fast, difficult, or accented. One solution is to transfer the communication session to a different transcription unit that is associated with a second CA with more appropriate skills. Another option is to use the transcription unit 3914b configuration. The transcription unit 3914b configuration may use the first CA and a second CA to correct the text. Another option is to transfer the communication session to a transcription unit configured as the transcription unit 3914b that is associated with new CAs that interface with the transcription unit as illustrated.
Modifications, additions, or omissions may be made to the environment 3900 without departing from the scope of the present disclosure. For example, the environment 3900 may include more transcription units or fewer transcription units than illustrated.
In some embodiments, the multiple input ASR system 4002 may compare acoustic evidence from the revoiced audio with the received audio and in generating a transcription, may consider factors such as estimated non-revoiced ASR performance with respect to the audio, estimated revoiced ASR performance with respect to the audio, and indicators that the revoiced audio is silent when the audio includes words and/or a CA generating the revoiced audio may be distracted as the CA is making corrections to the transcription.
Although
In some embodiments, the multiple input ASR system 4002 may be configured to receive input from the audio interfaces 4018 and from the regular audio. The multiple input ASR system 4002 may include feature extractors 4004a and 4004b, collectively the feature extractors 4004, for extracting features from the revoiced audio and regular audio, respectively.
The outputs of the feature extractors 4004 may be communicated to the joint processor 4010. The joint processor 4010 may include components of an ASR system as described above with reference to
In some embodiments, the multiple input ASR system 4002 may be provided with an audio delay 4006. The audio delay may be configured to compensate for the revoiced audio and the regular audio arriving at the multiple input ASR system 4002 at different times. The audio delay 4006 may add a delay into one or both of the processing paths of the revoiced and regular audio to better synchronize the revoiced and regular audio. In some embodiments, the audio delay 4006 may be variable, responding to the relative latency between the two paths of the revoiced and regular audio. Alternatively or additionally, the audio delay 4006 may be fixed, such as based on the average relative latency.
Modifications, additions, or omissions may be made to the environment 4000 without departing from the scope of the present disclosure. For example, the audio delay 4006 is illustrated placed in the regular audio path before the feature extractors 4004, however, the audio delay 4006 may alternatively be placed after the feature extractors 4004. Alternatively or additionally, each audio input may include an audio delay in the audio or feature extraction path/output. In another example, the feature extractors 4004 are illustrated as separate from each other, one per audio input, but they may be combined into a single feature extractor with multiple audio inputs.
The delay between the received audio and the revoiced audio may be compensated for by delaying the audio. Alternatively or additionally, the revoiced audio and the regular audio may be provided to another ASR system(s). In these and other embodiments, after features are extracted from the revoiced audio and the regular audio, the features may be delayed to align the transcriptions. Alternatively or additionally, the delay may be compensated for in other portions of the flow of an ASR system. In these and other embodiments, the ASR systems 4120 may be configured to operate in a reduced mode or less effectively than a subsequent ASR system as the ASR systems 4120 may be used to determine the delay between the regular audio and the revoiced audio. In these and other embodiments, the ASR system 4120 may provide other information, such as grammars, accuracy information, or other information to another ASR system that may generate a transcription that may be sent to a user device.
In some embodiments, the transcription generated by the ASR system 4120b may be used to provide a grammar input including, for example, a single phrase, to the ASR system 4120a so that the ASR system 4120a creates substantially the same transcription as the ASR system 4120b but with different endpoints. Additionally or alternatively, the grammar input to the ASR system 4120a from the ASR system 4120b may include an n-best list, WCN, lattice, word graph, or other format that allows the ASR system 4120a to select from among multiple options. In some embodiments and for reduced latency, the transcription output of the ASR system 4120b may be used to provide a grammar input to the ASR system 4120a.
Additionally or alternatively, the output of the ASR systems 4120 may be used to generate features for selectors, estimators, and classifiers. The text output of ASR systems 4120 may be compared to each other and/or to other ASR systems to determine agreement rates, which may serve as features, as described with reference to
Modifications, additions, or omissions may be made to the environment 4100 without departing from the scope of the present disclosure. For example, the regular audio and the revoiced audio may be provided to a multiple input ASR system, such as the multiple input ASR system 4002 of
The audio interface 4218 may provide revoiced audio based on the audio to the second ASR system 4220b. The second ASR system 4220b may use the second language model LM2 to transcribe the revoiced audio to generate a second transcription. The second ASR system 4220b may further use a third generic language model LM3 to create the second transcription.
In some embodiments, the second LM2 and third LM3 language models may be used by the second ASR system 4220b, for example, to: (a) interpolate both the second LM2 and third LM3 language models into an interpolated language model, (b) interpolate the second LM2 and third LM3 language models at runtime, or (c) to combine the second LM2 and third LM3 language models in a hierarchal language model configuration. Additionally or alternatively, the second transcription may be edited by a text editor 4226 and then sent to a user device.
In some embodiments, the first and second transcriptions may be aligned and fused by a fuser 4224 to create a fused transcription, edited by the text editor 4226, and sent to a user device. The first transcription may be delayed by an audio delay 4204 to account for latency incurred by the audio interface 4218 and the second ASR system 4220b so that the first and second transcriptions arrive at the fuser 4224 more closely aligned.
In some embodiments, the first ASR system 4220a may add new elements to the multiple hypotheses output over time as the first ASR system 4220a receives and decodes new audio. For example, as the first ASR system 4220a decodes new audio, the first ASR system 4220a may add new arcs to the lattice or word graph representation of the multiple hypotheses. In some embodiments, the first ASR system 4220a may add new elements to the multiple hypotheses in time periods that overlap with the second ASR system 4220b decoding the revoiced audio using the previous hypotheses. In some embodiments, new elements that the first ASR system 4220a adds to the multiple hypotheses may be added or appended to the second language model in real time. In these and other embodiments, the second ASR system 4220b may consider the new elements as possibilities in constructing the second transcription. Sufficient delay may be inserted in the path from audio through generating the transcription by the second ASR system 4220b to give the second ASR system 4220b time to receive and incorporate the updated second language model by the time the corresponding revoiced audio arrives.
An example implementation of the environment 4200 is now provided. The first ASR system 4220a may use a first language model to transcribe communication session audio into a first transcription and a multiple hypotheses output, such as in the form of a lattice. The LM converter 4202 may convert the multiple hypotheses output to a second language model. In some embodiments, if there is a preexisting second language model, elements of the multiple hypotheses may be combined with the second language model to modify the second language model. Additionally or alternatively, if there is a pre-existing second language model, it may be replaced with an updated language model.
In these and other embodiments, an audio interface 4218 may provide revoiced audio based on the audio to the second ASR system 4220b. The second ASR system 4220b may use the second language model to transcribe the revoiced audio to generate the second transcription. In some embodiments, the second ASR system 4220b may further use a third language model to generate the second transcription. The second transcription may be sent to a user device for display. In a variation on this step, the first and second transcriptions may be fused, then sent to the user device for display. Modifications, additions, or omissions may be made to the environment 4200 without departing from the scope of the present disclosure.
The method 4300 may begin at block 4302, where first audio data originating at a first device during a communication session between the first device and a second device may be obtained. In some embodiments, the communication session may be configured for verbal communication such that the first audio data includes speech.
At block 4304, a first text string that is a transcription of the first audio data may be obtained. In some embodiments, the first text string may be generated by a first automatic speech recognition engine using the first audio data and using a first model trained for multiple individuals. In these and other embodiments, the first model may include one or more of the following: a feature model, a transform model, an acoustic model, a language model, and a pronunciation model.
At block 4306, a second text string that is a transcription of second audio data may be obtained. In some embodiments, the second audio data may include a revoicing of the first audio data by a captioning assistant. In these and other embodiments, the second text string may be generated by a second automatic speech recognition engine using the second audio data and using a second model trained for the captioning assistant.
At block 4308, an output text string from the first text string and the second text string may be generated. In some embodiments, the output text string may include one or more first words from the first text string and one or more second words from the second text string. In some embodiments, generating the output text string may further include denormalizing the first text string and the second text string, aligning the first text string and the second text string, and comparing the aligned and denormalized first and second text strings.
In some embodiments, generating the output text string may further include selecting the one or more second words based on the first text string and the second text string both including the one or more second words and selecting the one or more first words from the first text string based on the second text string not including the one or more first words.
At block 4310 the output text string may be provided as a transcription of the speech to the second device for presentation during the communication session concurrently with the presentation of the first audio data by the second device.
Modifications, additions, or omissions may be made to the method 4300 without departing from the scope of the present disclosure. For example, the operations of method 4300 may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations and actions are only provided as examples, and some of the operations and actions may be optional, combined into fewer operations and actions, or expanded into additional operations and actions without detracting from the essence of the disclosed embodiments.
For example, in some embodiments, the method 4300 may include correcting at least one word in one or more of: the output text string, the first text string, and the second text string based on input obtained from a device associated with the captioning assistant. In these and other embodiments, the input obtained from the device may be based on a third text string generated by the first automatic speech recognition engine using the first audio data. In some embodiments, the first text string and the third text string may both be hypothesis generated by the first automatic speech recognition engine for the same portion of the first audio data.
In some embodiments, the method 4300 may further include obtaining a third text string that is a transcription of the first audio data or the second audio data. In these and other embodiments, the third text string may be generated by a third automatic speech recognition engine using a third model. In these and other embodiments, the output text string may be generated from the first text string, the second text string, and the third text string.
In some embodiments, the third text string may be a transcription of the first audio data. In these and other embodiments, the method 4300 may further include obtaining a fourth text string that is a transcription of the second audio data. In these and other embodiments, the fourth text string may be generated by a fourth automatic speech recognition engine using the second audio data and using a fourth model. In these and other embodiments, the output text string may be generated from the first text string, the second text string, the third text string, and the fourth text string.
In some embodiments, the method 4300 may further include obtaining third audio data that includes speech and that originates at the first device during the communication session and obtaining a third text string that is a transcription of the third audio data. In these and other embodiments, the third text string may be generated by the first automatic speech recognition engine using the third audio data and using the first model. The method 4300 may further include in response to either no revoicing of the third audio data or a fourth transcription generated using the second automatic speech recognition engine having a quality measure below a quality threshold, generating an output text string using only the third text string.
In some embodiments, the accuracy of transcriptions generated by transcription units may be measured. For example, the accuracy of transcriptions generated by a single revoiced transcription unit, a non-revoiced transcription unit, or a group of transcription units may be measured. Alternatively or additionally, the accuracy may be measured for benchmarking accuracy of one or more transcription units. In these and other embodiments, the accuracy of transcriptions may be measured in real-time production of the transcriptions without relying on recording, saving or offline transcription of audio.
In some embodiments, the output of the environment 4400 may include a total number of errors for a transcription, percentage of words that are errors, a count of each error type, a total number of words in a reference transcription, a total number of words in a non-reference transcription, a total number of words in a reference and non-reference transcription, an error rate, an accuracy percentage, a performance metric including one or more measurements such as ASR system accuracy, estimated transcription difficulty of the audio sample, or another performance metric such as capitalization accuracy and/or punctuation accuracy. The accuracy estimate, error output, or other performance metrics may be used to provide feedback to a CA, generate reports, and/or to benchmark average ASR system performance. Additionally or alternatively, the output of the environment may also be used, alone or in combination with one or more selectors, estimators, and classifiers, to generate a decision regarding selecting between transcription units, such as selecting between a revoiced or non-revoiced transcription unit. In these and other embodiments, a revoiced transcription unit may include one or more ASR systems that may use revoiced audio to generate a transcription. In these and other embodiments, the revoiced transcription unit may also include one or more ASR systems that may use regular audio to generate a transcription. In contrast, a non-revoiced transcription unit may not include any ASR systems that use revoiced audio to generate a transcription.
An ASR system 4420 may generate a transcription based on audio and provide the transcription to a scorer 4402. The transcription unit 4414 may generate a transcription based on revoicing of the audio and provide the transcription to scorer 4402. The scorer 4402 may also obtain the audio.
In some embodiments, the scorer 4402 may be configured to determine the accuracy of the transcriptions. The scorer 4402 may be configured to present the transcriptions to a first judge 4404a and a second judge 4404b, collectively, the judges 4404. The judges 4404 may be humans. The scorer 4402 may provide a graphical user interface configured to receive input from one or more of the judges 4404. Based on the input from the judges 4404, the scorer 4402 may determine a number of errors detected for each transcription.
In some embodiments, the judges 4404 may listen to the audio and review the transcriptions to identify errors. The judges may provide the identified errors to the scorer 4402. In these and other embodiments, each of the judges 4404 may review and score at least a portion of the various transcriptions.
In some embodiments, the scorer 4402 may be configured to provide an interface for the judges 4404 to transcribe at least part of the audio sample to create a reference transcription. In these and other embodiments, the scorer 4402 may be configured to allow the judge 4404 to rewind, skip, skip silence portions, jump to determined points in the audio, such as a point corresponding to a selected point in a draft transcription or a point in a displayed waveform indicated by a judge, slow down, speed up, fast forward, or replay portions of the audio in the transcription process.
In some embodiments, in response to a reference transcription being created, an automated scoring process, such as one or more of the systems described below with reference to
In some embodiments, the judges 4404 may listen to at least part of the audio and provide input with respect to errors in at least part of the transcriptions from the transcription unit 4414 and/or the ASR system 4420. For example, the judges 4404 may score substantially all of the transcriptions from the transcription unit 4414 and/or the ASR system 4420. Alternatively or additionally, the judges 4404 may score part of the transcriptions and leave another part of the transcriptions unscored.
In some embodiments, the scorer 4402 may provide an indication of the errors to an error counter 4406. The error counter 4406 may use the errors to determine an output of the environment 4400, such as one of the performance metrics discussed above.
In some embodiments, a selected time after the end of a communication session that is providing the audio, the audio and transcriptions of the audio may be deleted and scoring may be discontinued. In these and other embodiments, accuracy results of the transcription may be stored. In some embodiments, accuracy results may include the results of scoring one or more portions of the audio of the communication session and may exclude other portions of the audio.
In some embodiments, the scorer 4402 may not determine an accuracy of the transcription from the ASR system 4420. In these and other embodiments, the scorer 4402 may be configured to align the transcriptions from the ASR system 4420 and the transcription unit 4414. The scorer 4402 may use the transcription from the ASR system 4420 as a reference transcription that is compared to the transcription from the transcription unit 4414. The differences may be considered potential errors of the transcription from the transcription unit 4414 and may be flagged and presented to the judges 4404.
In these and other embodiments, the judges 4404 may mark or confirm errors by clicking on flagged errors. The judges 4404 may also select other errors, such as incorrect, inserted, or deleted words in the transcription. In these and other embodiments, the judges 4404 may rewind audio as needed to review the audio to confirm errors. Alternatively, judges 4404 may use voice commands, keyboards, or other forms of computer input to interact with the audio and/or transcriptions.
In some embodiments, the error counter 4406 may be configured to count errors marked or confirmed by the judges 4404. In these and other embodiments, the error counter 4406 may count all errors together or it may count errors separately. For example, the error counter 4406 may separately count deletion, insertion, and substitution errors. In some embodiments, following the termination of a communication session providing the audio or after a selected amount of time (a few seconds to a few minutes) after termination of the communication session, the scorer 4402 may delete all audio and/or text to protect the privacy of the participants in the communication session.
In some embodiments, the scorer 4402 and the judges 4404 may access a CA interface through a CA client of the transcription unit 4414 to obtain information for scoring. For example, a scoring GUI may use a remote desktop to connect to a CA client and allow a judge to listen to audio and/or the revoiced audio, view the screen being viewed by a CA, read the transcriptions generated by the speaker-dependent ASR system of the transcription unit 4414, and view edits provided by the CA. In these and other embodiments, the scoring GUI may also provide an interface for the judges 4404 to score the transcription.
Modifications, additions, or omissions may be made to the environment 4400 without departing from the scope of the present disclosure. For example, the environment 4400 may include denormalizers that may be configured to denormalize the transcriptions before the transcriptions are provided to the scorer 4402. Alternatively or additionally, the environment 4400 may not include the ASR system 4420. Alternatively or additionally, the environment 4400 may include one judge or more than two judges.
In some embodiments, an audio interface 4518 may obtain audio and a revoicing of the audio from a CA. The audio interface 4518 may provide the revoiced audio to a speaker-dependent ASR system 4520 that may generate a transcription of the revoiced audio. In these and other embodiments, a text editor 4526 may obtain input from the CA and apply edits to the transcription. The edited transcription may be denormalized by a denormalizer 4503 and provided to a comparer 4504. The transcription may be referred to as a monitored transcription.
In some embodiments, an accuracy monitor 4502 may be provided and may include the denormalizer 4503, the comparer 4504, a counter 4506, a fuser 4524, an accuracy estimator 4508, a set 4510 of ASR systems, and a denormalizer 4512. Audio may also be received at the accuracy monitor 4502. Each of the ASR systems of the set 4510 may generate a transcription. Each of the transcriptions may be provided to the fuser 4524 for combination of the transcriptions to generate a fused transcription. The fused transcription may be denormalized by the denormalizer 4512 and the denormalized fused transcription, referred to as the reference transcription, may be provided to the comparer 4504.
In some embodiments, the comparer 4504 may be configured to compare the monitored transcription with the reference transcription. In these and other embodiments, the comparer 4504 may compare the monitored transcription with the reference transcription by determining an edit distance or Levenshtein distance there between. In some embodiments, the comparison process by the comparer 4504 may be implemented as follows: (1) the comparer 4504 may align the monitored transcription and the reference transcription; (2) the comparer 4504 may compare each aligned pair of tokens from the monitored transcription and the reference transcription. The pair of tokens may include a first token from the monitored transcription and a second token from the reference transcription; (3) the comparer 4504 may provide an indication, such as a match or no match with respect to each aligned pair of tokens, to the counter 4506. For example, the comparer 4504 may output a zero when a pair of tokens match and a one if there is no match between a pair of tokens; and (4) the number of differences are counted or averaged by the counter 4506 to determine an average disagreement rate, edit distance, and/or Levenshtein distance.
In some embodiments, the disagreement rate as determined by the counter 4506 may be used to estimate accuracy of the ASR system 4520 or, as illustrated, it may be combined with other features (see Table 2 and Table 5) by an accuracy estimator 4508 to estimate accuracy of the ASR system 4520. In these and other embodiments, the accuracy monitor 4502 may be configured to apply the same features to measuring agreement rates when the monitored transcription is generated using revoiced or non-revoiced audio. In some embodiments, a report may be generated that includes the output of the accuracy estimator 4508. For example, the report may be generated after each communication session, daily, weekly, etc.
The report, including the estimated accuracy of the revoiced ASR system 4520 generated by the accuracy monitor 4502, may be used for one or more of multiple purposes, including:
Modifications, additions, or omissions may be made to the environment 4500 without departing from the scope of the present disclosure. For example, the environment 4500 may not include the denormalizer 4512 when the fuser 4524 includes denormalizing capability. Alternatively or additionally, the set 4510 of ASR systems may be a single ASR system. In these and other embodiments, the set 4510 of ASR systems may not include the fuser 4524.
In some embodiments, the accuracy monitor 4502 may be configured with an adder on the output of the counter 4506 or that is part of the counter 4506. In these and other embodiments, the accuracy estimator 4508 may be configured to determine a correction factor to be added by the adder to the disagreement rate provided by the counter 4506. The correction factor may be used, for example, to refine the ASR accuracy estimate or to compensate for ASR and other errors in the accuracy monitor 4502.
As with other estimators described herein, the accuracy estimator 4508 may use input features such as a quality, accuracy, or a confidence measure reported by the ASR systems, historical revoicing and non-revoicing transcription accuracy, agreement rates between ASR systems, and other features described in Table 2 and Table 5. The accuracy estimator 4508 may also use methods such as DNNs, weighted sums, and other methods from Table 9. Additionally or alternatively, the accuracy estimator 4508 may also be very simple and just apply a constant correction factor to the disagreement rate.
The higher-accuracy transcription may be used in multiple ways including those enumerated in Table 12 and 13 and below in Table 14.
A transcription unit 4614 may also be configured obtain the audio and to generate a transcription. The transcription unit 4614 may be a revoiced or non-revoiced transcription unit. Alternatively or additionally, the transcription unit 4614 may be configured in any manner described in this disclosure.
In some embodiments, the fused transcription from the fuser 4624 and the transcription from the transcription unit 4614 may be provided to a scorer 4604. The scorer 4604 may align and determine an estimated accuracy of the transcription from the transcription unit 4614. In some embodiments, the scorer determines an estimated accuracy based on an agreement rate between the two input transcriptions. The scorer 4604 may output the estimated accuracy to a multivariate estimator 4602. The multivariate estimator 4602 may include a neural network, linear estimator, or another form of estimator configured to use multiple inputs. The multivariate estimator 4602 may be configured to use estimation features 4608, such as those in Table 2 and Table 5, to refine the estimation accuracy from the scorer 4604. For example, the multivariate estimator 4602 may adjust the estimation accuracy based on estimation features associated with the transcription unit 4614, the transcription units 4616, and fuser 4624. For example, based on an accuracy of the fused transcription in the estimation features, the estimation accuracy of the transcription may be adjusted.
In some embodiments, the multivariate estimator 4602 may use an estimation model. The estimation model may be trained using, for example, one or more of the methods in Table 9. In some embodiments, an estimation model may be trained. For example, audio samples and values for features from Table 2 and Table 5 associated with the audio samples may be obtained. An error rate of a transcription unit, such as the transcription unit 4614, for each audio sample may be obtained. For each audio sample, values for features from Table 2 and Table 5 may be provided to a machine learning algorithm with the error rate associated with the sample, such that a model may be generated that is designed to estimate the error rate from the features. In these and other embodiments, the features of the transcription unit 4614 may be provided to the multivariate estimator 4602. The multivariate estimator 4602 may use the model to determine an estimated error rate based on an error rate of one or more transcription units, such as transcription units 4614a-c, features from fuser 4624, features of the transcription unit 4614, the estimated accuracy from the scorer 4604, and one or more other features such as features from Table 2 and Table 5.
Modifications, additions, or omissions may be made to the environment 4600 without departing from the scope of the present disclosure. For example, although three transcription units are illustrated in the transcription units 4616, in some embodiments more or less than three transcription units may be used in the group of transcription units 4616. In some embodiments, one transcription unit may be used. In these and other embodiments, the fuser 4624 may not be used. Alternatively or additionally, the transcription provided to the scorer 4604 from the transcription unit 4614 may be a fused transcription based on transcriptions from multiple transcription units. In these and other embodiments, the multiple transcription units may be the same, different, or some combination of the same and different transcription units in any configuration of transcription units as discussed in this disclosure.
A reference transcription may be also be generated. A transcription unit 4730 may obtain the audio and generate a reference transcription during a document creation stage 4720. The transcription unit 4730 may be a revoiced or non-revoiced transcription unit or include any other configuration of transcription units as described in this disclosure. The reference transcription may also be edited during two editing stages 4722a and 4722b, collectively the editing stages 4722. Each editing stage 4722 may include a text editor 4742 that may be used by a CA to correct errors in the reference transcription. Although two editing stages 4722 are shown; however, there may be more or less, depending on a desired accuracy of the reference transcription. Each editing stage 4722 in this configuration may be considered to be working in series, as each editing stage 4722 may use the output of a previous editing stage 4722. Thus, each editing stage 4722 may obtain the reference document as edited by a previous editing stage and may make further corrections.
In some embodiments, each of the editing stages 4722 may include an audio interface 4744 and a text editor 4742. In these and other embodiments, the audio may be provided by the audio interface 4744 to a CA. The CA may also view the reference transcription on the text editor 4742 and provide input to the text editor 4742 to edit the reference transcription.
In some embodiments, audio delays 4740 may be provided as part of each stage of generating the reference transcription to delay the audio provided to each subsequent stage. The audio may be delayed between subsequent stages of editing the transcription so that the audio presented by the audio interface 4744 may be more closely synchronized to the portion of text being displayed for and/or edited by a CA through the text editor 4742. The delay time may be constant or variable and may be responsive to endpoints and text from a previous stage.
Methods for determining delay time are described above at least with reference to
In some embodiments, the reference and hypothesis transcriptions may be denormalized using denormalizers 4702a and 4702b, respectively. The denormalized reference and hypothesis transcriptions may be provided to a scorer 4704. The scorer 4704 may generate results by comparing the denormalized reference and hypothesis transcriptions. The results of the scorer 4704 may include the error rate of the transcription unit 4714 and details regarding how the score was calculated. For example, the details may include the aligned transcriptions in the form of an error map. A viewer/editor 4708 may enable a quality assurance agent to listen to the audio as provided by an audio interface 4744c and verify the score. The quality assurance agent may review, edit, approve, or discard the results of the scorer 4704. A final score generator 4712 may format or analyze results from the viewer/editor 4708 to determine real time accuracy of the transcription unit 4714.
In some embodiments, the reference transcription in any one of the document creation stage 4720 and the editing stages 4722, may be provided to a user device or in a method to determine corrections of a transcription provided to a user device where the corrections are provided to the user device.
After audio has been scored, the audio may be deleted. In some embodiments, if the audio terminates before scoring is completed, the audio may be deleted and further work on scoring may end. An accuracy figure representing scored portions of the audio may be reported. Additionally or alternatively, audio may be preserved until scoring is complete or until transcriptions are delivered to a user device.
The accuracy and validity of an accuracy estimate based on the environment 4700 may be verified using a corpus of recorded audio with verified transcriptions. Audio from the corpus may be presented to the environment 4700 and scored as if the corpus were being received in real time to generate real time accuracy of the hypothesis transcription of the audio. The reference transcriptions may also be compared to the verified transcriptions of the corpus to generate a first comparison.
In these and other embodiments, a second comparison may also be generated. To generate the second comparison the recorded audio of the corpus may be transcribed using the transcription unit 4714 to create corpus hypothesis transcriptions. The corpus hypothesis transcriptions may then be compared with verified transcriptions to determine a verified accuracy of the transcription unit 4714. The verified accuracy may then be compared to the real time accuracy determined using the environment 4700 to generate a second comparison. The first and second comparisons may be used to verify the integrity of the environment 4700. Thereafter, the specific configuration of the transcription unit 4714 may be confidently used to score live communication session audio in real-time.
In some embodiments, the final score generator 4712 may be configured to correct the accuracy estimates using estimators, such as the accuracy estimator and multivariate estimator in
Modifications, additions, or omissions may be made to the environment 4700 without departing from the scope of the present disclosure. For example, in some embodiments, the environment 4700 may not include the transcription unit 4730. In these and other embodiments, the CA associated with the audio interface 4744a may type the transcription from the audio, rather than starting from the reference transcription from the transcription unit 4730.
As another example, the environment 4700 may be configured to allow for parallel editing of a reference transcription, as opposed to the serial editing process. In these and other embodiments, the audio interfaces 4744 and the text editors 4742 may present the audio and reference transcription to multiple CAs in parallel, such as in overlapping time periods. In these and other embodiments, the text editors 4742 may allow for multiple CAs to simultaneously edit or edit in overlapping time periods the reference transcription to correct errors in the reference transcription.
In some embodiments, the audio interfaces 4744 may provide mechanisms for CA to rewind, forward, speed up, or slow down audio. The segments of audio may be played to the CA automatically based on signals from the text editors 4742. For example, the selection of a segment of audio to be played to a CA may be responsive to the segment of text for which the text editors 4742 may be receiving edits from the CA.
In some embodiments, each CA may be assigned a section of audio and the corresponding portion of the reference transcription to correct. Additionally or alternatively, the CAs may take turns editing the same segment of the reference transcription.
As another example, the environment 4700 may not include the transcription unit 4730. In these and other embodiments, the text editors 4742 may serve as an error labeling tool to enable the CAs to read the hypothesis transcription, listen to the corresponding audio, and mark and/or count errors. In these and other embodiments, the text editors 4742 may count errors using input from the CAs. Alternatively or additionally, the text editors 4742 may be configured to present one or more of: (1) the reference transcription, (2) the hypothesis transcription, (3) marks and scores from other CAs, and (4) automatically marked errors displayed as, for example, an aligned error map, each in a normalized and/or denormalized form.
Environments for determining accuracy and/or scoring of transcription units as described with reference to
In some embodiments, the environment 4700 may be configured to delete audio when the audio is complete, such as when the audio is from a communication session and the communication session ends or when transcriptions are completed and delivered, in response to laws, regulations, and other policies which may prohibit the archival of such audio.
In some embodiments, the delay time may be determined by the audio delay 4800 from endpoints obtained from an ASR system. In some embodiments, the audio delay 4800 may obtain endpoints. Alternatively or additionally, the audio delay 4800 may generate endpoints from audio and text. As described above, at least with reference to
In some embodiments, the audio delay 4800 may include an ASR system 4820. In these and other embodiments, the ASR system 4820 may obtain audio and a transcription of the audio. Using the audio and the transcription of the audio, the ASR system 4820 may be configured to determine a set of endpoints that correspond to the best alignment between the text and the audio. In these and other embodiments, the ASR system 4820 may obtain both the transcription and the audio. The ASR system 4820 may recognize both the audio and the transcription as an ASR constraint. For example, the text may be used to create a grammar or language model for the ASR system 4820. Using both the audio and the transcription, the ASR system 4820 may determine the locations in the audio that correspond with words in the transcription and thus may determine a set of endpoints that correspond to the best alignment between the transcription and the audio. The endpoints may be transmitted to the audio buffer 4802. The audio buffer 4802, in some embodiments, may be configured to determine a delay time setting based on the endpoints, for example by subtracting the average time that words in a transcription are generated from the average time the words appear in the input audio. Modifications, additions, or omissions may be made to the audio delay 4800 without departing from the scope of the present disclosure.
In some embodiments, a first user device 5352 may establish a communication session with a second user device 5350. The first user device 5352 may obtain communication session audio and may transmit the communication session audio to a transcription service 5312 which may use any of the transcribing configurations described herein to generate a transcription of the communication session audio. The transcription service 5312 may provide the transcription to the first user device 5352 for display. In some embodiments, the transcription may be displayed on the first user device 5352 or the auxiliary pad 5308. In some embodiments, the auxiliary pad 5308 and signal interceptor 5304 may be computers such as smartphones, desktop, notebook, laptop, embedded, or tablet computers, or computers incorporated into other household appliances including, but not limited to, a TV, a voice-controlled speaker or smart home speaker, a refrigerator, a car dashboard display, a network router, a wall display or another display in another location.
Signals in the transcription monitor 5302, including communication session audio, transcriptions and other information provided on the user device, signals from input of a user, communication session status information, information on selections and other action taken by the user, such as turning captioning on or off, and Internet or network traffic to and from the first user device 5352 may be captured by the signal interceptor 5304 and transmitted to an accuracy measurement service 5316.
For example, in some embodiments, the signal interceptor 5304 may be configured to capture communication session audio from one or both devices in the communication session. For example, the first user device 5352 and the communication network 5314 may connect to the signal interceptor 5304, which may provide a path between the first user device 5352 and the communication network 5314. In these and other embodiments, the signal interceptor 5304 may capture audio passing therethrough and may transmit captured audio to an accuracy measurement service 5316. Additionally or alternatively, the signal interceptor 5304 may include XLR input and output jacks connected together through the signal interceptor 5304 with a tap in the communication line so that the signal interceptor 5304 may extract a copy of one or more audio signals on the communication line. Alternatively or additionally, the signal interceptor 5304 may use an echo canceler or other source separation method to eliminate any crosstalk and separate audio from the second user device 5350 so that audio originating at the first user device 5352 appears on a first channel and audio originating at the second user device 5350 appears on a second channel. The signal interceptor 5304 may transmit the audio on the second channel to the accuracy measurement service 5316.
The arrangement of the signal interceptor 5304 shown here, where communication session audio passes through the signal interceptor 5304, is illustrative only, and other configurations are contemplated. In one example, the first user device 5352 may transmit communication session audio to the signal interceptor 5304 using a separate connection such as via a LAN (local area network), WiFi, Bluetooth, or a separate wired connector. Alternately or additionally, the signal interceptor 5304 may tap into the communication line using a “T” connection or inline audio interface such as a telephone audio tap so that the communication signal may be copied to, but not pass through, the signal interceptor 5304. In another example, the signal interceptor 5304 instead of sitting in-line through the communication line as illustrated, may sit in-line through a handset cord of the first user device 5352, passing audio signals in both directions and capturing audio from one or both parties. An example of a telephone audio tap may include a device that is inserted in-line in a handset cord or a phone line cord using two telephone connectors that completes the circuit between the two connectors so that telephone operation is unaffected by the insertion. The telephone audio tap may send a copy of audio from one or both ends of the conversation to another device such as the signal interceptor 5304.
In some embodiments, the signal interceptor 5304 may capture Internet or network traffic passing to or from the first user device 5352. The captured network traffic may include messages, audio, and transcriptions to and from the transcription service 5312. Network traffic may be captured, as shown, by passing through the signal interceptor 5304; however other arrangements are contemplated. For example, the signal interceptor 5304 and the first user device 5352 may connect to a network 5301, such as by connecting into the same router. In these and other embodiments, the router may transmit a copy of network traffic passing between the first user device 5352 and the transcription service 5312 to the accuracy measurement service 5316. Alternately or additionally, the first user device 5352 may transmit information, such as at least some of the information contained in the network traffic, to the signal interceptor 5304. Alternately or additionally, signals used by the accuracy measurement service 5316 to measure accuracy may be obtained by other mechanisms. For example, accuracy measurement service 5316 may obtain audio from a connection to the first user device 5352 via a microphone and obtain transcriptions from the camera 5306.
In some embodiments, the signal interceptor 5304 may capture video from the camera 5306 and transmit the video to the accuracy measurement service 5316. In these and other embodiments, the camera 5306 may be configured to view the first user device 5352 display so that video of transcriptions appearing on the display is transmitted to the accuracy measurement service 5316. The camera 5306 may capture other displayed information such as the identity or ID number of the CA that may be assisting with the transcription being displayed, whether the transcription is being performed by a revoicing or non-revoicing transcription unit, communication session status, identifications of the second user device 5350, and other information that may appear on a display of the first user device 5352. Additionally or alternatively, the signal interceptor 5304 may be configured with OCR (optical character recognition) to convert video transcriptions and other displayed information to text and may transmit displayed information as text or other messages to the accuracy measurement service 5316. Alternatively or additionally, the camera 5306 may be further configured to view one or more of: controls of the first user device 5352 such as buttons, switches, and dials; other devices connected to the first user device 5352, and a user of the first user device 5352. For example, in some embodiments, the transcription monitor 5302 may use a signal from the camera 5306 watching the user's eyes to determine, for example, where the user is looking, the identity and other visual characteristics of the user, when the user is watching transcriptions on the first user device 5352, and when the user is watching transcriptions on a display of an auxiliary pad 5308 or other display.
In some embodiments, the camera 5306 may include mounting hardware to hold the camera 5306 in a position capable of viewing the display of the first user device 5352. In these and other embodiments, the mounting hardware may connect the camera 5306 to the first user device 5352. For example, the camera 5306 may be mounted on the edge or side of the first user device 5352 and may view the screen from the top, side, or bottom. If the camera 5306 view is at an angle such that the screen image is distorted, an image correction filter may be used to compensate for the angle and convert the screen image into a rectangular shape or another format more easily read by or compatible with OCR mechanisms. An image correction filter may also be used to remove glare or reflections from the screen. The camera 5306 may include an indicator light to indicate when the camera is active.
In some embodiments, the camera 5306 may, for example, be built into the signal interceptor 5304, first user device 5352, or auxiliary pad 5308 or it may connect to the signal interceptor 5304 via a wired connection, a connection through the first user device 5352, a connection through the auxiliary pad 5308, a wireless connection such as Wi-Fi, Bluetooth or cellular, or a network connection such as a LAN connection through a router.
In some embodiments, the transcription monitor 5302 may also be configured to provide transcriptions, which may be generated by the accuracy measurement service 5316, based on the communication session audio. The transcriptions may be displayed on the auxiliary pad 5308. Additionally or alternatively, the transcriptions may be displayed on the first user device 5352. These transcriptions may be in addition to transcriptions provided by the transcription service 5312.
Additionally or alternatively, the transcription monitor 5302 may be configured to record communication session data including communication session audio, transcriptions such as transcriptions from the transcription service 5312 of the communication session audio, and record other communication session data such as IM or text messages sent between the first user device 5352 and the second user device 5350.
Alternatively or additionally, the communication session data captured by the transcription monitor 5302 may include: audio, text, transcriptions, punctuation, capitalization, communication session log information such as phone numbers, a model built using content (e.g., “on-the-fly” in case consent is declined), and statistics such as n-grams derived from communication session data. In some embodiments, the communication session data may be used to train models, such as ASR models, confidence models, capitalization models, and punctuation models, and to determine values of one or more parameters. Additionally or alternatively, models may be used, for example by an ASR system, to provide transcriptions (a) for the current communication session, (b) to caption future communication sessions, and (c) to transcribe audio from callers other than the caller from which communication session data was collected. Additionally or alternatively, the transcription monitor 5302 may extract statistics from communication session data. The statistics may include n-grams, n-gram counts, usage such as minutes of use, and analysis of topics of conversation.
In some embodiments, the transcription monitor 5302 may be configured to obtain consent from one or more parties of the communication session prior to intercepting communication session data. If consent is needed to perform one or more of the above actions, one or more methods described in this disclosure may be used to collect and store the consent. The transcription monitor 5302 may be configured to receive input from a user, such as the subscriber, indicating consent to have the communication session recorded. Examples of mechanisms for requesting and recording consent include, but are not limited to providing consent by signing a form, going to a website, talking to an IVR or representative of the captioning service, clicking a screen icon, or by pressing a button. The user may be asked to provide consent for one or more of the actions listed above, such as via an audio prompt, a request on a phone or other display, an IVR system, a transcription service representative on the communication session, or verbally by another calling party. Consent provided by a user may apply to the user and to one or more other parties in the communication session. For example, the user may be prompted to affirm that he/she provides consent for himself/herself or for all parties on the communication session. When providing consent for another calling party, the user may be prompted to ask the other party for consent. The user may also indicate that consent is denied.
In some embodiments, the consent may be obtained through a physical button, a virtual button or soft key on a display, a touch tone detector or an ASR system that accepts a DTMF or voice command, an option on a website, or another form of input such as typing a phrase such as a signature or an affirmative phrase such as “yes.”
Upon receiving or being denied consent, a record of the user and consent decision may be stored in a consent database, which may be part of a data store 5318. A consent detector may determine whether a given action may be performed with data from a given calling party.
Communication data obtained from the signal interceptor 5304 may be, contingent on consent, stored in the data store 5318 and/or processed by the accuracy measurement service 5316. In some embodiments, transcriptions may be provided from the accuracy measurement service 5316 on a display such as a display of the auxiliary pad 5308, regardless of consent. Additionally or alternatively, generating the transcriptions by the accuracy measurement service 5316 may be contingent on consent and transcriptions may appear on the display of the auxiliary pad 5308 after consent has been granted. In some embodiments, the auxiliary pad 5308 may display text for a consent request and a virtual button or soft key to be pressed, clicked, or selected, indicating that the user grants consent. In some embodiments, the transcription monitor 5302 may provide the communication session data to the accuracy measurement service 5316. The accuracy measurement service 5316, in some embodiments, may include a router 5340, the data store 5318, a reader 5320, a driver 5322, an audio transcriber 5324, and a scorer 5332. The communication session data may be received from the network 5301 by the router 5340. In some embodiments, the communication session data may be stored in the data store 5318.
In some embodiments, the accuracy measurement service 5316 may be configured to compute accuracy of the transcriptions generated by the transcription service 5312 in real time, such as during the communication session for which the transcriptions are generated. Accuracy may be measured by comparing a reference transcription to a hypothesis transcription. The hypothesis transcriptions may substantially correspond to transcriptions displayed on the first user device 5352. The hypothesis transcriptions may be obtained using one or more methods, including:
In some embodiments, the audio transcriber 5324 may be configured to convert the communication session audio obtained by the accuracy measurement service 5316 to a reference transcription. The audio transcriber 5324 may use any of the systems and/or methods discussed in this disclosure to generate the reference transcription. The reference transcription may serve as the “truth” in measuring accuracy of the hypothesis transcription generated by the reader 5320 based on the transcription generated by the transcription service 5312.
Alternatively or additionally, in some embodiments, the audio transcriber 5324 may use the transcriptions from the transcription service 5312 in creating the reference transcription. For example, the reference transcription may be used as a starting point to be edited by human editors using text editors. Additionally or alternatively, the transcriptions from the transcription service 5312 may be fused with other transcriptions, such as those generated by the audio transcriber 5324 based on the communication session audio to create a reference transcription.
In some embodiments, the audio transcriber 5324 may provide the reference transcription to the driver 5322. The driver 5322 may be configured to format the reference transcription for display to the user and transmit the formatted reference transcription to the transcription monitor 5302. The transcription monitor 5302 may present the formatted reference transcription on a display such as on the display of the auxiliary pad 5308. The driver 5322 may be configured to format the reference transcriptions by breaking the reference transcriptions into groups of words which may be presented substantially simultaneously on the display. In some embodiments, the transcriptions provided by the accuracy measurement service 5316 may not include the reference transcription but may be a transcription used to create the reference transcription.
In some embodiments, the reference and hypothesis transcriptions may be compared by the scorer 5332 to generate a real-time score. After the real-time score is determined, communication session data such as reference and hypothesis transcriptions, audio, and video, may be deleted. The real-time score may be stored and analyzed. For example, the real-time score may be averaged over multiple communication sessions to determine an average accuracy for the transcription service 5312. As with other real-time accuracy estimation systems disclosed in this disclosure, the accuracy of the accuracy measurement service 5316 may be verified and tuned by sending recorded and transcribed audio through the accuracy measurement service 5316 and comparing the estimated transcriptions and accuracy figures determined in real time to accuracy figures determined offline. Additionally or alternatively, a corrected real-time accuracy may be obtained by comparing the offline accuracy with accuracy determined using recorded and transcribed audio to determine a correction factor or method to adjust the accuracy output by the scorer 5332.
In some embodiments, the accuracy measurement service 5316 may be configured to determine accuracy estimates using offline or recorded audio. For example, the accuracy measurement service 5316 may be configured to use recorded data in the data store 5318 as input to the reader 5320 and audio transcriber 5324. If recorded audio is already transcribed, the audio transcriber 5324 may be omitted/bypassed and the transcribed recorded audio may be used as the reference transcription.
Modifications, additions, or omissions may be made to the environment 5300 without departing from the scope of the present disclosure. For example, in some embodiments, the transcription monitor 5302 may be one unit. Alternatively or additionally, the signal interceptor 5304 may be a collection of separate units such as a first unit for processing and routing signals and a second unit for capturing audio. Additionally or alternatively, components including the signal interceptor 5304 may share hardware with one or more other components of the transcription monitor 5302, including the auxiliary pad 5308 and the camera 5306. The arrangement of the transcription monitor 5302, with elements distributed between the signal interceptor 5304, camera 5306, and auxiliary pad 5308 is provided as an example. Other arrangements are contemplated, including an arrangement where components of the transcription monitor 5302 are integral with the first user device 5352. The division of components between the transcription monitor 5302 and the accuracy measurement service 5316 is also an example embodiment. In some embodiments, components of the transcription monitor 5302 and the accuracy measurement service 5316 may each reside in any of multiple locations. For example, components of the accuracy measurement service 5316 may reside in the transcription monitor 5302 and vice versa.
In some embodiments, the auxiliary pad 5308 may include a display and a camera. Alternatively or additionally, the auxiliary pad 5308 may be configured to interface with a display and a camera. For example, the auxiliary pad 5308 may provide input to a display and/or may be communicatively coupled to a camera. In some embodiments, the auxiliary pad 5308 may be configured to obtain consent from a user. Additionally or alternatively, the auxiliary pad 5308 may interface with an audio tap and a camera and may incorporate at least some of the functions described above for the transcription monitor 5302.
In some embodiments, the communication session audio and/or the hypothesis transcriptions may be recorded by a data store 5504. In these and other embodiments, the communication session audio may be transcribed offline by an offline transcription tool 5522 and stored in the data store 5504.
In some embodiments, the scorer 5520 may be used to determine an estimated accuracy of the hypothesis transcription generated by the transcription unit 5514. Additionally or alternatively, the scorer 5520 may be used to determine accuracy of components included within the transcription unit 5514. For example, in some embodiments, the transcription unit 5514 may include a revoicing ASR system to transcribe revoiced audio from a CA, other ASR systems, one or more fusers, and one or more text editors, among other components. The scorer 5520 may be used to determine accuracy of a particular revoicing ASR system associated with the CA, one or more of the components included with the transcription unit 5514, or both. In these and other embodiments, the accuracy of the revoicing ASR system associated with the CA may be used as a proxy that reflects the accuracy of the CA. Alternatively or additionally, a transcription generated by the particular ASR system and as corrected by a text editor associated with the CA may be a proxy that reflects the accuracy of the CA. In these and other embodiments, a CA may be compared to another CA based on the accuracies generated by transcription units associated with each of the CAs. In these and other embodiments, the transcription units may be configured in an analogous manner except the CA profiles used by the transcription units may be different as the CA profiles used may be selected based on the CAs being compared.
To determine an estimated accuracy, the scorer 5520 may operate in a supervised mode or an unsupervised mode. In a supervised mode, the scorer 5520 may compare a hypothesis transcription to a supervised reference transcription, such as a reference transcription from the data store 5504, count the number of disagreements, and determine an estimated accuracy. The supervised mode may use, for example, the method described for the scorer in
In some embodiments, the scorer 5520 may be used in a process to determine an estimated accuracy of the hypothesis transcription that uses both the supervised mode and the unsupervised mode. In these and other embodiments, the process may include the scorer 5520 determining an estimated accuracy and determining a calibration factor that may be used to adjust the estimated accuracy. An example of the process may include the following:
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
An example of operation of the scorer 5520 is now provided. The scorer 5520 may use the process described above to train an accuracy estimator. A transcription may be obtained by the scorer 5520 from the transcription unit 5514. The transcription may be applied to the accuracy estimator to determine an initial estimated accuracy of the transcription. A correction factor generated previously by the scorer 5520 may be applied to the initial estimated accuracy to generate estimated accuracy of the transcription.
In some embodiments, the scorer 5520 may also be used to calibrate, train, or validate itself or other scorers or selectors. Alternatively or additionally, the scorer 5520 may be configured to score and benchmark the transcription unit 5514. In these and other embodiments, the environment 5500 may be configured to monitor overall accuracy of the transcription unit 5514 or other transcription units. In some embodiments, accuracy monitoring may be used to (see also Table 14):
Modifications, additions, or omissions may be made to the environment 5500 without departing from the scope of the present disclosure. For example, in some embodiments, the steps to calibrate, train, or validate the scorer 5520 may also be used to calibrate, train, or validate a selector by using estimated and target transcription unit selection in place of estimated and target accuracy, a selector in place of the scorer 5520, and a threshold (see
In some embodiments, the environment 5600 may include a revoicing pool 5602 that includes one or more revoicing transcription units 5644. The environment 5600 may also include a non-revoicing pool 5604 that may include one or more non-revoicing transcription units.
The environment 5600, in some embodiments, may include an equivalency review tool 5606 that may be configured to create, maintain, and update an equivalency table 5608. An equivalency table 5608 may include token equivalencies that may be used by denormalizers 5630 when denormalizing a transcription. For example, the equivalency table 5608 may specify that “1” is the same as “one,” but that “they're” is not the same as “their.” The environment 5600 may include a different equivalency table 5730 for different ASR systems in the different pools 5602 and 5604 or a single equivalency table 5730 for the environment 5600.
In some embodiments, the environment 5600 may be configured to test accuracy of transcription units and create the equivalency table 5608. The data for the testing may be based on: prerecorded audio captured from people/actors in a studio; people connected to a data collection system by, for example, calling or receiving communication sessions from a specified phone number or running a PC-based or smartphone-based application; production traffic (i.e., real phone communication sessions) processed by a transcription service; and traffic from a communication service where audio is created.
In some embodiments, a transcription or editing tool 5610 with audio playback enables a transcriptionist to create a reference transcription. In these and other embodiments, the tool may use an ASR system to create an initial transcription for editing by the transcriptionist. The transcriptionist may edit the transcription using a computer keyboard, touch screen, voice input, or other computer interface device. If recording of audio is allowed (i.e., local law and regulations allow recording), audio and transcriptions may be saved in a reference data database 5612. Where recording of audio is not allowed, audio and transcriptions may be processed by the environment 5600 illustrated here and then deleted when a communication session is completed.
In some embodiments, the environment 5600 also includes a scheduler 5614 configured to receive input test requests from an operator (a person). Requests may include how many tests to run, when tests should be complete, types of tests to be run, which transcription units 5644 should be tested, which CAs should be tested using associated transcription units, and under what conditions to run tests. The scheduler 5614 may be responsive to test requests to generate a set of test parameters, which may include when to run tests, which audio files to use for testing, a schedule for which transcription units 5644 to test, and how many tests to run simultaneously. The scheduler 5614 may query or receive input from a transcription unit scheduling system or other operations and administration systems to determine operations status such as transcription unit load, traffic load, transcription unit availability, and may alter test parameters to avoid interfering with the transcription of audio from live communication sessions when the transcription units may be part of a transcription service. Additionally or alternatively, the scheduler 5614 may run tests on demand from an operator or team lead supervisor (“TLS,” a.k.a. CA manager) based on received requests.
In some embodiments, the environment 5600 may also include an automated transcription accuracy and latency testing (“ACALT”) tool 5616 configured to retrieve an audio sample from the reference data database 5612 and send it to one or more transcription units in either or both the revoicing pool 5602 or the non-revoicing pool 5604. The ACALT 5616 may send an audio file to multiple transcription units to obtain multiple transcriptions for use in (a) testing multiple transcription units or (b) fusing the results into a reference transcription or higher-accuracy transcription. The multiple transcriptions from the transcription units may be provided to the ACALT 5616. The ACALT 5616 may designate the transcriptions as hypothesis transcriptions. The hypothesis transcriptions may be stored in a trial results database 5618.
In some embodiments, the ACALT 5616 may send the audio to a transcription unit and receive the transcription through any of several mechanisms, including:
In some embodiments, a scorer 5650 may read a reference transcription from the reference data database 5612 and a hypothesis transcription from the trial results database 5618. The scorer 5650 may use denormalizers 5630 to denormalize the reference and hypothesis transcriptions. The denormalizers 5630 may make use of the equivalency table 5730 or other denormalization methods such as a set of rules for determining when two forms of the same token represent the same token. Additionally or alternatively, a reference transcription may be marked with allowable equivalencies or alternative forms. For example, if a reference reads “I {want/wanted} to give you a call,” a hypothesis transcription may be considered correct if it contains either “want” or “wanted.”
The denormalizers 5630 may be used in cases where the format of multiple transcriptions, such as the reference and hypothesis transcriptions, may be different. Throughout this disclosure, it is to be understood that the denormalizers 5630 may be omitted if a transcription is already in a format suitable to its use. For example, if a transcription from a transcription unit has not been normalized or if the transcription has already been denormalized, denormalization may be unnecessary. Denormalization may also be unnecessary when comparing or fusing transcriptions that are in a similar format, or when the transcription was already denormalized by a previous step such as by a fuser that includes a denormalizer.
Additionally or alternatively, when a transcription has been processed by a component including internal or implicit denormalization logic (e.g., components that perform aligning, fusing, voting, privacy filtering, matching, scoring, etc.), the denormalizers 5630 may be disabled or omitted. For example, the comparer in
In some embodiments, the scorer 5650 may be configured to align and compare the reference transcription and the hypothesis transcription. The depicted embodiment, for the sake of clarity, has combined the functions of multiple previously described (see
The TLS tool 5622, in some embodiments, may be configured to display scores and error maps to a TLS. The TLS tool 5622 may indicate when a test is ready to be scored, test score statistics, what pending tests needs to complete, and results from tests. The TLS tool 5622 may give the TLS several options, including:
Proposed equivalencies, along with optional context, that the TLS deems are equivalent may be entered in a proposed equivalency database 5624, by the TLS tool 5622. The entry may include other information, including a reference to a communication session where the equivalency may apply. The equivalency database 5624 may also track request statistics such as how many TLSs proposed a given equivalency change, how many times the given equivalency change was proposed, how often the term occurs in production transcriptions, how many times TLSs indicated a difference as an equivalency, and whether the equivalency has been previously considered and accepted or rejected.
The equivalency review tool 5606 may be configured, in some embodiments, to allow a scoring manager to review proposed equivalencies and accept or reject them. The equivalency review tool 5606 may be configured to remove duplicate requests and may display request statistics. Additionally or alternatively, the equivalency review tool 5606 may help a scoring manager prioritize which proposed equivalencies to review first by displaying request statistics or using request statistics to sort requests. For example, the equivalency review tool 5606 may allow a scoring manager to find and review proposed equivalencies that have never been reviewed before and have been submitted by at least a minimum number of TLSs.
In some embodiments, in response to a scoring manager accepting an equivalency, the equivalency may be incorporated into the equivalency table 5608. If the scoring manager rejects an equivalency, it may record the rejection in a database of rejected pairs 5626. When a TLS takes an initial step (such as clicking on one of the terms in an equivalency pair) to determine a difference is an equivalency that automated scoring did not recognize or when the TLS takes an initial step in submitting a proposed equivalency request, the TLS may be advised, such as with a pop-up or alert message embedded in a credit or submission window (a window that allows the TLS to give a CA credit for an incorrectly assigned error, submit a proposed equivalency, etc.), when an equivalency has been previously rejected. Depending on the review history of a proposed equivalency and on policies implemented in the equivalency review tool 5606 and the TLS tools 5622, the TLS tools 5622 may bar the TLS from giving credit and/or from submitting a request. Modifications, additions, or omissions may be made to the environment 5600 without departing from the scope of the present disclosure. For example, a single equivalency table 5608 is illustrated for use by both denormalizers 5630a and 5630b, but in some embodiments, multiple equivalency tables may be used. In these and other embodiments, each denormalizer 5630a and 5630b may use a different equivalency table.
In some embodiments, the denormalizer 5720 may include a preprocessor 5702, an equivalency converter 5704, and a postprocessor 5706. Normalized text may be received by the preprocessor 5702, which may make changes that apply broadly or that are not well mapped in an equivalency table 5730, such as mappings not tied to specific words. The preprocessor 5702 may, for example, be configured to map non-standard characters to a usable form, eliminate HTML tags, correct spelling, strip out headers, remove or convert capitalization and punctuation, etc. The preprocessor 5702 may also be configured to convert names followed by an apostrophe and “ll” or “s.” For example, the preprocessor 5702 may map “Gary 'll” to “Gary will” and “Gary's” to “Gary is” or “Gary has.” The preprocessor 5702 may equate multiple forms of spelling for words like “Cathy” that have multiple spelling options.
In some embodiments, the preprocessor 5702 may send converted text to the equivalency converter 5704, which may be configured to convert terms to a uniform form using an equivalency table 5730. In some embodiments, a word or phrase matching a first term or regular expression in the equivalency table 5730 may be converted to a second term defined on the same line of the table. One example of an equivalency table 5730 is a “GLM” file. The equivalency table 5730 may map terms to one or more options in a format that the denormalizer 5720 recognizes and allows. For example, if the equivalency table 5730 includes the entry
In some embodiments, the equivalency table 5730 may be created or updated by an equivalency review tool, such as an equivalency review tool 5606 of
In some embodiments, a scorer may treat filler words such as “um,” “ah,” “hmm,” “hum,” and “mm” as regular words and count filler word errors as having substantially equal weight as other words. Additionally or alternatively, the scorer may ignore filler word errors and may not count them against the total score. In other embodiments, the scorer may count filler words as errors, but may allow the filler words to be substituted with each other. For example, “uh” replaced by “ah” may not be an error, but “him” replace by “hmm” may be an error. An ASR system may be trained to recognize filler words by, for example, including samples (such as audio and/or the corresponding text) in a training database used to train ASR models used by the ASR system. In some embodiments, in a revoicing transcription unit, when revoicing filler words, the CA may speak the filler words, speaking a voice alias in place of the filler word such as “udge” for “um,” typing the filler, using keyboard shortcuts, using a mouse or a gesture to select from a list of menu items, etc.
In some embodiments, the reference and/or hypothesis transcriptions may include “quickwords” (i.e., audible events that may not appear as words in a dictionary and that may lack an established spelling). Examples include “(beeping),” “(busy line),” “(coughing),” “(communication session is on hold),” “(crying),” “(dial tone),” “(fax tone),” “(gasp),” “(speaker is inaudible),” “(loud background noises interfering with captioning),” “(laughs),” “(music playing),” “(audio is cutting in and out),” “(speech in a language other than English or Spanish),” “(silence),” “(Spanish),” “(sigh),” “(sneezing),” “(static),” “(yawn),” etc. An ASR system may detect quickwords by modeling the sounds in similar fashion to how phonemes are modeled, such as by mapping words or phoneme strings to quickwords, or by employing a separate classifier designed to detect quickwords, based on, for example text input and/or audio analysis. In some embodiments, in a revoicing transcription unit, when revoicing audible events, the CA may enter quickwords into a transcription by typing them, using keyboard shortcuts, selecting from a menu, speaking the quickword or a voice alias such as “laughter” or “quickword yawn.” In some embodiments, quickwords may be counted or ignored as described above for filler words.
In various accuracy scoring arrangements, such as those described above with reference to
“.”→“_period_”
“,”→“_comma_”
“!”→“_exclamation_”
Continuing this example, the sentence, “Jacob's not sick, but Jane is.” may, for example, be rendered, for comparison and error rate calculation purposes, as “Jacob is not sick_comma_ but Jane is _period_.” Both the reference and the hypothesis transcriptions may be similarly converted so that the reference and the hypothesis transcriptions may match when the hypothesis is correct. In this scenario, missing, adding, or substituting a punctuation mark, for example, may be scored as a word error. Similarly, capitals are, in some embodiments, tagged with a symbol not expected to occur in normal text such as “_cap_” before converting all text to lower case. Alternatively, all text may be converted to upper case. The above example may then be further processed to read “_cap_ jacob is not sick_comma_ but_cap_jane is _period_” so that capitalization and punctuation errors are counted.
In some embodiments, all errors may receive equal weight, regardless of importance. When counting errors, then, a scorer may give each error a weight of one, and the error rate percentage may be the total number of errors divided by the number of words. Additionally or alternatively, the scorer may use a perceptual accuracy metric that, for example, estimates the change in meaning or document similarity. For example, the scorer may assign different weights to various words or errors so that the total accuracy is a weighted sum of errors. Weights may be assigned depending on factors such as severity, type, confusability, etc. For example, articles (e.g., “the”) may receive a medium weight (e.g., 0.5), capitalization and punctuation errors may receive a relatively small weight (e.g., 0.1) and other words may receive a nominal weight (e.g., 1.0). Weights may be assigned based on any of a number of criteria or categories including:
In some embodiments, the equivalency table 5730 may be enhanced by including context, such as neighboring words or other symbols. For example, in some embodiments, if the audio includes “I see Dr. Krish tomorrow,” the equivalency table may equate “Dr.” to “{doctor/drive},” so that if the recognizer hears “I see drive Krish tomorrow,” it may be counted as correct. In some embodiments, this type of error may be detected by using an equivalency table containing entries that specify the context in which each alternative (e.g., “doctor” or “drive”) is allowed. For example, if “Dr.” is preceded by a capitalized word or a word likely to be a proper noun (e.g., “Smith Dr.”), then only “drive” may be allowed, but if “Dr.” is followed by a capitalized word or a word likely to be a proper noun (e.g., “Dr. Adams), then only “doctor” may be allowed.
In some embodiments, other perceptual accuracy metrics such as those used to measure language translation quality may be used. Examples include the Bleu score, which measures the correspondence between a machine's output and that of a human, and METEOR (Metric for Evaluation of Translation with Explicit Ordering). Modifications, additions, or omissions may be made to the environment 5700 without departing from the scope of the present disclosure.
In some embodiments, the normalized text and the denormalized text may be obtained from an ASR system 5820 that includes a word recognizer 5804 and a normalizer 5806a. The ASR system 5820 may be provided audio. The word recognizer 5804 may generate denormalized text and provide the denormalized text to the training set 5810 and to the normalizer 5806a. The normalizer 5806a may be configured to normalize the text and provide the normalized text to the training set 5810. In some embodiments, the training set 5810 may be stored. In some embodiments, the audio may be recorded audio or live audio of a communication session, among other types of audio. Alternatively or additionally, the ASR system 5820 may not provide the denormalized text. In these and other embodiments, a separate system, such as one that receives input from humans, may generate the denormalized text from the normalized text output from the ASR system 5820. Additionally or alternatively, other sources of the normalized and denormalized text may be used, including text created by a human translator or a rule-driven machine translator. For example, a machine translator may be given denormalization rules such as to split compound words, to spell out abbreviations, expand contractions, and convert digit strings to spelled digits, and to use a pre-defined spell checker that allows only one spelling of each word. Text created by the machine translator may be used as a denormalized text in the training set 5810.
The training set 5810 may be provided to feature extractors 5840. The feature extractors 5840 may be configured to determine features such as n-grams or word embeddings of the training set 5810 that may be provided to the model trainer 5802. Alternatively or additionally, the feature extractors 5840 may be omitted in embodiments where raw data may be used as an input to the model trainer 5802. The model trainer 5802 may generate a denormalization model which may be structured and trained using methods designed for language translation or methods to denormalize text for text-to-speech synthesis. The denormalization model may be provided to the denormalizer 5830. Other machine learning mechanisms that may be used to train models for the denormalizer 5830 include methods listed in Table 9.
An example of the operation of the denormalizer 5830 is now provided. Audio may be transcribed by a transcription unit 5814 that may include a normalizer 5806b. The normalized transcription may be denormalized by the denormalizer 5830 using the model built by the model trainer 5802 from the training set 5810. The denormalizer 5830 may convert normalized text strings into denormalized strings. For example, a caller may recite an address by saying “One twenty three Lake Shore Drive, Gary, Indiana” The transcription unit 5814 may transcribe the audio as, “123 Lake Shore Dr., Gary, Ind.” The denormalizer 5830 may output “one twenty three lake shore drive gary indiana” (in this example ignoring capitalization and punctuation) as the denormalized string.
Modifications, additions, or omissions may be made to the environment 5800 without departing from the scope of the present disclosure. For example, the denormalizer 5830, in some embodiments, may include a finite state transducer. Other methods for language translation, preprocessing text for text-to-speech synthesis, or implementing language processing functions may also be used by the denormalizer 5830. Alternatively or additionally, the environment 5800 may be used to train other models. For example, using features as a first input to the model trainer 5802 and target values as a second input, the environment 5800 may be used to train models for capitalization, punctuation, accuracy estimation, or transcription unit selection.
In some embodiments, the structure created by the expander 5902 may be converted to a grammar and provided to the second ASR system 5920b. The second ASR system 5920b may attempt to transcribe the audio into one of the alternatives defined by the structure. The string recognized by the second ASR system 5920b, such as the most likely path through the lattice or the most likely candidate from the n-best list, based on acoustic evidence from the communication session audio, may be used as the denormalized string. The environment 5900 may also be used to generate normalized and denormalized text data for training a machine learning denormalizer such as the embodiment described above with reference to
In some embodiments, the audio inputs to the transcription units 5414 may be substantially identical, being derived from a common source such as audio from a communication session. Alternatively, audio inputs may be derived from multiple sources. For example, a first audio input may be derived from a voice sample spoken by a caller such as a transcription party and a second audio input may be revoicing of the first audio input. Additionally or alternatively, a first audio input may be derived from a voice sample spoken by a first caller and a second audio input may be derived from a voice sample spoken by a second caller. The transcriptions may be provided to the fuser 5424.
The fuser 5424 may obtain the transcriptions, for multiple purposes, including:
The transcriptions from the transcription unit 5414 may be provided to denormalizers 5420 that may denormalize the transcriptions and provide the denormalized transcriptions to an aligner 5404. The denormalized transcription may be aligned by the aligner 5404. The aligned transcriptions may be provided to the voter 5406. The voter 5406 may compare the aligned transcriptions to determine one or more agreement (or disagreement) rates between the aligned transcriptions.
In some embodiments, the transcription units 5414 may also provide information regarding the transcription, including a confidence score of the transcription. In these and other embodiments, as a new segment of each transcription is generated by each transcription unit 5414, the transcription units 5414 may create additional information such as a confidence score for a segment of the transcription which may include at least part of the new segment.
In some embodiments, the quality estimator 5402 may use information from the transcription units 5414, the aligner 5404, and/or the denormalizers 5420 to estimate a quality of at least one segment of one of more of the transcriptions. In some embodiments, the information may include confidence scores, transcription agreement rates, and other features (see Table 2 and Table 5). The quality estimate may be used to guide the fuser 5424, which may include guiding the aligner 5404 and/or the voter 5406. An example operation of the fuser 5424 may include the following:
Modifications, additions, or omissions may be made to the environment 5500 without departing from the scope of the present disclosure.
In some embodiments, the transcription unit 6014 may capture communication session data during the process of generating the transcriptions and providing the transcriptions to the user device 6010. In these and other embodiments, the transcription unit 6014 may be configured to store the communication session data in a database 6002. Examples of communication session data may include those listed below in Table 15.
In some embodiments, a privacy filter 6004 may remove sensitive information from the communication session data before the communication session data is stored in the database 6002. In these and other embodiments, a model trainer 6006 may access the stored communication session data and use the stored communication session data to train new models for ASR systems. For example, the new models may be used by one or more ASR systems in the transcription unit 6014.
Additionally or alternatively, the transcription unit 6014 may send the communication session data to the model trainer 6006. The model trainer 6006 may use the communication session data to train one or more models on-the-fly. In these and other embodiments, training on-the-fly may include not storing the communication session data, other than during a brief interval, such as during the communication session. For example, in some embodiments, training on-the-fly may include the communication session data being deleted at the end or within 1, 5, 10, 15, 20, 30, or 60 seconds of the end of a communication session from which the communication session data is obtained. Alternatively or additionally, training on-the-fly may include only storing the communication session data in volatile memory and not in a static, non-volatile, or long-term memory storage such as a long term database. In these and other embodiments, the updates to the models, including weight adjustments, counts such as n-gram counts, and other model parameter changes, may be retained, but the communication session data may be deleted.
In some embodiments, the model trainer 6006 may be configured to train various models from varying types of communication session data. Thus, based on the type of communication session data obtained, the model trainer 6006 may generate particular types of models. Examples of the models that may be built by the model trainer 6006 and data types that may be used to train the models may include:
Modifications, additions, or omissions may be made to the environment 6000 without departing from the scope of the present disclosure. For example, in some embodiments, part or all of the model trainer 6006 may be run in one or more locations, including those described above with reference to
In some embodiments, the environment 6100 may include a database 6102. The database 6102 may be configured to store data such as transcriptions from the transcription unit 6114 including other data as described with respect to Table 15. Examples of the data that may be stored by the database 6102 may include:
The database 6102 may provide long-term storage where the data is saved and processed. Alternatively or additionally, the database 6102 may be a short-term buffer where a portion of the data may be deleted after a specified event has occurred, such as the end of a communication session, a particular amount of time, such as before the end of the communication session, a particular amount of time after the end of a communication session, at a time where transcription has been completed or delivered to a user device, or as soon as the data has been used for training.
In some embodiments, a subset of the data may be processed by an online or off-line transcriber 6104 to transcribe audio into text, correct errors in existing transcriptions, or annotate additional information such as gender, demographic, age (child, elderly, etc.), speech or hearing impairment, accent, parts of speech, named entities, new speaker, punctuation, capitalization, sentence and phrase boundaries, speaker intent, content summaries, speaker sentiment or emotional state, audio quality, and topic, among others. Additionally or alternatively, audio and/or transcriptions may be annotated to tag the transcription with information such as the additional information listed above using an automated labeler 6106. Such annotations may include speech recognition, gender detection, punctuation and capitalization, natural language processing, summarization, topic analysis, and sentiment analysis, among others. In some embodiments, the automated labeler 6106 may be implemented as part of an ASR system that returns a transcription or other form of text result that includes the annotations, such as XML files, JSON files, WCN, lattice, or an n-best list. For example, one or more of the ASR systems 6120 may include the automated labeler 6106.
In some embodiments, the automated labeler 6106 may be configured to generate transcriptions of recorded audio. Additionally or alternatively, the automated labeler 6106 may be configured to generate transcriptions of audio as the audio is received and processed as part of providing a service and training models. After training the models, the audio and/or transcriptions may be deleted. In these and other embodiments, the automated labeler 6106 may generate the transcriptions using one or more human transcribers, one or more ASR systems, or a combination thereof, including the various configurations described with respect to transcription units disclosed in this disclosure.
In some embodiments, the environment 6100 may include an ASR model trainer 6108, which uses the data from the database 6102 to train new models such as language models by an LM trainer 6119. In some embodiments, to train language models, the data may include a transcription. The ASR model trainer 6108 may also include an AM trainer 6117 that may be configured to generate acoustic models using the data from the database 6102. In some embodiments, to train the acoustic models, the data may include audio and transcriptions.
In some embodiments, the ASR model trainer 6108 may incorporate confidence scores provided by the ASR systems 6120 in training the language and acoustic models. For example, the ASR model trainer 6108 may weigh training data samples from sample transcriptions according to the estimated accuracy or the confidence of accuracy of the sample transcriptions. Additionally or alternatively, the ASR model trainer 6108 may factor in CA performance such as CA accuracy during testing into the model training process. For example, the ASR model trainer 6108 may give greater weight to transcriptions from CAs with higher historical performance or may train models using data from CAs scoring above a selected threshold. After training the new models, the ASR model trainer 6108 may provide the new models to the ASR systems 6120. The ASR systems 6120 may use the new models to transcribe the current or future communication session audio. Modifications, additions, or omissions may be made to the environment 6100 without departing from the scope of the present disclosure.
The consent detector 6202 may determine whether the CA and the people associated with the voices in the audio of the communication session have provided consent to record, transcribe, extract statistics such as n-grams, use for ASR or model training, provide captions, or otherwise use the voices of the people and the CA.
In some embodiments, a consent database 6204 contains consent policies. Consent policies may define rules and methods and may be changed based on shifts in company guidelines, procedures, court rulings, requirements from regulatory agencies, customer/vendor contracts, and legal statutes. The policies may differ based on what data is being captured from the communication session. Examples of the data that may be captured is provided in Table 15.
In some embodiments, each party, such as each voice in the communication session and the CA, and with respect to a communication session, may have an associated set of consent records and rules. The consent detector 6202 may be configured to determine, for each piece of data, whether the environment 6200 has adequate consent to use the data for purposes such as to (1) provide a transcription service, (2) train or adapt models for ASR, confidence, capitalization, punctuation, etc., (3) extract statistics such as n-grams, (4) record communication session audio, (5) record communication session transcriptions, (6) record other communication session data. The consent detector 6202 may also determine whether only non-private data may be used or whether private data may also be used.
In some embodiments, the consent database 6204 may include a record of the type of consent obtained from each party. Types of consent may vary depending on what is being recorded. Consent records may include or may be derived from signed agreements, activity on a website, interaction with a user device, etc. Consent records may include information on the type of data that may be captured, how the data may be used, whether the consent applies to a minor and/or is provided by a parent or guardian, the identity of the entity providing consent (e.g. the party, a guardian, an authorized representative, a court issuing a warrant or subpoena, a federal law, a state law, a local ordinance, a notice or regulation from a regulatory agency, a court ruling, a legal opinion such as from a law firm, or a government agency providing a waiver or other legal authorization) and the relationship of the party to the entity providing consent, and notations on revoked consent. In some embodiments, consent may be requested in exchange for providing a transcription service, a promise to use the training to improve accuracy, for a discount (including free) on a transcription or other service, or for monetary compensation.
In some embodiments, the environment 6200 or person collecting consent may advise the consenting party on procedures for revoking consent or deleting stored data. A prompt, such as text on a display or an audio recording, may advise one or more parties as to the process for revoking consent. A party may revoke consent using mechanisms similar to those for providing consent such as via a website, soft key, voice command, or Dual Tone-Multi Frequency (DTMF) input. If a party revokes consent, communication session data may be deleted and further recording and gathering of data may be discontinued. A confirmation prompt may be played to one of more of the parties such as “This communication session will not be recorded.” For example, a DTMF detector may be configured to detect a DTMF sequence such as “##” during a communication session and, if detected, may delete the communication session data and discontinue further storing of data.
If consent is granted or refused, the party's response may be saved in the consent database 6204 and retrieved during future conversations. In some embodiments, during future conversations, the prior consent record may be retrieved from the consent database 6204 by the consent detector 6202, and, if deemed to remain in force, the consent detector 6202 may indicate that consent is granted. In these and other embodiments, the consent detector 6202 may be configured to present a recorded announcement regarding the previously-obtained consent to indicate communication session data may be captured during the current communication session, such as recording of audio, before capturing of the communication session data. Alternatively or additionally, the consent detector 6202 may be configured to require a response from the consenting party before capturing communication session data for every communication session. Consent may be collected through one or more of several mechanisms:
In some embodiments, in response to the consent detector 6202 determining that a party has consented to the use of the communication session data, the consent detector 6202 may direct the party's communication session data to a model trainer 6230 or a database 6222 for storage. In response to the consent detector 6202 determining that the consent is inadequate, the consent detector 6202 may take action during or after the communication session such as playing or displaying prompts to a party (e.g., “Click ‘OK’ to allow us to record the communication session”) and collecting further consent information from the party. In some embodiments, the consent detector 6202 may determine that adequate consent exists for a first party (e.g., Party 1), but not for a second party (e.g., the transcription party) and enable training and/or recording for the first party only.
In some embodiments, the consent detector 6202 may take into account the locality of the calling parties in making the decision to train and/or record (see #11 on the list above). Suppose, for example, a first participant of a communication session grants consent and is in a one-party state (a state that allows recording of a communication session as long as one party consents). The consent detector 6202 may enable training and/or recording for the first participant. Depending on an assessment of the legality, consent detector 6202 may enable training and/or recording for a second participant of the communication session. For example, in response to the first and second participants being in one-party states or locales, the consent detector 6202 may enable training and/or recording for both parties. In these and other embodiments, the consent detector 6202 may determine the locations of the participants based on phone numbers or other device identifiers of the participants associated with one or more one-party states. In some embodiments, the consent detector 6202 may further consider other evidence regarding the locations of the participants such as current location estimated from GPS, IP address, or proximity to cell towers in known locations.
In some embodiments, if a first participant is in a one-party state and a second participant is in a two-party state (a state that requires consent from both or all parties) and only the first participant has granted consent, then the consent detector 6202 may collect varying amounts of communication session data for each participant. For example, the consent detector 6202 may enable collecting n-grams for the second participant and may enable recording of audio for the first participant. Alternatively or additionally, if either participant is in a two-party state or if the state is unknown, the consent detector 6202 may decide to collect data based on factors other than locality, such as current federal laws and regulations, or may request consent from one or more participants.
In some embodiments, the consent detector 6202 may detect consent from one or more participants of a communication session and treat communication session data from each participant according to the consent status and applicable policies for that participant. For example, a CA, a subscriber, a first speaker using a transcription participant device, and a second speaker using a transcription participant device may each have different consent status and may each fall under different policies. In this example, data collection by database 6222 and model training by model trainer 6230 for each of the aforementioned participants may be governed by the decisions of the consent detector 6202 for each respective participant.
As illustrated, the training components of the model trainer 6230 are separate; however the training components may be combined into fewer or more components, depending on the training and consent methods implemented. Similarly, the consent detector 6202 may act for multiple parties; however it may be divided into multiple consent detectors 6202, each for one or more parties. The training components may train, create, or adapt separate models for individuals or groups of individuals, or they may train, create, or adapt speaker-independent models on data from multiple callers. For example:
In some embodiments, multiple types of models may be trained using the communication session data. Models that may be trained may include acoustic models, or language models, among others. In these and other embodiments, models may be trained for specific parties, such as a CA and/or participants of the communication session. In these and other embodiments, the model trainer 6230 may include trainers for each specific party. For example, the model trainer 6230 may include a CA acoustic model trainer, Party 1 acoustic model trainer, the Party 2 acoustic model trainer, etc. The model trainer 6230 may be responsive to the consent status or output of the consent detector 6202 and may, for example, select a model to be trained or the manner of training based on, for example, the existence of or type of consent. In some embodiments, the ASR model trainer 6230 may include the following type of training models:
In some embodiments, a consolidator 6208, such as an acoustic model training and consolidation tool, may be included in the model trainer 6230. The consolidator 6208 may be configured to combine into a single model, training results from the multiple trainers in the model trainer 6230.
In some embodiments, content derived from participants, including transcriptions, models adapted to transcription parties, acoustic models, language models, punctuation models, capitalization models, voiceprints, and data collected for training adapted models may be stored on a user device or on another device where access to the data is controlled by the user device under direction of a subscriber of the transcription service that includes the environment 6200. Additionally or alternatively, content derived from the subscriber may be stored on a device where access to the subscriber data is controlled by the subscriber and content derived from a transcription party may be stored on a device where access to the transcription party data is controlled by the transcription party. In some embodiments, data may be sent to another location with permission from a party authorized to provide consent or with access to the data.
In some embodiments, the transcription party audio transmitted to the model trainer 6230 may be restricted in audio bandwidth (e.g., 4 kHz) or sampling rate (e.g., 8 kHz) due to having traversed a first network such as a telephone network. In these and other embodiments, subscriber audio may be captured at an audio bandwidth different than that of the transcription party audio and sent to the model trainer 6230 by way of a second network such as a data network. As a result, the ASR models and speech recognition software used to transcribe subscriber audio may be configured for a bandwidth different than that of the transcription party audio. For example, the ASR system and models used to transcribe the transcription party audio may use an 8 kHz sampling rate, while the ASR system and models used to transcribe subscriber audio may use a higher sampling rate such as 16 kHz.
An example of training models and storing data using the environment 6200 may include the following operations:
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations and actions, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
As an alternative to creating a model or models for each voice, the model trainer 6230 may create a number of models that match multiple voices. For example, (1) a population (say one-hundred thousand voices) may be clustered to identify, say, one-hundred groups of voices; (2) each voice may be assigned to the group or cluster that it most closely matches (the clustering and assignment criteria may be a voiceprint match); and (3) when a voice is detected, the characteristics for the cluster assigned to that voice may be retrieved and applied to the voice as if the cluster characteristics applied to that voice. Alternatively or additionally, instead of using speaker voice models, the diarizer 6201 may identify speakers based on a device identifier and may ignore the sound of the speaker's voice. In these and other embodiments, all parties using the same device may be treated as one person for purposes of diarization, display, and training or adapting ASR models. Alternatively or additionally, the diarizer 6201 may identify speakers based on estimated gender (using, for example, pitch). In these and other embodiments, all males using the same device may be treated as one person and all females using the same device may be treated as one person.
In some embodiments, the diarizer 6201 may detect whether the subscriber or the transcription party is speaking using one or more of multiple methods, including: (1) receive a stereo signal containing audio from the two parties, one party per channel (if signals are cross-contaminated, the diarizer 6201 may use an echo canceller to eliminate the residual); or (2) in the case where both voices are on one channel, match each voice against a voiceprint and identify the speaker based on voiceprint match.
In some embodiments, the diarizer 6201 may maintain a record, during the communication session or across communication sessions, of how many people using a given device are speaking and a model that describes the sound of each person's voice. An example of a diarization model is a voiceprint, a pattern that matches a given speaker, based on the speaker's voice. A voiceprint (i.e., a model used to confirm or detect the identity of a speaker) may be used to identify when a speaker changes and/or to identify the speaker. In some embodiments, identifying the speaker may indicate that a speaker's actual identity (e.g., name, location, company, account number, alias) is determined. Alternatively or additionally, there may be multiple speakers on a communication session. In these and other embodiments, identifying the speaker may include identifying the speaker as belonging to a particular voice among these multiple speakers and denote the speaker by an index or other code such as “speaker 3.”
In some embodiments, the diarizer 6201 may identify speakers by gender or other demographic, using, for example, age and gender detection software to distinguish males from females, children from adults, etc., and may show the demographic information on a user device, such as a user device of a subscriber. An example of how gender may be displayed is:
Female speaker: I need to leave shortly.
Male speaker: I have to go too.
Child: Can I come?
If a speaker's name is known, the name may be displayed with transcriptions, for example:
David: It's time to make a decision.
John: I agree.
In some embodiments, the diarizer 6201 may obtain the speaker's name from a reverse directory lookup, indexed by the speaker's phone number or communication device identifier; from a name provided by the speaker's communication device, from a contact list belonging to one or more of the parties, from face identification and/or lip motion detection on a video communication session, or from a voiceprint analyzer working with an ASR system listening to the conversation and determining names from instances where parties verbally mention their own name or names of others on the communication session.
In some embodiments, the diarizer 6201 may distinguish between multiple voices from the transcription party's device. In these and other embodiments, the diarizer 6201 may be used as part of the process of training separate speaker voice models and acoustic, language, and other models for these voices. The diarizer 6201 may distinguish these voices from each other or identify them by matching them to separate speaker voice models, which may be part of the diarization models 6218.
In the depicted embodiment, an example additional voice may be identified as party 2b as opposed to the first voice and the party 2a voice. Audio and/or text from this additional voice may be shown in the figure as party 2b data and may be used to train a separate acoustic model.
In general, the diarizer 6201 being configured to distinguish speakers based on their voices during a communication session may result in the environment 6200 being configured to train individual acoustic, language and other models for individual speakers. For example, if a new voice is detected by the diarizer 6201, a new model may be created to characterize the new speaker's voice. A new set of ASR models may also be created and adapted to increase ASR accuracy for that voice. The voice (a.k.a. speaker) model may log information for the individual voice such as acoustic characteristics, favorite topics, vocabulary, and word usage. For each audio segment, the diarizer 6201 may compare the voice to a voiceprint and determine who is speaking and/or whether the speaker has changed. In response to a change of voice, in these and other embodiments, additional models may be created. Modifications, additions, or omissions may be made to the environment 6200 without departing from the scope of the present disclosure.
One example of a source separator 6302 is an echo canceller that receives two audio streams or channels, one carrying party 1's voice and one carrying party's 2 voice. In some instances, some of the signal from one channel may leak into the other channel but may be removed by the source separator 6302. For example, the source separator 6302 may use adaptive filtering to remove portions of party 1's voice from the party's 2 channel or vice versa. Another example of a source separator 6302 may include a blind source separator. In these and other embodiments, the source separator 6302 may receive a signal including two or more voices or other sound sources combined together into one channel and separate the sound sources into separate channels.
In some embodiments, the ASR systems 6320, as described previously, are configured to convert speaker audio into one or more transcriptions. For the sake of clarity, a single box is depicted, however it is contemplated that any number of ASR systems may be implemented. In some embodiments, the ASR systems 6320 may increase accuracy by listening to multiple sides of the conversation. For example, if one speaker says, “When are we meeting?” the ASR systems may estimate that a response from the other speaker saying, “Somewhere around four” is more likely than “Someone's at the door,” and use the estimate to increase accuracy of output transcriptions.
In some embodiments, the language model in the ASR systems 6320 may represent conditional probabilities as being dependent on context from first and second parties. For example, the probability of a word may be expressed as P(word|context1, context2), where context1 is context from the first party and context2 is context from the second party. In this example, a dual trigram language model may express the conditional probability of the word “four” and “door” as P(“four” context1=“we meeting”, context2=“at the”) and P(“door”|context1=“we meeting”, context2=“at the”), respectively. Similarly, a neural net language model may estimate the probability of one or more words given input to the neural net including the context of words from multiple speakers.
In some embodiments, the ASR systems 6320 may use language models for multiple parties to generate transcriptions. For example, transcriptions generated by the ASR systems 6320 using the voice from a first party may be performed using party 1 models 6304. In these and other embodiments, transcriptions generated by the ASR systems 6320 using the voice from a second party may be performed using party 2 models 6306. In some embodiments, the ASR systems 6320 may provide transcriptions of both parties to party 2 device 6330 and party 1 device 6440. Other combinations are contemplated.
Modifications, additions, or omissions may be made to the environment 6300 without departing from the scope of the present disclosure. For example, the party 1 model 6304 and the party 2 model 6306 may be combined into a single joint model that is built based on speech from both the party 1 and the party 2. In these and other embodiments, the ASR systems 6320 may use the joint model to generate transcriptions of audio from both the party 1 and the party 2.
Data, such as audio and/or transcriptions, from a transcription unit 6414 may be stored in a database data16402. Additionally or alternatively, when model training is being performed “on-the-fly,” the environment 6400 may disable the database data16402 and not retain the data. The data may be provided to the sample selector 6404.
In some embodiments, the sample selector 6404 may select data that may provide a greater benefit in training models based on ASR confidence for the data. Alternatively or additionally, the sample selector 6404 may select data based on factors other than ASR confidence, such as: (1) how many idle revoiced transcription unit or data transcribers are available; and (2) the existence of a preexisting transcription, or the quality of a preexisting transcription.
In some embodiments, the data selected that may provide a greater benefit in training models may be configured to be generated using a higher-accuracy transcription method by the sample selector 6404. In some embodiments, the data may include audio. In these and other embodiments, to generate the higher-accuracy transcription, the selected audio may be transcribed using a human or other high-accuracy data transcriber, such as a revoiced transcription unit. The non-selected data may be transcribed using an ASR system. In some embodiments, the data may include a transcription. In these and other embodiments, edits may be made to the transcription to generate a higher-accuracy transcription. Alternatively or additionally, the data may include a transcription and audio. In these and other embodiments, a new transcription may be created and/or edits may be made to the transcription based on the audio to generate a higher-accuracy transcription. The data and/or the higher-accuracy transcriptions may be provided to ASR model trainer 6408, which may be analogous to the ASR model trainer 6108 of
In some embodiments, the sample selector 6404 may provide information to a selector that may be configured to select between a revoiced or non-revoiced transcription unit to generate transcriptions for the data. In these and other embodiments, the information may direct the selector to select a revoiced transcription to handle communication session audio when the sample selector 6404 selects the data to have a higher-quality transcription. For example, the sample selector 6404 may determine that a communication session being handled by a non-revoiced transcription unit may provide a greater benefit in training models to improve transcription accuracy. Thus, the sample selector 6404 may direct the selector to select a revoiced transcription unit to handle the remainder of the audio from the communication session to generate higher accuracy transcriptions of the remainder of the audio.
In some embodiments, the sample selector 6404 may also provide confidence information to the model training process so that model training may weigh samples heavier based on the samples having a higher confidence. For example, the ASR model trainer 6408 may assign a smaller weight to samples having a lower confidence or may exclude the samples from training. Confidence may be determined, for example, using features and methods described herein for estimating confidence, accuracy, error rate, etc.
Additionally or alternatively, the environment 6400 may be configured to select substantially all transcriptions using speech recognition for training of models. In these and other embodiments, environment 6400 may make exceptions with respect to some audio. For example, the environment 6400 may not use audio from emergency communication sessions, higher-priority communication sessions, and communication sessions used for data collection.
In some embodiments, revoicing may be used to generate higher-accuracy transcription to train ASR systems. In these and other embodiments, audio used for training may be selected using active learning and sent to a CA client. When transcribing communication sessions for data collection, the CA client may be configured differently from when the CA client may transcribe live communication sessions. For example, for data collection the CA client may allow the CA to (1) rewind and listen to audio again, (2) lag behind real time, increasing transcription latency, and (3) skip portions of the input audio, such as when the CA gets behind or when the audio fails to meet specified criteria for usefulness in model training. In some embodiments, during data collection multiple revoicing transcription units may be bridged together on a single audio stream to generate multiple transcriptions. The multiple transcriptions may be fused to generate an output result. Modifications, additions, or omissions may be made to the environment 6400 without departing from the scope of the present disclosure.
The transcription and the audio may be stored in a database 6502. Additionally or alternatively, when training of the models is being performed “on-the-fly,” the environment 6500 may disable the database 6502 and not retain the data or allow the database to only save data briefly during on-the-fly training.
In some embodiments, transcriptions from the database 6502 may be provided to a denormalizer 6503. The denormalizer 6503 may apply rules or methods to the transcriptions to convert the transcriptions to a consistent or near consistent format. The denormalizer 6503 is illustrated as receiving input from the database 6502, however, in some embodiments, the denormalizer 6503 may be configured to receive input from the transcription unit 6514 and output to the database 6502 so that denormalized transcriptions are stored.
In some embodiments, the transcriptions may be used to train language models that may be used by the transcription unit 6514. A language modeler 6504 may be configured to train language models. In these and other embodiments, the language modeler 6504 may train a language model based on n-grams from transcriptions received by the database 6502 or denormalizer 6503. For example, a language model may be trained based on probabilities of n-grams. The probabilities of n-grams may be determined by the language modeler 6504 based on counting n-grams that occur in the transcriptions received by the language modeler 6504. An example table 6506 of probabilities for n-grams is illustrated.
In some embodiments, the language modeler 6504 may include an n-gram counter 6508 configured to count n-grams. Based on the counts of the n-grams, probabilities for the n-grams may be determined. A language model trainer 6510 of the language modeler 6504 may be configured to use n-gram counts and/or n-gram probabilities to train a language model. The language model trained by the language modeler 6504 may be provided to the transcription unit 6514.
In some embodiments, n-gram log probabilities may be stored and used in place of n-gram probabilities. In some embodiments, where there may be insufficient data or memory storage to count or use a given n-gram of length n, the n-gram counter 6508 may be configured to use a shorter n-gram (for example, one of length n−1). For shorter n-grams, a backoff probability may be used to modify the language model probability.
An example of the operation of the environment 6500 with respect to an example phrase is now provided. The transcription unit 6514 may recognize the phrase “OK, let's meet downtown at 4:00” from received audio. Using an equivalency table 6520, the denormalizer 6503 maps “4:00” to “four o'clock,” “downtown” is converted to “down town,” and so forth. The denormalizer 6503 outputs the phrase: “o k let's meet down town at four oclock.” The n-gram counter 6508 updates an n-gram count table 6512 based on the n-grams in the received phrase. Based on the update, the language modeler 6504 may determine that 11,322 occurrences of “o k let's meet” have been counted. Based on the updated count of the n-grams, the language model trainer 6510 may determine that the probability of the word “meet” given that the preceding words are “o k let's” is 0.11 and the backoff factor is 0.23. Using the updated probabilities, the language model trainer 6510 may train a new language model that is provided to the transcription unit 6514. Modifications, additions, or omissions may be made to the environment 6500 without departing from the scope of the present disclosure.
In some embodiments, the transcription units 6614 may obtain audio and generate transcriptions of the audio. The transcriptions may be provided to the privacy filters 6610. The privacy filters 6610 may filter the transcriptions to remove private data and send the remaining data to the ASR training system 6604.
In some embodiments, the ASR training system 6604 may include a data collector 6606 and the ASR trainer 6602. When data storage is permitted, the ASR training system 6604 may further include a database 6608. The data from the privacy filters 6610 may be provided to the data collector 6606. The data may include transcriptions and data structures. The data may be provided to the ASR trainer 6602 from the data collector 6606 or the database 6608. The ASR trainer 6602 may use the data to train ASR models. The ASR trainer 6602 may train speaker-independent or speaker-dependent ASR models. External data, such as commercial data, data from other services, or data from the Internet, may also be used to train the models.
In some embodiments, the privacy filters 6610 may convert data structures into forms that are anonymous. The data structures being anonymous may indicate that information identifying the speaker has been stripped out and that personal information has been removed. In some embodiments, the privacy filters 6610 may convert data structures into forms using a process that is a non-reversible. The process being non-reversible may indicate that information, such as text and audio, sufficient to reconstruct the audio or content of the conversation has been deleted. In making data nonreversible, the privacy filter 6610 may be configured to convert data into a format that may be used to train models but cannot easily be used to reconstruct the conversation. Examples of how anonymous, nonreversible data may be created and used to train an ASR system may include:
An example of using statistics to train models includes example operations provided below which may be performed by the components of the environment 6600:
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations and actions, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
The process of training new models may be on-going, continuous, periodic, random, or it may be initiated in other ways. For example, the process may be initiated in response to data being received from transcription units, to a schedule, or to external data being received. The environment 6600 illustrates an embodiment where ASR systems and privacy filters 6004 are tied to the transcription unit 6614, but at least some of these components may be implemented elsewhere such as at the ASR training system 6604, which may be located on the same local network as the transcription units 6614 or remotely, such as at one or more central data processing sites. Modifications, additions, or omissions may be made to the environment 6600 without departing from the scope of the present disclosure.
The method 6700 may begin at block 6702 where a communication session transcription may be received. At block 6704, the communication session transcription or a portion of the communication session transcription may be denormalized. In some embodiments, it may be determined if the communication session transcription is already in a consistent or denormalized format. In response to the communication session transcription is already in a consistent format, the block 6704 may be skipped.
At block 6706, one or more n-grams may be extracted from the communication session transcription. In some embodiments, n-grams may be extracted by identifying a segment of words in the communication session transcription where the segment length is at most n words. An example value for n may be in the range of between about three and ten, although any reasonable number of words may be selected. In some embodiments, for a given value of n, segments of length n−1, n−2, n−3, and so on to a length of one word may also be identified. Each segment may be designated as an n-gram. The n-gram may be extracted from the communication session transcription before the portion of the transcription including the n-gram is deleted or overwritten.
At block 6708, it may be determined for each extracted n-gram if the n-gram exists in the n-gram table. An n-gram table includes a list of n-grams previously identified and counters, where each of the counters is associated with a different one of the n-grams. The values of the counters may indicate the number of occurrences for each n-gram. In response to the n-gram existing in the table, the corresponding counter is incremented at block 6710. In response to the n-gram not existing in the table, the new n-gram is designated as a candidate n-gram and the method proceeds to block 6712.
In some embodiments, an initial n-gram table may have been previously built using transcriptions. In these and other embodiments, the initial n-gram table may be used. Alternatively or additionally, an initial n-gram table may not exist. In these and other embodiments, the initial n-gram table may be built and the counters may be set to zero, another value, or random values for each n-gram. In some embodiments, an initial n-gram table may include n-gram counter values derived from a text corpus. The text corpus may be derived from text generated by a transcription service, text generated by another service, a publicly available corpus or database, information downloaded from websites, or other corpus.
At block 6712, the candidate n-gram may be filtered. In some embodiments, filtering the n-grams may include deleting or redacting personal information, private information, personally identifiable information, or other sensitive information. In some embodiments, an n-gram may be filtered if the n-gram includes at least one specified combination of information. An example of a specified combination of information may be a (a) name, street address, or driver's license number; and (b) information about the individual's health, medical care, financial accounts, or credit history. Another example of a specified combination of information may be (a) a person's financial account number; and (b) an associated password, PIN, security code. Other combinations may include combinations that specify two or more groups of information that, if items from all groups are included in the n-gram, the n-gram may be a candidate for redaction. Multiple combinations may be specified and the n-gram may be filtered if the n-gram includes any of the specified combinations. For example, a candidate n-gram “David's PIN is 1234” may be identified as a filter candidate because it contains a name and a PIN. The n-gram may be deleted, filtered, or otherwise processed using one or more of several methods, including:
A number of criteria may be evaluated when determining whether a term (one or more words) in an n-gram is sensitive, including one or more of:
Since it may not be known whether a term such as a digit string is actually an account number, security code, or other potentially sensitive term, a term may be determined to be sensitive if its format matches one or more of the formats described in the list above. For example, the number 123-456-7890 may be determined to be sensitive because it matches the format of a telephone number, even though a privacy filter may not know whether it is a real telephone number. In some embodiments, a privacy filter may determine that a word is sensitive by comparing it to a table of examples, such as a list of names, medical conditions, key words, etc. Additionally or alternatively, a privacy filter may determine that a word is sensitive from the word in context, which may include one or more words that come before and/or after the word in question. The context may include capitalization and/or punctuation. For example, a neural net, logistic regression, or other classifier such as the examples in Table 9 may input the word and its context and determine that the word is sensitive based on how the word is used. The filter may determine, for example, that “bill” is a name in “I'm Bill Johnson,” but not in “The bill is too high.” In some embodiments, the classifier may be trained on a corpus of text where words are tagged according to their membership in a class such as medical conditions, drug names, etc.
The determination at block 6712 that an n-gram contains one or more pieces of information from the list above may be based on a format or lookup table. For example, the determination that a word is a name may be based on lookup tables containing first and last names. Alternatively, the determination may be based on capitalization of the word, the context in which the word appears, or other criteria. For security and privacy, audio, text, logs, billing records, n-grams, statistics, and other data forms derived from communication session data such as communication session data or calling information that may contain potentially sensitive information may be filtered for privacy, encrypted, held behind firewalls, protected with passwords, and restricted to access by a limited group of people. The security measures may apply to communication session data that is stored, statistics and other information derived from communication session data, and models built using communication session data.
At block 6714, a new n-gram may be created and inserted into the n-gram table. Additionally or alternatively, if creating new n-grams is considered a potential privacy risk, the processing logic may skip block 6714, and only count existing n-grams. If the new or candidate n-gram still exists after filtering for privacy, the n-gram may be added to the n-gram table and the corresponding counter may be set to 1, at block 6710. In some embodiments, when creating a new n-gram, an n-gram record may be created that includes the text of the n-gram and one or more counters. The new n-grams record may also include additional data fields such as a timestamp indicating a time and date of creation. The creation timestamp may be used, for example, in determining whether the n-gram is to be deleted or filtered. A timestamp may take on any of several formats, including the date and time of creation, the number of all types of n-grams or certain types of n-grams counted at the time or since the n-gram was created, the number of seconds since the data collection began, etc. By way of example, the column labeled “N” (for example, the number of n-grams counted since the n-gram was created) in Table 16 below illustrates an example of a timestamp in the n-gram table.
Time stamps may be used, when training a language model to adjust for the duration of time over which an n-gram has been collected. For example, if one n-gram has been counted/detected for over a year and another n-gram was created only one day ago, the relative time spans may be taken into account when estimating conditional probabilities and for training a language model. An example of how this may be done is now provided.
Suppose a trigram, an n-gram where n=3, includes words w1, w2, w3. The conditional probability of w3 given w1 and w2 is P(w3|w1,w2) and may be determined as:
where count(x) is the value of an n-gram counter associated with n-gram x. The language model entry for the n-gram (w1,w2,w3) may include the above conditional probability or a variation thereof such as a log conditional probability.
To account for collection time durations, a first timestamp may be defined as time T(w1,w2,w3) that corresponds to the number of n-grams of all types that have been created or counted since n-gram (w1,w2,w3) was created. A second timestamp may be defined as T(w1,w2) that corresponds to the number of n-grams of all types that have been created or counted since n-gram (w1,w2) was created. The timestamp-adjusted form of the conditional probability may be expressed as
Advantageously, T(w1,w2,w3) may be stored in the record for n-gram (w1,w2,w3) and T(w1,w2) may be stored in the record for n-gram (w1,w2).
Additionally or alternatively, collection time durations may be accounted for by creating a counter for each n-gram and for an n-gram corresponding to the first n−1 words in the n-gram. For example, a record for an n-gram (w1,w2,w3) may include a first counter c3 that indicates how many times (w1,w2,w3) has been counted since (w1,w2,w3) was created, and a second counter c2 for (w1,w2) that indicates how many times (w1,w2) has been counted since (w1,w2,w3) was created. Whenever the n-gram (w1,w2,w3) is detected, c3 may be incremented. Counter c2 may be incremented whenever the n-gram (w1,w2) is detected. The timestamp-adjusted form of the conditional probability may then be determined as
The conditional probability expressed in the above equation may be modified for use in a language model. A language model probability may be derived from the above conditional probability, for example by normalizing the probability by multiplying by a constant or applying a function, by taking the log probability, and/or by interpolating the language model with other language models. Other factors may be included such as multipliers for backoff probabilities and adjustments for cases where counters are too small to provide good estimates.
In some embodiments, if new or candidate n-grams are not used to create n-grams in the n-gram table, the candidate n-grams may be deleted. The steps described above may be performed for each n-gram in a transcription, and when complete, all existing copies of the communication session transcription (including normalized and denormalized versions) used to extract the n-grams may be deleted. Transcriptions, portions of a transcription, and candidate n-grams may be deleted by the processing logic under one or more conditions including:
At block 6716, a language model may be built using n-grams and counters in the n-gram table. The language model may be used, for example, by one or more ASR systems, interpolators, and fusers and to train other language models. At block 6718, the language model being used by ASR systems may be updated with the newly built language model.
In some embodiments, as discussed previously, the n-gram candidates may be filtered. In these and other embodiments, the n-gram candidate may be examined to determine information that may be filtered from the n-gram candidate. In some embodiments, the information that may be determined to be filtered may be sensitive information. The term “sensitive” as used here may include personal information, private information, confidential information, personally identifiable information (PII), sensitive personal information (SPI), etc. Examples of sensitive information may include passport number, date/place of birth, login name or screenname or handle, zip code, state (e.g. Idaho), mother's maiden name, dollar amount of an account balance or previous financial transaction, criminal record, grades, salary amount, or biometrics (face, handwriting).
In response to an n-gram candidate being determined to not include sensitive information, no information may be filtered from the n-gram candidate. In these and other embodiments, the n-gram candidate, may be used to create regular n-gram entries in a regular n-gram table with each regular n-gram entry corresponding to a counter that may be incremented as n-grams associated with the counters are encountered in transcriptions as described in block 6706. In response to an n-gram candidate including sensitive information such that the n-gram candidate may be filtered, the n-gram candidate may filtered.
In some embodiments, filtering an n-gram candidate may include deleting all of the sensitive information in the n-gram candidate, deleting some of the sensitive information to render the n-gram candidate not sensitive, deleting the entire n-gram, replacing all of the sensitive information, such as terms that are determined to be sensitive, with class tags associated with the terms, or replacing some of the sensitive information with class tags to render the n-gram candidate not sensitive. Filtering the n-gram candidates may result in filtered n-grams. The filtered n-grams may be used to train a language model for ASR systems. Examples of various methods that may use filtered n-grams to train a language model are now provided.
For example, one method may use the filtered n-grams to build hierarchal language models with a “top” grammar and one or more sub-grammars. In a hierarchal model, the top grammar may include a normal statistical language model trained from text. In these and other embodiments, class tags that may be included in filtered n-grams may be defined to link the top grammar to sub-grammars that represent classes. For example, consider an n-gram “John is a Democrat.” The potentially sensitive information in the n-gram may include the terms “John” and “Democrat.” The sensitive terms may be replaced with tags. The tags may be associated with classes. For example, the name John may be replaced with a tag of “first” that may be associated with the class for first names and the term “Democrat” may be replaced with a tag of “party” that may be associated with a class for political parties. The filtered n-gram may be created as follows “_first_ is a _party_.” In these and other embodiments, a top grammar may be built or adjusted to include the classes associated with the tags “_first_” and “party_.” Alternatively or additionally, two sub-grammars of the top grammar may be built that may each be associated with one of the new classes. For example, a first sub-grammar may be one named “_first_,” and may include unigrams of names such as, “david,” “john,” “mike,” etc. A second sub-grammar may be named “_party_,” and may include unigrams of different political parties, “democrat,” “republican,” “libertarian,” etc.
In some embodiments, creating and counting n-grams may include counting unigrams, since collecting n-grams of length n may include collecting n-grams of length n−1, n−2, n−3, . . . , 1. As a result, a regular n-gram table may, assuming single terms are not sensitive, include unigrams and probabilities for terms (e.g. “david” and “democrat”) of each class associated with the two sub-grammars.
In some embodiments, an ASR system may be configured to determine probabilities for n-grams including sensitive terms by using language models combined in the hierarchal structure as discussed above. In these and other embodiments, the probability of an n-gram may be determined from the probability of the filtered n-gram multiplied by the probability of a filtered term in the n-gram, given the term's membership in the class. For example, if the probability that a person's first name is john is P(“john”|_first_)=0.017, the probability that a person is a Democrat is P(“democrat”|_party_)=0.31, and the probability of the filtered n-gram is P(“_first_ is a _party_”) is 0.00001, then the ASR system may estimate the probability of the n-gram “john is a democrat” to be
For added security, in some embodiments, the probability of an n-gram estimated from existing n-grams or language models may be multiplied by and/or added to a random value. Random numbers may be multiplied and/or added during n-gram creation and/or updating. In the example above, if r1 and r2 are random numbers, an n-gram probability may be multiplied and added to random numbers as,
P(“John is a Democrat”)=r1*[P(“_first is a _party_”)*P(“john”|_first_)*P(“democrat”|_party_)]+r2
Additionally or alternatively, probabilities may be estimated using counters. For example, the probability of a term in a class may be determined using the counter for the term divided by a counter for the class. The probability of an n-gram may likewise be calculated from the n-gram counter divided by the total number (T) of n-gram counts. For example, suppose 1000 members of the name_ class have been observed and counted, the name “john” has been counted 17 times, 100 members of the _party_ class have been counted, and the word “democrat” has been counted 31 times. Suppose further, out of one billion n-grams, the n-gram “_first is a _party_” has been counted 10,000 times. The probability of the n-gram “john is a democrat” may be determined as
Additionally or alternatively, the language model may contain log probabilities and multiplication steps may be implemented as a summation of log values.
In some embodiments, terms in a class may include not only unigrams (n=1), but also n-grams of other lengths where n>one. For values of n greater than one, n-gram probabilities may be determined as above by multiplying the filtered n-gram probability by the class probability. For example, the probability of the n-gram “David Thomson PIN 1234,” where a full name may be a class, may be determined as P(“David Thomson PIN 1234”)=P(_fullname_ “PIN 1234”)*P(“David Thomson”|_fullname_).
Another method for using filtered n-grams in ASR systems for generating transcription may include determining n-gram probabilities using filtered n-grams and storing them in a “fake” n-gram table or language model. The fake n-gram table may contain probabilities of n-grams that may have not been observed, such as n-grams that have not been extracted from a transcription as described in block 6706. In these and other embodiments, probabilities of n-grams that may have not been observed may be included in a fake n-gram table when the n-grams may be predicted to be relatively likely to occur.
Various methods for creating a fake n-gram table are now provided. For example, in some methods the n-grams may be generated by using the most likely (based, for example, on unigram probabilities) filtered terms from each class and combining them with filtered n-grams. Following the example from above, a fake n-gram table may be constructed by combining the filtered n-gram “_first_ is a _party_” with the 1000 most likely words in the _names_ class and the 20 most likely words in the _party_ class to create 20,000 fake n-grams for “_first_ is a _party_.” The probability for each fake n-gram may be determined as above.
As another example, in some methods the existing n-grams or language models, including, for example, one or more regular, filtered, and (if there are any) fake n-gram tables, may be used to generate a random text corpus and the text may be used (e.g. by counting n-grams in the text) to create a fake n-gram table or to add new fake n-gram entries when a fake n-gram table already exists. As the random text corpus is being built, it may be determined if the frequency of occurrence of n-grams in the random text corpus matches the counts or probabilities of existing n-grams. In response to the frequency of occurrence of n-grams in the random text corpus not matching the counts or probabilities of existing n-grams, probabilities of n-grams being used to create the corpus may be adjusted so that n-gram frequencies of the final corpus may match or substantially match probabilities in the existing n-gram tables.
In some embodiments, the size of a fake n-gram table may be managed by including entries with a probability or count above a selected threshold. Additionally or alternatively, an auditor may periodically examine the fake n-gram table to remove n-grams based on criteria such as removing n-grams with probabilities below a selected threshold. Additional methods for pruning or compressing a language model may be used to prune or compress the fake n-gram table.
In some embodiments, filtered n-grams may be used to build a fake n-gram table as described above, but the counters may be initialized to zero. In these and other embodiments, the counters for the fake n-grams may be incremented in response to the fake n-grams being extracted in transcriptions as described with respect to the method 6700. Additionally or alternatively, the counter for each fake n-gram may be initialized to a random number instead of to zero. In these and other embodiments, initializing the counters to random numbers may obscure which counters have been incremented since the counters were created. Obscuring which counters have been incremented since the counters were created may provide one method to help protect the privacy of the sensitive information in the n-grams.
In some embodiments, the distribution of random numbers applied to the counters of the fake n-grams may be uniform, normal, Poisson, Cauchy, exponential, geometric, or binomial, among other distributions. In some embodiments, the distribution mean may be zero. In these and other embodiments, when a random number generator is used to generate initial n-gram counts and produces a negative number, the counter may be set to zero or it may be set to a negative value for counting, then set to zero when training a language model.
As another example, in some method filtered n-grams may be used to create a fake n-gram table may include using existing n-grams or language models to predict a value for each fake n-gram counter provide in the fake n-gram table. For example, let T be the total number of n-grams of all types with length n observed. T may alternatively be the number of words observed so far or the total counts of all regular and filtered n-grams. When a fake n-gram is created, the counter associated with the fake n-gram may be set to an estimated value. The estimated value may be equal to T multiplied by the estimated fake n-gram probability. For example, suppose one billion n-grams have been observed at the time a new fake n-gram “john is a democrat” is created. The counter of the fake n-gram may be initialized to:
Alternatively or additionally, the counter of a fake n-gram may be initialized based on the counts of existing counters instead of probabilities. For example, the counter of a fake n-gram may be determined by multiplying the counter associated with the filtered n-gram by the probabilities of each word in each class in the filtered n-gram. For example,
Alternatively or additionally, the counter of a fake n-gram may be initialized based on the counts of existing counters and the total number of words. For example, the counter of a fake n-gram may be determined by multiplying the probability of the filtered n-gram by T and by the counter of each word in the class, divided by the class counter. For example,
In some embodiments, n-gram counters may be rounded to integers or may remain as floating point numbers during creation and during counting. After creation, n-gram counters may be incremented as the n-grams are observed as described in the method 6700. Additionally or alternatively, n-gram counters may not be incremented and may be periodically updated using existing probabilities or counters as described above.
In some embodiments, instead of tracking a counter for each n-gram, fake or real, a probability of the n-grams may be tracked. In these and other embodiments, an initial n-gram probability may be determined, for example as described above. After determining an initial n-gram probability, the probability for a tracked n-gram may be updated each time any n-gram is observed by decreasing the probability slightly when the observed n-gram is not the tracked n-gram and increasing the probability slightly when the tracked n-gram is observed. In these and other embodiments, adjusting the probability of a tracked n-gram may be accomplished by, each time a new n-gram is observed, multiplying the tracked n-gram by a number slightly less than one, such as (1−u), where u is an update rate, and adding a very small number (u) when the tracked n-gram is observed. In some embodiments, to simplify the update process and use fewer resources, such as computing resources, tracking may happen in batches, for example by applying the update after a number (e.g. 1000) n-grams have been observed in production. In these and other embodiments, u may be a very small number such as 1/T. An example is now provided. Suppose an initial probability for “john is a democrat” is determined. Thereafter, each time an n-gram is observed, the “john is a democrat” n-gram probability may be updated as:
In some embodiments, the update term may incorporate a second estimate, P2, of the n-gram probability. This second estimate may be determined using any method, such as those described above, used for creating the initial n-gram probability. The update term may then be the weighted average of the update term above and the second estimate, where B is the weighting factor. In some embodiments, B may be a number between zero and one. For example,
In some embodiments, the regular (non-filtered), filtered, and fake n-gram tables may be built and used separately. Additionally or alternatively, the tables may be combined into fewer tables. In these and other embodiments, each n-gram entry may include an indication that indicates whether the n-gram entry is a regular, filtered, or fake n-gram. Alternatively or additionally, the n-grams may all be put in one table with no indications regarding the type of the n-gram so that information regarding the method and date of creation of each n-gram is deleted.
In the various methods described above for creating n-grams from filtered n-grams as well as other, after creation of an n-gram and an associated n-gram counter, the n-gram counter may be incremented as the n-gram is observed in transcriptions as discussed with respect to the method 6700. Additionally and alternatively, n-grams may be created but not counted. In some embodiments, fake n-grams may be created and counted or not counted. Additionally or alternatively, fake n-grams may be created at various times and using various language models. In some embodiments, after a language model (or n-gram table) is used to create a fake n-gram or to update its counter or probability, that version of the language model may be deleted. For example, a first language model may be used to create an n-gram and may then be deleted, a second language model may be used to update the n-gram counter or probability and may then be deleted, and so on. After n-grams (either in counter form or probability form) are created and/or counted or updated, the n-grams may be used to train language models for use by ASR systems.
In counting and using n-grams and language models and in performing other computational operations, various methods exist and are contemplated for determining and using values of parameters such as counters, probabilities, logs, and products, among other parameters. In these and other embodiments, methods that result in comparable values or that achieve similar results as those discussed above and in this disclosure may be considered as equivalent of the methods disclosed and as within the scope of the disclosure. For example, n-grams may be estimated, stored, and used as counts (e.g., the number of n-grams observed), probabilities (e.g., the probability that an n-gram occurs), log probabilities, conditional probabilities (the probability of a word given its context), etc., and the associated forms and methods for using this different representations of n-grams or n-gram counts may be considered equivalent. As another example, a conditional log probability may be expressed as log P(A|B), log P(AB)/P(B), or log P(AB)−log P(B). In these and other embodiments, the different expressions of the conditional log probabilities may be used with a similar result and may be considered equivalent. Also, a language model may take any of several forms, including an n-gram table, n-grams converted to probabilities, log probabilities, or conditional probabilities, exponential language models, and language models with additional features such as smoothing, interpolation, and backoff probabilities, among other language model forms, all of which may be considered equivalent and contemplated types of language models.
The above steps may be generalized to other language model construction methods, including methods for training language models that use backoff probabilities, and to other n-gram lengths (i.e., lengths other than n=3 or n=4). The steps may be used to train other types of models such as acoustic models, confidence models, capitalization models, punctuation models, pronunciation models, feature extraction or transformation models, or other types of models.
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations and actions, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
The method 6800 may begin at block 6802 where one or more transcribed words may be received and an n-gram may be extracted from the received transcription. The method 6800 may simultaneously branch into two processes at blocks 6804 and 6806. Although the branches may be performed simultaneously, the branch that begins with block 6804 is discussed first.
At block 6804, it may be determined if the extracted n-gram exists in the n-gram table. In response to the n-gram existing in the n-gram table, at block 6806, the corresponding n-gram counter may be incremented. At block 6808, the incremented count may be compared to a threshold q. In response to the n-gram count not being greater than q, the n-gram may be maintained in the n-gram table but may not be used to train the language model. In some embodiments, the variable q may be a minimum occurrence threshold and may depend on n (the length of the n-gram) and other factors. In response to the counter being greater than q, at block 6810, the n-gram and the associated counter may be provided to a language model trainer where the n-gram may be used to train the language model.
Returning to block 6804, if is determined that the extracted n-gram does not exist in the n-gram table, at block 6812 it may be determined if the extracted n-gram includes a first and last name. In response to the extracted n-gram not including a first and last name, at block 6814, the extracted n-gram may be created and stored in the n-gram table. In some embodiments, the step of creating an n-gram table entry may include creating or incrementing n-gram entries of length n, n−1, n−2, n−3, etc., with the associated counters of any new n-grams set to one or some other number.
In response to the extracted n-gram including a first and last name, the method 6800 may proceed to block 6816. At block 6816, a filtered entry for the n-gram may be created in the n-gram table. The first and last name may be filtered by replacing the first name with “_FIRST_” and the last name with “_LAST_.” Although the depicted embodiment illustrates steps for filtering a first and last name, any of the methods for detecting and filtering sensitive information described above may be implemented at blocks 6812 and 6816. Alternatively, the n-gram may be deleted without updating the table.
Returning to block 6806, it may be determined whether a first party (“P1”) has provided consent to be recorded. If the determination is “no” then no recording is made. At block 6818 it may be determined if consent has been received from the transcription party (“P2”), and whether consent is necessary (i.e., if P1 and P2 are from one-party states/countries, consent of P2 may not be required). In response to consent being necessary and not provided, no recording may be made. In response to consent not being necessary or consent being necessary and being provided, the method 6800 may proceed to block 6820.
At block 6820, it may be determined if the communication session data (e.g., audio, transcription, n-gram, etc.) include sensitive information, such as private or personal information. In response to the communication session data including sensitive information, the method 6800 may proceed to block 6822. In response to the communication session data not including sensitive information, the method 6800 may proceed to block 6824.
At block 6822 the sensitive data may be deleted or filtered. The sensitive data may include n-grams, audio, text, logs, etc. Data to be recorded may depend on the type of consent obtained by the relevant party. Text may be filtered by deleting at least some of the sensitive portions of the text. Audio may be filtered by identifying sensitive portions of the text, using an ASR to align the text with the audio, and deleting the segments of audio aligned with the sensitive portions of the text. In some embodiments, the processing logic redacts or deletes the n-gram in a manner similar to that described above with reference to
At block 6824, at least a portion of the communication session data is recorded. In some embodiments, the communication session data may be periodically purged or filtered. For example, an analysis of n-grams in the n-gram table may be performed to identify age and size periodically, randomly, or in response to an event. For example, if the age of an n-gram and its associated counter meet a set of selected criteria, then the n-gram may be deleted or filtered. For example, if an n-gram is over X weeks old and the counter is less than Y, then the n-gram may be deleted or filtered.
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations and actions, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
The transcription unit 6914a may provide a transcription to denormalizer 6906. The denormalizer 6906 may denormalize the transcription and provide the denormalized transcription to a privacy filter 6910. The privacy filter 6910 may be configured to remove sensitive information. The privacy filter 6910 may provide the transcription to an n-gram counter 6908 configured to extract n-grams from the transcription and count the number of occurrences for each n-gram. Additionally or alternatively, the n-gram counter 6908 may also perform other n-gram processing functions shown in
In some embodiments, the denormalizer 6906, the privacy filter 6910, and n-gram counter 6908 may be part of the transcription unit 6914a. Alternatively or additionally, the denormalizer 6906, the privacy filter 6910, and n-gram counter 6908 may be part of another system.
The transcription units 6914b-d may be configured to generate transcriptions. N-grams from the transcriptions may be exacted and the number of occurrences for each n-gram may be counted to form local n-gram tables. The local n-gram tables may also be uploaded to the n-gram accumulator 6902. In these and other embodiments, the transcription units 6914b-d may include elements analogous to the denormalizer 6906, the privacy filter 6910, and n-gram counter 6908. Alternatively or additionally, the transcription units 6914b-d may share elements analogous to the denormalizer 6906, the privacy filter 6910, and n-gram counter 6908.
The n-gram accumulator 6902 may be part of a central n-gram server 6904 and may be configured to collect and total n-grams, n-gram counts, timestamps, and other fields in n-gram records from multiple transcription units 6914. The steps of accumulating n-grams may include, for each n-gram received from a local n-gram table:
In some embodiments, a second privacy filter 6930 may be implemented in the central n-gram server 6904 and configured to provide privacy in addition to or instead of that offered by the privacy filter 6910. The second privacy filter 6930 may be applied to n-grams either before or after the master n-gram table is updated. A language model trainer 6932 may train a language model and transmit the language model to one or more ASR systems and/or fusers in the transcription units 6914. Additionally or alternatively, the transcription units 6914 may transmit transcriptions to the central n-gram server 6904, which may include a denormalizer, a privacy filter, and local n-gram counters analogous to the denormalizer 6906, the privacy filter 6910, and n-gram counter 6908.
Additionally or alternatively, the transcription units 6914 may stream audio to the central n-gram server 6904 that may perform speech recognition, then extract, count, and create n-grams. One or more ASR systems on the central n-gram server 6904 may return a transcription to the respective transcription units 6914. Modifications, additions, or omissions may be made to the environment 6900 without departing from the scope of the present disclosure.
The method 7000 may begin at block 7002, where first audio data of a communication session between a first device of a first user and a second device of a second user may be obtained. The communication session may be configured for verbal communication. At block 7004, during the communication session, a text string that is a transcription of the first audio data may be obtained from an automatic transcription system.
At block 7006, during the communication session, a contiguous sequence of words may be selected from the text string as a first word sequence. In some embodiments, the text string may be denormalized before selecting the contiguous sequence of words as the first word sequence.
At block 7008, during the communication session, the first word sequence may be compared to multiple word sequences obtained before the communication session. In these and other embodiments, each of the multiple word sequences may be associated with a corresponding one of multiple counters.
In response to the first word sequence corresponding to one of the multiple word sequences based on the comparison, the method 7000 may proceed to block 7010. In response to the first word sequence not corresponding to one of the multiple word sequences based on the comparison, the method 7000 may proceed to block 7016.
At block 7010, during the communication session, a counter of the multiple counters associated with the one of the multiple word sequences may be incremented. In some embodiments, each one of the multiple counters may indicate a number of occurrences that a corresponding one of the multiple words sequences is included in multiple transcriptions of multiple communication sessions that occur between multiple devices. In these and other embodiments, the multiple devices may not include the first device and the second device.
At block 7012, after incrementing the counter of the multiple counters, the text string and the first word sequence may be deleted. In these and other embodiments, the first word sequence may be deleted during the communication session. Alternatively or additionally, the text string may be deleted during the communication session.
At block 7014, after deleting the text string and the first word sequence, a language model of the automatic transcription system may be trained using the multiple word sequences and the multiple counters. At block 7016, the first word sequence may be added to the multiple word sequences. At block 7018, a counter for the first word sequence may be created and updated to a value of one.
Modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations and actions, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
For example, the method 7000 may further include selecting a second contiguous sequence of words from the text string as a second word sequence and comparing the second word sequence to the multiple word sequences. The method 7000 may further include in response to the second word sequence not corresponding to any of the multiple word sequences based on the comparison, adding a third word sequence based on the second word sequence to the multiple word sequences and adding a second counter with a count of one to the multiple counters that is associated with the third word sequence of the multiple word sequences. In these and other embodiments, training the language model of the automatic transcription system using the multiple word sequences and the multiple counters may occur after adding the second word sequence to the multiple word sequences.
In some embodiments, the third word sequence may be the same as the second word sequence, the third word sequence may include fewer words than the second word sequence, or the third word sequence may include a replacement word that is a generic word of one of the words in the second word sequence. In these and other embodiments, the replacement word may be used in place of the one of the words in the second word sequence such that the third word sequence and the second word sequence may include a same number of words.
In some embodiments, the one of the words in the second word sequence may be replaced based on the one of the words meeting a sensitive criteria. In these and other embodiments, removal words removed from the second word sequence to generate the third word sequence that includes fewer words than the second word sequence may be removed based on the removal words meeting the sensitive criteria.
In some embodiments, the method 7000 may further include adding the one of the words in the second word sequence that is replaced by the replacement word to the multiple word sequences and adding a third counter with a count of one to the multiple counters that is associated with the one of the words in the second word sequence.
In some embodiments, a transcription unit 7114 may generate a transcription based on audio and send the transcription to the denormalizer 7130. The denormalizer 7130 may denormalize the transcription and forward the denormalized transcription to a neural net trainer 7104. In some embodiments, the neural net trainer 7104 may use the denormalized transcription to train the neural net language model 7102 using gradient descent, back propagation, or another method for training neural nets. Once training from a transcription is complete, the transcription may be deleted. The neural net trainer 7104 may then continue with a second transcription. In some embodiments, training for a transcription may be considered complete when a selected number of training iterations have been performed. The number of training iterations may be one. Additionally or alternatively, training may be considered complete when the communication session producing content for the transcription ends, such as when one or both parties disconnect or when transcription delivery to user devices ends. Additionally or alternatively, training may be considered complete when training on a second transcription begins. The neural net trainer 7104 may provide the neural net language model 7102 to the transcription unit 7114 for use in the ASR system, fuser, rescorer, or other element.
In some embodiments, the neural net trainer 7104 may be configured to train on a pool of training data including transcriptions from multiple ongoing communication sessions from multiple transcription units. For example, a first pool of training data may include a neural net training mini-batch. The neural net trainer 7104 may run training iterations on part or all of the first pool of training data as long as the ongoing communication sessions continue. After one or more of the ongoing communication sessions end, the transcription for that communication session is removed from the first pool of training data and is no longer used by the neural net trainer 7104. After a new communication session begins, a transcription for the new communication session is added to a first pool or to a second pool of training data. The end of a communication session may be variously defined as the point where one party disconnects, multiple parties disconnect, a particular party disconnects, the transcription service stops sending transcriptions to a user device, a selected amount of time after one or more parties disconnect, or an ongoing training iteration using data from the communication session is complete, among others. In these and other embodiments, the neural net language model 7102 may be provided to the transcription units for use in ASR systems, fusers, and rescorers, among other elements.
In some embodiments, after a neural net language model 7102 has been constructed, a synthetic text generator 7106 may use the neural net language model 7102 in a generative mode to create n-grams or synthetic transcriptions. In these and other embodiments, synthetic transcriptions may include pseudo-random strings of words where the frequencies of word strings are based on word combination probabilities defined by the neural net language model 7102. The synthetic text may be stored in a database 7108. The synthetic text may be used to train a second language model such as an n-gram based language model by a language model trainer 7112.
In some embodiments, the second language model may be improved by combining the second language model with other language models 7124 with an interpolator 7110 to create an updated language model. Examples of other language models may include the neural net language model 7102, a language model built based on a first party's voice or content, a language model based on a second party's voice or content, a language model based on communication session data from a specific account type such as business communication sessions, a commercially available language model or language model built from commercially available data, a language model built from a prior transcription service or from another service, a language model built from data from a group of communication sessions where the group is defined using a clustering method, a language model built from text sources, or a generic language model built from multiple sources of text (see also
In some embodiments, the environment 7100 may be configured to provide a set of multiple language models such as the neural net language model 7102, the second language model, and other language models to the transcription unit 7114. The elements in the transcription unit 7114 may use multiple language models in place of a single language model, for example, by determining a conditional probability based on a weighted sum of the conditional probabilities determined by each of the multiple language models.
In some embodiments, the updated language model and/or the neural net language model 7102 may be used by an ASR system 7120 in the transcription unit 7114 to generate a transcription. Additionally or alternatively, the neural net language model 7102 may be used by the ASR system 7120 to generate a transcription and the second language model and/or updated language model may be used by the ASR system 7120 to generate multiple transcription hypotheses. The multiple transcription hypotheses may be in the form of, for example, an n-best list, WCN, or lattice. In these and other embodiments, the environment 7100 may use the neural net language model 7102, via a rescorer 7140, to select the best hypothesis among the possibilities provided by the ASR system 7120 and to use this best hypothesis as the transcription.
Modifications, additions, or omissions may be made to the environment 7100 without departing from the scope of the present disclosure. For example, although
In some embodiments, the accumulator 7204 may use adapted models to generate a set of parameter updates which may be used to update a master model 7208. For example, the accumulator 7204 may determine an updated model parameter by averaging across values of the parameter in models received from the multiple trainer devices 7202. The master model 7208 may be transmitted back to the trainer devices 7202 for additional iterations. The master model 7208 may be transmitted to the transcription units 7214 for use by the transcription units 7214. An example of the operations executed by the model trainer 7206 may include:
As discussed above, the operations describe that the accumulator 7204 may combine model updates or updated models. In this disclosure, the terms model updates and updated models may be interchangeable. Alternatively or additionally, a method creating or using one of the terms model updates and updated models may be synonymous with creating or using the other of the terms model updates and updated models. Generally, updated models may be described as models where parameters or other model features have been updated. Model updates may be described as a set of information, such as a set of features values, adjustments, or values to be used to modify a model, for updating the model. Based on these descriptions, an updated model may simply replace a previous model where a model update may be a set of instructions for updating a model. In either case, the end result is an updated model, however the result may be achieved with slightly different processing. Thus, embodiments that discuss a model update may also be performed using an updated model or vice versa without departing from the scope of the present disclosure or without detracting from the essence of the disclosed embodiments.
Additionally, the operations described above may be used to train various types of models such as language models, acoustic models, and neural network implementations of models. The trainer devices 7202 and the accumulator 7204 are illustrated as residing in a central location, namely the model trainer 7206; however, the trainer devices 7202 and the accumulator 7204 may run in other locations such as on the transcription units 7214.
Furthermore, modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
In some embodiments, the environment 7200 may train the master model 7208 and/or one or more of the models in the trainer devices 7202 on-the-fly. In these and other embodiments, the models may be updated with communication session data as the communication session data is created and before the communication session data is deleted. The deletion of the communication session data may occur during the communication session, at the end of the communication session, or shortly after the end of the communication session and may be before a new set of data is received and used to train the model. Additionally or alternatively, the communication session data may be stored and the training of the models may occur at any time.
Modifications, additions, or omissions may be made to the environment 7200 without departing from the scope of the present disclosure. For example, in some embodiments, the model trainer 7206 may include a data collector. The data collector may collect the data, for example transcriptions and audio from the transcription units 7214. The collected data may then be distributed to the individual trainer devices 7202.
In some embodiments, the first ASR call module 7450 and the second ASR call module 7452 may each be configured with interfaces to one or more remote ASR APIs 7404. For example, the first ASR call module 7450 may forward audio to the ASR API 7404, which in turn may pass the audio to the ASR cluster 7402. The ASR cluster 7402 may generate a transcription and return the transcription to the ASR API 7404. The ASR API 7404 may be configured to return the transcription to the first ASR call module 7450 where the transcription may be used by the transcription unit 7414 as described above.
In some embodiments, the ASR API 7404 (and, depending on the configuration, ASR systems in the ASR cluster 7402) may forward data from the transcription unit 7414 and from the ASR cluster 7402 to the model trainer 7430. The model trainer 7430 may use the data to create or update one or more ASR models. The environment 7400 may be configured to train models on-the-fly or based on stored data. As described above, the output of the transcription unit 7414 may be enhanced with punctuation and capitalization using a module 7462 and may be sent to a user device as a transcription.
An example implementation of the steps executed by the environment 7400 may include:
In some embodiments, the model trainer 7430 may use the CA profile 7422 or a caller profile 7410 of one or more callers of a communication session that generates the audio, such as the transcription party, for training a model for use by multiple speakers. In these and other embodiments, the caller profile 7410 may contain a model and/or information used to train a model. The ASR system 7420 may adapt to a CA's voice and may save training or adaptation information in the CA profile 7422. Likewise when an ASR system, such as the first ASR call module 7450, adapts to a caller's voice, such as to a particular transcription party, the ASR system may save training information in the caller profile 7410. The training information may be saved in the CA profile 7422 and the caller profile 7410 may be part of a speaker-dependent model or it may include information to be used for training or adapting a speaker-independent ASR model, among other types of ASR models.
In some embodiments, a profile manager 7460 may save and distribute the CA profiles 7422 and/or caller profiles 7410. For example, when a CA logs onto a CA workstation, the CAs profile 7422 may be downloaded from the profile manager 7460 and used by the ASR system 7420 to generate transcriptions of the revoiced audio. As another example, when communication session audio is transmitted to an ASR system, a caller may be identified, such as by the caller's device identifier, and the profile corresponding to the caller may be downloaded from the profile manager 7460. The profile of the caller may be provided to the ASR system to be used to generate transcriptions based on audio that includes the caller's voice. In some embodiments, the profile manager 7460 may upload one or more caller profiles 7410 or CA profiles 7422 to the model trainer 7430. The profile manager 7460 may select a subset of one or more CA profiles 7422 based on performance, accuracy, skills, experience, location, or other characteristics of the associated CA to be sent to the model trainer 7430. The model trainer 7430 may use the one or more profiles or the subset to train ASR models, which may then be used to transcribe audio for one or more parties. In some embodiments, the model trainer 7430 may use language model parameters or statistics extracted from at least the subset of CA profiles 7422 to train a new language model. For example, the model trainer 7430 may extract probabilities or n-grams from multiple CA profiles 7422, average or total the probabilities or n-grams, and convert the averages or totals into a language model. The language model may be used to update multiple CA profiles 7422. Additionally or alternatively, the probabilities, n-grams, or new language model may be used to generate text data and the ASR system 7420 may train or adapt a language model based on the generated text data. An example of using profiles to train ASR models may be implemented as follows:
In some embodiments, the profile manager 7460 may upload one or more caller profiles 7410 and provide the profiles to the model trainer 7430. Each caller profile 7410 may, for example, be a profile adapted to a specific transcription party voice. The caller profile 7410 may be used to train a speaker-dependent ASR system for use with the caller's voice. Alternatively or additionally, the caller profile 7410 together with other caller profiles may be used to train a speaker-independent ASR system adapted to multiple voices and used to recognize multiple voices. An example follows:
Modifications, additions, or omissions may be made to the environment 7400 without departing from the scope of the present disclosure. Additionally or alternatively, one or more of the first ASR call module 7450 and the second ASR call module 7452 may be replaced with a regular ASR system.
In some embodiments, the fused transcriptions may also be provided to a model trainer 7522. The model trainer 7522 may use the fused transcription to train or adapt one or more models 7504. For training acoustic models, the ACD 7530 may also transmit the audio signal to the model trainer 7522. When recording of the audio is allowed, the model trainer 7522 may train the models 7504 from information from multiple stored communication sessions. When recording of the audio is not allowed, the model trainer 7522 may update the models 7504 on-the-fly, using, for example gradient descent or other iterative methods (see
The model trainer 7606 may distribute the data to a model updater 7602. The model updater 7602 may include CPUs, GPUs, or other vector processors. The model trainer 7606 may also provide the master model 7608, or a portion thereof, to the model updater 7602. The model updater 7602 may adapt model parameters based on the data and a master model 7608 and transmit updates back to the model trainer 7606 for updating the master model 7608.
In some embodiments, the model updater 7602 may include multiple updaters. In these and other embodiments, the model updater 7602 may provide a portion of the data to each of the updaters. The model trainer 7606 may also transmit at least part of the master model 7608 to each updater. In these and other embodiments, the updaters may each include model parameters based on the data and the master model 7608 and transmit the updates back to the model trainer 7606. The model trainer 7606 may use updates from the model updaters 7602 to update the master model 7608.
In some embodiments, the model trainer 7606 may download multiple speaker-dependent models, each trained to their respective CA or calling party, from model updaters 7602. The model trainer 7606 may combine the speaker-dependent models to create or update the master model 7608. In some embodiments, parameters in the speaker-dependent models may be averaged to generate corresponding parameters in the master model 7608. Additionally or alternatively, speech samples may each be presented to multiple speaker-dependent models for transcription. Transcriptions for a given speech sample may be fused to create a high-accuracy transcription, which may be used to train the master model 7608.
After being adapted, the master model 7608 may be distributed to the transcription units in the processing centers 7601 for use in transcription of communication sessions. The distribution may be triggered by completion of a new master model or by a request from transcription units. In these and other embodiments, a transcription unit may query the model trainer 7606 to determine if a model update is available. The response to the query may include the current and/or new model version number.
In some embodiments, only part of the master model 7608 may be distributed to transcription units such as when only part of the master model 7608 has been updated. In these and other embodiments, the transcription units may use a previous copy of other parts of the master model 7608 to generate transcriptions of audio. For example, transcription units may use an existing acoustic model together with an updated language model received from the model trainer 7606.
In some embodiments, each transcription unit may transcribe audio from a single communication session or multiple transcription units may work together to transcribe audio from a single communication session. In these and other embodiments, the transcriptions from multiple transcription units transcribing a communication session may be fused together to create a higher-accuracy transcription. The higher-accuracy transcription may be provided to the model trainer 7606 for use in updating or training the master model 7608.
Modifications, additions, or omissions may be made to the environment 7600 without departing from the scope of the present disclosure. For example, in some embodiments, each of the processing centers 7601 may include a model updater. The arrangement of each processing center 7601 including a model updater may allow excess capacity computing systems in the processing centers 7601 to be used for training models. In these and other embodiments, the model updater in each processing center 7601 may communicate with the model trainer 7606 to obtain the master model 7608 or parts thereof or to send updates of the master model 7608 thereto.
In these and other embodiments, the environment 7800 illustrates an example of distributed training of models for ASR systems. Various embodiments of distributed training may be implemented in the environment 7800, including:
Modifications, additions, or omissions may be made to the environment 7800 without departing from the scope of the present disclosure.
In some embodiments, the model updater 7902 may be configured to communicate with a model trainer 7906 that may include a master model 7918. In these and other embodiments, the master model 7918 may be distributed, in part or in whole, to model updater 7902 and other model updaters on other devices or servers for training. In some embodiments, the model updater 7902 and the other model updaters may send adapted models to a model combiner 7908 of the model trainer 7906 that may combine the adapted models to generate updated master models 7918.
In some embodiments, the model updater 7902 may generate an adapted model based on local data. The local data may include data from a device that includes the model updater 7902. For example, the local data may include communication session data such as audio, a transcription of the audio, log information such as a speaker's identity and a phone number, or other device identifier data, among other data. In some embodiments, the communication session data may be from a current communication session. Additionally or alternatively, the local data may be from previous communication sessions. In some embodiments, the model updater 7902 may generate an adapted model based on remote data. The remote data may include previously stored communication session data or communication session data from other devices. In some embodiments, the model updater 7902 may perform operations including:
Various other devices, such as the devices 7804 of
In some embodiments, the model combiner 7908 may be configured to receive multiple adapted models that each have substantially the same topology. In these and other embodiments, the model combiner 7908 may use weights or parameters at a given location in each adapted model to determine a weight or parameter at the same location in an updated master model. The model combiner 7908 may perform a similar procedure for other weights or parameters in other locations in the adapted models.
For example, if a first adapted model includes a matrix of weights W1 from a first model updater and a second adapted model includes a matrix of weights W2 from a second model updater, then the model combiner 7908 may determine new master model weights using element-by-element addition of the two matrices. In matrix notation, for example, where W1 and W2 are 2×2 matrices,
then the master model weight W may be determined as
Models may include acoustic models, language models, neural network weights, or end-to-end ASR models. The model training may occur on-the-fly or from stored data.
In some embodiments, at least part of the model updater 7902 may be included in or share resources, such as memory or processing, with an ASR system, user device, server, transcription party device, or CA client, among other devices. In this manner, the model updater 7902 may use processing resources not being used during communication sessions at particular times, such as during or between communication sessions or during off-peak hours. The process of transmitting the master models 7918 to the model updater 7902 and transmitting adapted models from the model updater 7902 to the model trainer 7906 may include one or more forms of compression, for example:
Modifications, additions, or omissions may be made to the environment 7900 without departing from the scope of the present disclosure.
In some embodiments, the model trainer 8016 may transmit at least part of a master model 8018, designated here as a pre-adapted model, to the model updater 8002. The pre-adapted model may be a compressed form of at least part of the master model 8018. The model updater 8002 may adapt at least part of the master model 8018 and generate an adapted model, which the model updater 8002 may return to the model trainer 8016. The model trainer 8016 may use the adapted model to adapt the master model 8018. In some embodiments, the model trainer 8016 may transmit a pre-adapted model to multiple model updaters 8002, receive adapted models from the multiple model updaters, and use the adapted models to adapt one or more master models 8018.
In some embodiments, the model updater 8002 may compress or quantize the adapted model before sending the adapted model to the model trainer 8016. The model updater 8002 may be configured to store any quantization error in the adapted model and include the error as an input to a quantizer 8014 next time an adapted model is generated and sent. In this manner, quantization errors in a given adapted model may be corrected in subsequent updates. An example of operations for adapting and quantizing models for transmission may include:
The illustration and above description pertain to sending updates from the model updater 8002 to the model trainer 8016. The method described, including compression, quantization, sending select portions of a model or signal, and use of a residual signal, may also be used for sending the pre-adapted model from the model trainer 8016 to the model updaters 8002. Models may include acoustic models, language models, neural networks, end-to-end ASR models, capitalization models, punctuation models, or other models. Model training may occur on-the-fly or from stored data. Modifications, additions, or omissions may be made to the environment 8000 without departing from the scope of the present disclosure.
In some embodiments, a model may be divided into multiple segments (model18102, model28104, model38106) and placed in series. Connections shown here as lines may represent signal paths between nodes and may include weights, so that each signal may be multiplied by a weight as it traverses the signal path. Select model segments may be updated or may be updated frequently while other segments may remain static or may be updated less frequently. For example, a first portion of a DNN acoustic model, shown as model18102, may be particularly sensitive to speaker differences and therefore may be trained based on a specific speaker's voice or on a group of speakers such as a group of speakers using the same communication device, while model28104 and model38106 may remain unchanged or may be updated less frequently.
For an acoustic model, the input to model18102 may be speech features and the output may be probabilities such as phoneme or other subword probabilities. For a language model, the input may be words, encoded words, or words embeddings and the output may be conditional word probabilities. For an end-to-end ASR system, the input may be speech samples or speech features and the output may be one or more words, characters, or subwords.
The illustration of models model18102, model28104, and model38106 as feed-forward neural nets, the number of nodes and connections shown, and the examples of inputs and outputs described above are provided as examples. Other forms of models and other inputs and outputs may be used. Model segments are illustrated here in series; however, other topologies are contemplated, including model segments in parallel as illustrated in
The model segments are illustrated as including neural networks, however, the model segments may include other model forms including Gaussian mixture models, recurrent neural networks, linear estimators or classifiers, and classifiers or estimators using kernel methods such as support vector machines. Additional examples are listed in Table 9.
An example implementation for training models may include the following operations:
Furthermore, modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
In some embodiments, the switched models 8304 may each be trained on a different subset of training data or using different training methods. For example, each switched model 8304 may be trained on data from a speaker or group of speakers. A data set may be divided into multiple training sets based on speaker age, phone number, gender, accent, language, voice patterns, bandwidth, noise level, compression method and bit rate, topic, historical accuracy, etc., and using one or more methods such as those shown in Table 4. Each training set may be used to train one or more switched models 8304 while model A 8302 and model B 8306 may be trained on multiple training sets. An example of a training set may be a speaker cluster, which may be a group of speakers that sound alike or have similar voice characteristics. After creation, each switched model 8304 may be further adapted by training to the speaker or speakers associated with that switched model, such as training to voice samples or transcriptions from an ongoing communication session or from recorded data from previous communication sessions.
In some embodiments, a switch A 8308 and a switch B 8308 may connect one of the switched models 8304 between model A 8302 and model B 8306. The selection may be, for example, based on one or more of:
As with
In some embodiments, the environment 8400 may be configured to obtain data that may be used to train models, such as ASR models. The data may include audio and text of the audio. The audio may be regular audio or revoiced audio. Alternatively or additionally, the data may include a series of speech samples extracted from the audio. The speech samples may be extracted during frames of the audio. The frames may by 2, 5, 7, 10, 15, 20, 30, 40, or 50 milliseconds, among other lengths. The text may include a series of words representing the transcription of the audio. Alternatively or additionally, the data may further include a set of endpoints that may include time markings indicating points in time in the audio, such as where each word or subword from the text begins and ends in the audio.
In some embodiments, the audio may be provided to a feature extractor 8430. The feature extractor 8430 may be configured to extract features from the audio. In some embodiments, the feature extractor 8430 may extract features from the audio for each frame of the audio. Thus, the features may correspond to frames of the audio. The features may include samples, spectral coefficients, MFCCs, or cepstral coefficients, among other features. The feature extractor 8430 may provide the features to a feature transformer 8432. The feature transformer 8432 may be configured to convert the features to a transformed feature set. In some embodiments, the feature transformer 8432 may use a DNN, MLLR matrix, or fMLLR matrix.
In some embodiments, the feature transformer 8432 may provide the transformed feature set to a model processor 8402. The model processor 8402 may be configured to apply a model that is to be trained to the transformed feature set. In these and other embodiments, the model being trained may include a set of weights or parameters and the model processor 8402 may be viewed as the processor that implements the model and that adjusts the weights or parameters of the model to train or adjust the model. For example, the model processor 8402 may be configured to use the model being trained to map input features x1, x2, x3, . . . , xQ from the transformed feature set to output parameters a1, a2, . . . , aL. For example, the model processor 8402 may obtain one or more features from the transformed feature set and output a set of probabilities. In these and other embodiments, each of the probabilities of the set of probabilities may correspond to a probability that an input feature represents a particular phoneme given the context of the particular phoneme. The model processor 8402 may provide the output parameters to an error estimator 8408.
In the embodiment depicted in
In some embodiments, the environment 8400 may include a grapheme-to-phoneme converter 8404. The grapheme-to-phoneme converter 8404 may be configured to receive the text of the audio. The text may include words. The grapheme-to-phoneme converter 8404 may be configured to determine a string of phonemes that correspond to the words. In some embodiments, the grapheme-to-phoneme converter 8404 may include a lexicon, a pronunciation dictionary, and a set of letter-to-sound rules that specify how each word is pronounced. In these and other embodiments, the grapheme-to-phoneme converter 8404 may analyze the words using the lexicon, pronunciation dictionary, and letter-to-sound rules to determine the string of phonemes that corresponds to the words. For example, if an input word is “Bobby,” the grapheme-to-phoneme converter 8404 may output the phoneme sequence “/b/ /aa/ /b/ /iy/” corresponding to the English phonemes that compose the word “Bobby.” The grapheme-to-phoneme converter 8404 may provide the phoneme sequence to an aligner 8422.
In some embodiments, the environment 8400 may further include an ASR system 8420. The ASR system 8420 may be configured to receive the audio and the text from the data obtained by the environment 8400. In these and other embodiments, the ASR system 8420 may also obtain additional data, such as word endpoints. In some embodiments, the ASR system 8420 may use the text as a grammar to be recognized and the audio as the input to generate alignment marks. The alignment marks may indicate a start and an end of acoustic units in the audio. The acoustic unit may correspond to words, phonemes, and/or sub-phonemes. For example, the alignment marks may include start and end times for words, phonemes, and/or sub-phonemes in the audio. In some embodiments, sub-phonemes may be components of a phoneme. For example, the sub-phonemes of the phoneme “t,” may include two sub-phonemes: (a) a closure (the silence before airflow begins) and (b) a plosive (sound created from turbulent airflow that begins once the tongue drops from the hard palate). The ASR system may send the start and the end times of the acoustic units in the audio to the aligner 8422.
The aligner 8422 may be configured to obtain the phoneme sequence and the start and the end of acoustic units in the audio. The aligner 8422 may insert the start and the end of acoustic units in the audio into the phoneme sequence and provide the phoneme sequence with the inserted start and end times to a vectorizer 8406.
In some embodiments, for each frame of the audio as used by the feature extractor 8430, the vectorizer 8406 may generate an idealized representation of the phoneme probabilities of the phoneme in the frame of the audio. In these and other embodiments, the phoneme probabilities may be a probability of “1” for the phoneme present during a given frame of the audio and “0” for all other phonemes.
In some embodiments, the phoneme probabilities may be a probability of the phoneme independent of context. Alternatively or additionally, the phoneme probabilities may be a probability of the phoneme dependent on context referred to context-dependent phonemes. In these and other embodiments, a phoneme dependent on context may be a phoneme in a specified context. For example, a phoneme “/aa/” preceded by a phoneme “b” and followed by a phoneme “b” (i.e., “/b/ /aa/ /b/”) may be a different context than if the phoneme “/aa/” is preceded by a phoneme “b” and followed by a phoneme “d” (i.e., “/b/ /aa/ /d/).
In some embodiments, the vectorizer 8406 may provide an indication of the idealized probability of the phoneme to an error estimator 8408. In some embodiments, the vectorizer 8406 may have one output for each phoneme as illustrated. In these and other embodiments, the indication of the idealized probability of the phoneme provided by the vectorizer 8406 may include placing the output corresponding to the phoneme to “1” and having the rest of the outputs at “0.” The vectorizer 8406 may change the output based on the frame of the audio being analyzed. In some embodiments, when the phoneme probabilities relate to phonemes dependent on context, the number of potential outputs may be large. If there are 41 phonemes, for example, there may be 41*41*41=68921 possible different context-dependent phonemes. To reduce the number of outputs, context-dependent phonemes may be grouped into similar clusters, and contexts that rarely or never occur may be eliminated. As a result, a smaller number of context-dependent phonemes may be provided to the error estimator 8408.
The error estimator 8408 may obtain the output parameters from the model processor 8402 and the indication of the probability of phonemes in the audio from the vectorizer 8406. The error estimator 8408 may determine the value of a cost function between the vectorizer 8406 output and the model processor 8402 output. In some embodiments, the cost function may be a total squared error. For example, if there are L outputs from the vectorizer 8406, the outputs of the vectorizer 8406 may be expressed as yj, j=1, 2, . . . L, and outputs of the model processor as aj, j=1, 2, . . . L, then the squared error may be determined:
Other cost functions such as cross entropy CTC (Connectionist Temporal Classification) loss function, sequential training, and sequence-discriminative training may also be used. The error estimator 8408 may send an error signal to a tuner 8410. The error signal may include a series of values of the cost function for each frame. In these and other embodiments, the error signal may be used as a measure of how well the model (e.g. weights or parameters wj) fits the training data. Training a model may include finding a set of model weights that minimizes the error signal.
In some embodiments, the tuner 8410 may be configured to adjust model parameters of a model being implemented by the model processor 8402 to reduce the cost function. Adjusting the model parameters may include training the model. The adjustment may happen iteratively based on methods such as gradient descent where an update equation is defined. For example, if wj is a parameter to be adjusted and μ is a learning rate, then, with each new data sample or batch of data samples, the model parameter may be modified based on the update equation,
For faster computation, methods such as the chain rule and backpropagation may also be used. The model trained by the model processor 8402 may be used by other ASR systems, integrated into other models, and/or used by the model processor 8402 during generation of transcriptions.
On-the-fly training methods disclosed herein for acoustic models (e.g.
The method 8500 may begin at block 8502, where first audio data of a first communication session between a first device of a first user and a second device of a second user may be obtained. In some embodiments, the first communication session may be configured for verbal communication.
At block 8504, during the first communication session, a first text string that is a transcription of the first audio data may be obtained. In some embodiments, the first text string may be generated using automatic speech recognition technology. In these and other embodiments, the automatic speech recognition technology may generate the first text string using revoicing of the first audio data.
In some embodiments, the first text string may be generated from one or more words of a second text string and one or more words of a third text string. In these and other embodiments, the second text string and the third text string may be generated by automatic speech recognition technology.
At block 8506, during the first communication session, a model of an automatic speech recognition engine may be trained using the first text string and the first audio data. In some embodiments, the model may be an acoustic model, a language model, a confidence model, or classification model of the automatic speech recognition engine. Alternatively or additionally, the training of the model of the automatic speech recognition engine using the first text string and the first audio data may complete after the first communication session ends.
At block 8508, in response to completion of the training of the model using the first text string and the first audio data, the first audio data and the first text string may be deleted. In some embodiments, the first audio data and the first text string may be deleted during the first communication session. Alternatively or additionally, the first audio data and the first text string may be deleted after the first communication session.
At block 8510, after training the model using the first text string and the first audio data, second audio data of a second communication session between a third device of a third user and a fourth device of a fourth user may be obtained.
At block 8512, during the second communication session, a transcription of the second audio data may be generated by applying the model trained using the first text string and the first audio data. At block 8514, the transcription of the second audio data may be provided to the fourth device for presentation during the second communication session.
Furthermore, modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations, or expanded into additional operations without detracting from the essence of the disclosed embodiments.
For example, the method 8500 may further include providing the transcription of the first audio data to the second device for presentation by the second device during the first communication session. As another example, the method 8500 may further include training, during the second communication session using a second text string of the transcription of the second audio data, a second model used by automatic speech recognition technology and in response to completion of the training of the second model using the second text string and the second audio data, deleting the second audio data and the second text string.
In some embodiments, the tunable acoustic models 8602 and tunable language models 8604 may be tuned to improve quality of transcriptions generated by the system 8600. Improving the quality may include reducing errors and/or improving other characteristics of the transcriptions. The tunable acoustic models 8602 and tunable language models 8604 may be tuned, e.g., adjusted, for a given communication session, speaker, or group of speakers. For example, the system 8600 may evaluate a first portion of a communication session and adapt one or more models or tuning parameters to improve accuracy during a second portion of the communication session. The tunable acoustic models 8602, the tunable language models 8604, and other parameters may be tuned using one or more of several methods, including:
In some embodiments, the system 8730 may select an acoustic model from among the acoustic models 8740 depending on characteristics of the event that is generating the audio, such as a communication session. Alternatively or additionally, the system 8730 may select from among the acoustic models 8740 based on knowledge of the speaker represented in the audio, historical information regarding one or more speakers in the communication session, characteristics of the communication device that captures the voices of the speakers, or other factors (see
In some embodiments, the acoustic models 8740 may include a static (i.e., parameters are constant) acoustic model. In these and other embodiments, the static acoustic model may be used in combination with other selected acoustic models or alone. Alternatively or additionally, the acoustic models 8740 may include a dynamic acoustic model (see
In some embodiments, the system 8730 may be configured to interpolate, at an adder 8712, multiple language models 8710 to create an interpolated language model. In some embodiments, a set of interpolation weights may determine the degree to which each language model is weighted in constructing the interpolated model. For example, two models, one trained on data collected from a transcription service and one trained on data collected elsewhere, may be interpolated together to form an interpolated model.
Alternatively or additionally, the system 8730 may not include the adder 8712. In these and other embodiments, multiple language models 8710 may be transmitted to the ASR system 8720 and the ASR system 8720 may effectively perform language model interpolation by combining the outputs of the multiple language models. Additionally or alternatively, the ASR system 8720 may use interpolation weights in combining the outputs of language models, such as by weighting a given conditional word probability from each of multiple language models by the weights for their respective language models, and using the sum of the weighted probabilities.
In some embodiments, additional models may be used for interpolation with the language models. For example, a topic language model based on the conversation topic of the audio for which transcriptions are being generated may be used. The topic may be determined based on data collected from the current event, such as the current communication session including content from a subscription party, a transcription party, or both and from other participants on the current and/or previous communication sessions, and/or from past events. In these and other embodiments, a topic classifier may identify a topic. The topic classifier may identify a topic from a set of defined topics using similarity measures such as tf-idf or cosine similarity or using a method from Table 9. In these and other embodiments, the topic language model may be built, selected, or adapted using the conversation topic identified. Additionally or alternatively, a set of topic language models, each covering one or more conversational topics, may each be built using text pertaining to one or more topics. A topic detector may select one or more topic models for a current communication session, based on features such as analysis of the conversation, of past conversations, characteristics of the participants, and account type, among other features. The selected topic models may be used individually, interpolated together, or interpolated with other language models, by the ASR system 8720 to provide transcriptions for the current communication session.
In some embodiments, the system 8730 may be configured to select from among the acoustic models 8740 and/or the language models 8710 for the ASR system 8720 based on a language in the audio. For example, the audio may include speech in English, Spanish, French, German, Chinese, Japanese, or other languages. In these and other embodiments, the system 8730 may be configured to select a first acoustic model of the acoustic models 8740 and a first language model of the language models 8710 based on the language being a first language such as Spanish and may select a second acoustic model of the acoustic models 8740 and a second language model of the language models 8710 based on the language being a second language such as English. Additionally or alternatively, the system 8730 may include multiple ASR systems. Each of the ASR systems may be configured for different sets of languages and a communication session in a selected language may be connected to the ASR system configured for that language.
In some embodiments, the system 8730 may predict the language or determine the language of audio using one or multiple options. The options to predict the language or determine the language of audio may include one or more of:
When transcriptions of audio are not generated in real time because the initial language assumption is incorrect or due to other delays, and a second selected language may be changed during the communication session, recorded communication session audio from before the change in the selected language may be processed by an ASR system configured to transcribe the spoken language so that the missing content, or a summary thereof, may be transcribed and displayed.
In some embodiments, when the environment 8700 is unable to identify the language of the audio within a threshold of accuracy, multiple transcriptions may be generated. Each of the multiple transcriptions may be generated in a separate language and each of the multiple transcriptions may be provided to a user device for presentation.
In some embodiments, transcriptions or the audio may be translated into another language using human translators or machine translation. The source language may be selected manually or using language detection methods such as those described above. The target language may be selected manually or based on the spoken language determined for the recipient (such as the subscriber). The translated transcriptions may be provided independently or with the original transcriptions using a divided screen or multiple screens.
Modifications, additions, or omissions may be made to the environment 8700 without departing from the scope of the present disclosure. For example, the acoustic models 8740 may include multiple static or dynamic acoustic models. Alternatively or additionally, multiple of the acoustic models 8740 may be selected. In these and other embodiments, two or more of the acoustic models 8740 models may be interpolated by an adder or by the ASR system 8720. As another example, the adder 8712 may not be included. In these and other embodiments, a single one of the language models 8710 may be selected or multiple of the language models 8710 may be selected. In these and other embodiments, the language models 8710 may include dynamic and/or static language models. The concepts discussed above with respect to the acoustic and language models may be applied to other types of models.
As another example, the system 8730 may be part of a user device. In response to the system 8730 being unable to transcribe audio with accuracy above a threshold, the user device may connect to an external transcription service that supports the spoken language. The user device may provide the audio to the external transcription service and obtain the transcriptions from the external transcription service. Alternatively or additionally, the user device may download one or more models for the spoken language and transcribe the communication session using the ASR system 8720.
In some embodiments, the feature extractor 8830 may be configured to determine a first set of features from audio. The feature transformer 8832 may convert the first set of features to a second set of features. The second set of features may be provided to the probability calculator 8840. The probability calculator 8840 may determine a set of phoneme probabilities. For example, the set of phoneme probabilities may include conditional context-dependent phoneme probabilities. The probability calculator 8840 may provide the phoneme probabilities to the decoder 8814.
In some embodiments, the probability calculator 8840 may include first, second, and third acoustic models 8802a, 8802b, and 8802c, collectively, the acoustic models 8802. The acoustic models 8802 may be arranged in series. The first and third acoustic models 8802a and 8802c may be static. The second acoustic model 8802b may be variable. In these and other embodiments, the second acoustic model 8802b may be selected from first, second, and third optional acoustic models 8806a, 8806b, and 8806c, collectively the optional acoustic models 8806. A selector 8804 may be configured to select one of the optional acoustic models 8806 for providing to the probability calculator 8840 to use as the second acoustic model 8802b. The selector 8804 may be configured to select the one of the optional acoustic models 8806 based on various features such as an identity of the speaker in the audio, analysis of the audio, historical information, or other factors such as those in Table 2 and Table 5. The probability calculator 8840 may use the acoustic models 8802 to determine the set of phoneme probabilities.
The decoder 8814 may use the set of phoneme probabilities and probabilities from one or more language models, to generate a transcription. In some embodiments, the language models used by the decoder 8814 may be arranged in a hierarchal structure. For example, the language models may include a top language model 8808 that may contain generic language information and word probabilities. The hierarchal structure may also include multiple sub language models, including first, second, and third sub-language models 8810a, 8810b, and 8810c, collectively the sub-language models 8810. The sub-language models 8810 may provide detail for particular topics and word or phrase classes. Alternatively or additionally, the sub-language models 8810 may include probabilities associated with specific users.
In some embodiments, one or more of the sub-language models 8810 may be interpolated with the top language model 8808. In these and other embodiments, the decoder 8814 may interpolate the sub-language models 8810 and the top language model 8808 or another device may interpolate the sub-language models 8810 and the top language model 8808. The one or more of the sub-language models 8810 that may be interpolated with the top language model 8808 may be selected based on various features such as an identity of the speaker in the audio, analysis of the audio, historical information, or other factors such as those in Table 2 and Table 5. In these and other embodiments, the features may be the same, similar, or different than the features used to select among the optional acoustic models 8806.
Modifications, additions, or omissions may be made to the ASR system 8820 without departing from the scope of the present disclosure. For example, the acoustic models 8802 may be configured in a parallel or other configuration. Alternatively or additionally, language models structure may not include a hierarchal structure. As another example, one or more of the first and third acoustic models 8802a and 8802c may be omitted. As another example, in some embodiments, the ASR system 8820 may include additional elements, such as a rescorer, grammar engine, and/or a scorer, among other elements.
The environment 8900 may include a transcription unit 8914 that may include an ASR system. The ASR system may include a language model that may be used to generate a transcription based on audio received by the transcription unit 8914. The language model used by the ASR system may be based on an interpolated language model that is the result of multiple language models that are interpolated together.
In some embodiments, the multiple language model may include a domain language model 8901 and first, second, and third language models 8902a, 8902b, and 8902c, collectively the language models 8902. The environment 8900 may further include an adder 8912. In some embodiments, the adder 8912 may combine the domain language model 8901 and the language models 8902 to generate the interpolated language model. In some embodiments, each of the domain language model 8901 and the language models 8902 may be associated with an interpolated weight. In these and other embodiments, the adder 8912 may multiply a conditional word probability for a given word from each language model by the interpolation weight for the corresponding language model to create a weighted word probability. The weighted word probability for each language model may be summed to create a word probability for the interpolated language model. In some embodiments, interpolation weights may be selected to reduce perplexity, increase a likelihood or log likelihood score from an ASR system, or reduce error rate.
In some embodiments, the combining language models at the adder 8912 to generate the interpolated language model may happen off-line such that the interpolated language model is created and stored in the transcription unit 8914 before the transcription unit 8914 may begin generating the transcription. Alternatively or additionally, the combining language models at the adder 8912 to generate the interpolated language model may happen at runtime as the transcription unit 8914 is generating the transcription. In these and other embodiments, generating the interpolated language model at runtime may be performed by computing a weighted sum of each conditional word probability for use by the ASR system of the transcription unit 8914.
In some embodiments, a language model trainer 8920 may create or adapt the domain language model 8901 using the communication session data from the current communication session or the current and past communication sessions. Alternatively or additionally, at least one of the language models 8902 may be a generic model that may be trained on data from multiple services or data collections. In these and other embodiments, one or more of the language models 8902 may also be trained on data related to or derived from one or more of the following:
In some embodiments, the language models 8901 and 8902 may result in improved accuracy by incorporating vocabulary and statistics derived from the data listed above, as well as from other data. An example of how the data may result in improved accuracy is now provided. A term may be extracted from an utterance of a first participant in a communication session. A language model may be adjusted to give a higher weight to the extracted term. By giving the term a higher weight, there is an increased probability that the language model may recognize the term when the term is spoken again by the first participant. Additionally or alternatively, a term extracted from an utterance or record from a first participant may be used by a language model to increase the probability of detection for the term when spoken by a second participant who is on the same communication session as the first participant.
In some embodiments, the environment 8900 may include an interpolation weight estimator 8904. The interpolation weight estimator 8904 may be configured to determine the interpolation weights for the language models 8901 and 8902. In some embodiments, interpolation weight determination by the interpolation weight estimator 8904 may use on-the-fly interpolation where interpolation weights are assigned a set of initial values and adjusted based on data from each communication session. In these and other embodiments, the on-the-fly interpolation may use a gradient descent algorithm to adjust the interpolation weights. In these and other embodiments, on-the-fly interpolation weight determination may avoid recording audio or text. As a result, on-the-fly interpolation weight determination may be used when recording of audio or text is illegal or contractually prohibited.
Additionally or alternatively, the interpolation weight estimator 8904 may use recorded and transcribed communication session information to determine the interpolation weights. The recorded and transcribed communication session information may be referred to as a development set 8906. The development set 8906 may be reviewed or corrected by a set of transcription tools 8908 used by a transcriber. The interpolation weight estimator 8904 may be configured to use the development set 8906 and information from the language models 8901, 8902 to determine the interpolation weights. In some embodiments, the weights may be selected to improve ASR accuracy and/or to reduce perplexity of the interpolated language models with respect to the development set 8906.
An example how the interpolation weights a1, a2, a3, etc., may be determined by the interpolation weight estimator 8904 follows:
Perplexity=2−1.
Additionally or alternatively, the development set 8906 may include a set of n-grams and counters for each n-gram. In these and other embodiments, the n-grams may be derived from one or more communication sessions. For example, n-grams may be derived from content spoken by a transcription party across one or more communication sessions. Alternatively or additionally, n-grams may be derived from multiple parties across multiple communication sessions. In these and other embodiments, the interpolation weights may be determined by the interpolation weight estimator 8904 as follows:
Perplexity=2−l.
In some embodiments, generating the interpolated model by the adder 8912 using a development set 8906 of n-grams may include the following operations:
Additionally or alternatively, generating the interpolated model by the adder 8912 using a development set 8906 of n-grams may include the following operations:
Furthermore, modifications, additions, or omissions may be made to the operations described above without departing from the scope of the present disclosure. For example, the operations may be implemented in differing order. Additionally or alternatively, two or more operations may be performed at the same time. Furthermore, the outlined operations are only provided as examples, and some of the operations may be optional, combined into fewer operations, or expanded into additional operations without detracting from the essence of the disclosed embodiments. For example, the operation of generate and collect new data, such as from a transcription service or other service, may not be performed.
The methods embodied herein for training or adapting models from stored data or on-the-fly may use specific model types as examples but may be adapted to training various types of models, including acoustic models, language models, confidence models, capitalization models, punctuation models, pronunciation models or lexicons, feature extraction or transformation models, runtime parameters or settings or other types of models.
Modifications, additions, or omissions may be made to the environment 8900 without departing from the scope of the present disclosure. For example, in some embodiments, the environment 8900 may not include the adder 8912. In these and other embodiments, the adder 8912 may be replaced by runtime interpolation inside the ASR system (e.g., ASR system 8720) of the transcription unit 8914. Runtime interpolation may compute probabilities of each n-gram as it is needed by the ASR system. In this way, rather than create an entire language model in advance, the individual language model elements (e.g., conditional probabilities) may be computed as needed by weighting and adding probabilities from input models.
In the various arrangements described above with reference to
The processing elements discussed above, such as the CPUs, GPUs, TPUs, processing cores, and other hardware may include any number of processors or processing elements configured to, individually or collectively, perform or direct performance of any number of operations described in the present disclosure.
In general, the processor 9110 may include any suitable special-purpose or general-purpose computer, computing entity, or processing device including various computer hardware or software modules and may be configured to execute instructions stored on any applicable computer-readable storage media. For example, the processor 9110 may include a microprocessor, a microcontroller, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a Field-Programmable Gate Array (FPGA), or any other digital or analog circuitry configured to interpret and/or to execute program instructions and/or to process data. Although illustrated as a single processor in
In some embodiments, the processor 9110 may be configured to interpret and/or execute program instructions and/or process data stored in the memory 9112, the data storage 9114, or the memory 9112 and the data storage 9114. In some embodiments, the processor 9110 may fetch program instructions from the data storage 9114 and load the program instructions in the memory 9112. After the program instructions are loaded into memory 9112, the processor 9110 may execute the program instructions.
The memory 9112 and the data storage 9114 may include computer-readable storage media for carrying or having computer-executable instructions or data structures stored thereon. Such computer-readable storage media may include any available media that may be accessed by a general-purpose or special-purpose computer, such as the processor 9110. By way of example, and not limitation, such computer-readable storage media may include tangible or non-transitory computer-readable storage media including Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory devices (e.g., solid state memory devices), or any other storage medium which may be used to carry or store particular program code in the form of computer-executable instructions or data structures and which may be accessed by a general-purpose or special-purpose computer. In these and other embodiments, the term “non-transitory” as explained in the present disclosure should be construed to exclude only those types of transitory media that were found to fall outside the scope of patentable subject matter in the Federal Circuit decision of. In re Nuijten, 500 F.3d 1346 (Fed. Cir. 2007). Combinations of the above may also be included within the scope of computer-readable media.
In some embodiments, the different components, modules, engines, and services described herein may be implemented as objects or processes that execute on a computing system (e.g., as separate threads). While some of the systems and methods described herein are generally described as being implemented in software (stored on and/or executed by general purpose hardware), specific hardware implementations or a combination of software and specific hardware implementations are also possible and contemplated.
In accordance with common practice, the various features illustrated in the drawings may not be drawn to scale. The illustrations presented in the present disclosure are not meant to be actual views of any particular apparatus (e.g., device, system, etc.) or method, but are merely idealized representations that are employed to describe various embodiments of the disclosure. Accordingly, the dimensions of the various features may be arbitrarily expanded or reduced for clarity. In addition, some of the drawings may be simplified for clarity. Thus, the drawings may not depict all of the components of a given apparatus (e.g., device) or all operations of a particular method.
Terms used herein and especially in the appended claims (e.g., bodies of the appended claims) are generally intended as “open” terms (e.g., the term “including” should be interpreted as “including, but not limited to,” the term “having” should be interpreted as “having at least,” the term “includes” should be interpreted as “includes, but is not limited to,” etc.).
Additionally, if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases “at least one” and “one or more” to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim recitation to embodiments containing only one such recitation, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an” (e.g., “a” and/or “an” should be interpreted to mean “at least one” or “one or more”); the same holds true for the use of definite articles used to introduce claim recitations.
In addition, even if a specific number of an introduced claim recitation is explicitly recited, it is understood that such recitation should be interpreted to mean at least the recited number (e.g., the bare recitation of “two recitations,” without other modifiers, means at least two recitations, or two or more recitations). Furthermore, in those instances where a convention analogous to “at least one of A, B, and C, etc.” or “one or more of A, B, and C, etc.” is used, in general such a construction is intended to include A alone, B alone, C alone, A and B together, A and C together, B and C together, or A, B, and C together, etc. For example, the use of the term “and/or” is intended to be construed in this manner.
Further, any disjunctive word or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase “A or B” should be understood to include the possibilities of “A” or “B” or “A and B.”
Additionally, the use of the terms “first,” “second,” “third,” etc., are not necessarily used herein to connote a specific order or number of elements. Generally, the terms “first,” “second,” “third,” etc., are used to distinguish between different elements as generic identifiers. Absence a showing that the terms “first,” “second,” “third,” etc., connote a specific order, these terms should not be understood to connote a specific order. Furthermore, absence a showing that the terms first,” “second,” “third,” etc., connote a specific number of elements, these terms should not be understood to connote a specific number of elements. For example, a first widget may be described as having a first side and a second widget may be described as having a second side. The use of the term “second side” with respect to the second widget may be to distinguish such side of the second widget from the “first side” of the first widget and not to connote that the second widget has two sides.
All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art and are to be construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the present disclosure.
This application is a continuation of U.S. patent application Ser. No. 16/847,200, filed on Apr. 13, 2020, which is a continuation of U.S. patent application Ser. No. 16/209,594, filed Dec. 12, 2018, now U.S. Pat. No. 11,017,778, the disclosures of each of which are hereby incorporated herein by this reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 16847200 | Apr 2020 | US |
Child | 17450030 | US | |
Parent | 16209594 | Dec 2018 | US |
Child | 16847200 | US |