Separating Acoustic and Linguistic Information in Neural Transducer Models for End-to-End Speech Recognition
Patent Information
- Application Number
- JP2024508050
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-17
- Filing Date
- 2022-09-07
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2042-09-07
AI Technical Summary
End-to-end speech recognition using neural transducers faces challenges such as overfitting and difficulty in customization due to the lack of modular structure, which affects accuracy and reactivity to customization.
Implementing a recurrent neural network transducer (RNN-T) with a common encoder and both forward and backward prediction networks, where the encoder is trained separately from the prediction networks to maintain acoustic information while separating linguistic information, reducing overfitting and enhancing customization.
This approach reduces overfitting and improves the separation of acoustic and linguistic information, leading to more accurate and customizable speech recognition models.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates generally to speech recognition, and more particularly to separation of acoustic and linguistic information in neural transducer models for end-to-end speech recognition. [Background technology]
[0002] End-to-end speech recognition using neural transducers modeled entirely by a single neural network for speech recognition has a variety of advantages for both training and inference: Purely end-to-end training from just the transcript and audio is possible; for inference, only a beam search on a single neural network is required, resulting in low computational cost, small memory footprint, and a simple inference engine.
[0003] Training a neural transducer model is straightforward but has some drawbacks. For example, end-to-end training is prone to overfitting because one utterance can only be used as one sample. Although a neural transducer model includes an encoder network serving as an acoustic model, a predictive network serving as a language model, and a joint network combining acoustic and language embeddings from the encoder and predictive networks, end-to-end training does not consider such a modular structure. As a result, customization of a neural transducer is more difficult than a traditional hybrid model in which the acoustic model and the language model are trained separately and can be customized independently. Both improved accuracy and more reactive customization are important to provide competitive services from the cloud. Therefore, there is a need to (1) improve speech recognition accuracy by reducing overfitting, and (2) build a model that is more reactive to customization. Summary of the Invention
[0004] According to an aspect of the present invention, a computer-implemented method for training a recurrent neural network transducer (RNN-T) is provided. The method includes training a first RNN-T by inputting a set of audio data, the first RNN-T including a common encoder, a forward prediction network, and a first joint network combining outputs of both the common encoder and the forward prediction network. The forward prediction network predicts a label sequence forward. The method further includes training a second RNN-T by inputting the set of audio data, the second RNN-T including a common encoder, a backward prediction network, and a second joint network combining outputs of both the common encoder and the backward prediction network. The backward prediction network predicts a label sequence backward. The trained first RNN-T is used for inference.
[0005] According to another aspect of the present invention, a computer program product for training a recurrent neural network transducer (RNN-T) is provided. The computer program product includes a non-transitory computer-readable storage medium having program instructions embodied therein. The program instructions are executable by a computer to cause the computer to perform a method. The method includes training, by a processor device inputting a set of audio data, a first RNN-T including a common encoder, a forward prediction network, and a first joint network combining outputs of both the common encoder and the forward prediction network. The forward prediction network predicts a label sequence in a forward direction. The method further includes training, by a processor device inputting the set of audio data, a second RNN-T including the common encoder, a backward prediction network, and a second joint network combining outputs of both the common encoder and the backward prediction network. The backward prediction network predicts a label sequence in a backward direction. The trained first RNN-T is used for inference.
[0006] According to yet another aspect of the present invention, there is provided a computer processing system for training a recurrent neural network transducer (RNN-T). The system includes a memory device for storing program code. The system further includes a processor device operatively coupled to the memory device for executing the program code to train a first RNN-T by inputting a set of audio data, the first RNN-T including a common encoder, a forward prediction network, and a first joint network combining outputs of both the common encoder and the forward prediction network. The forward prediction network predicts a label sequence in a forward direction. The processor device is further operable to execute the program code to train a second RNN-T by inputting a set of audio data, the second RNN-T including a common encoder, a backward prediction network, and a second joint network combining outputs of both the common encoder and the backward prediction network. The backward prediction network predicts a label sequence in a backward direction. The trained first RNN-T is used for inference.
[0007] These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which description should be read in connection with the accompanying drawings.
[0008] Preferred embodiments of the invention will now be described, by way of example only, with reference to the following drawings, in which: [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram illustrating an exemplary computing device in accordance with embodiments of the present invention. [Diagram 2] 1 illustrates an example of a neural transducer architecture according to an embodiment of the present invention. [Diagram 3]FIG. 13 illustrates an example of a forward grid search according to an embodiment of the present invention. [Figure 4] FIG. 13 illustrates an example of a reverse grid search according to an embodiment of the present invention. [Diagram 5] 1 is a flowchart illustrating an example of a method for training a recurrent neural network transducer (RNN-T) according to an embodiment of the present invention. [Figure 6] 1 illustrates an example operating environment according to an embodiment of the present invention. [Figure 7] FIG. 1 is a block diagram illustrating an exemplary cloud computing environment having one or more cloud computing nodes with which local computing devices used by cloud consumers communicate in accordance with an embodiment of the present invention. [Figure 8] FIG. 2 is a block diagram illustrating a set of functional abstraction layers provided by a cloud computing environment in accordance with an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Embodiments of the present invention are directed to separating acoustic and linguistic information in neural transducer models for end-to-end speech recognition.
[0011] The embodiment of the present invention prepares an additional prediction network that predicts the label sequence backward. The embodiment of the present invention performs multi-task training of the neural transducer with the original forward prediction network and the additional backward prediction network. The same encoder network is used during multi-task learning. Only the original forward prediction network is used for the actual testing (inference stage).
[0012] In an embodiment of the present invention, the encoder network is trained jointly with both the forward and reverse prediction networks, and therefore does not incorporate linguistic information as a result. Examples of advantages of this method include at least (1) reduced overfitting to the training data; and (2) increased separation of linguistic and acoustic information in the prediction and encoder networks. As a result, the customization of the prediction and encoder networks (see FIG. 2) becomes more reactive.
[0013] 1 is a block diagram illustrating an exemplary computing device 100 according to an embodiment of the present invention. The computing device 100 is configured to separate acoustic and linguistic information in a neural transducer model for end-to-end speech recognition. In this manner, the customization of the prediction network and the encoder network (see FIG. 2) becomes more reactive.
[0014] Computing device 100 may be embodied as any type of computing device or computing device capable of performing the functions described herein, including, but not limited to, a computer, a server, a rack server, a blade server, a workstation, a desktop computer, a laptop computer, a notebook computer, a tablet computer, a mobile computing device, a wearable computing device, a network appliance, a web appliance, a distributed computing system, a processor-based system, or a consumer electronic device, or some or all of the above. Additionally or alternatively, computing device 100 may be embodied as one or more compute sleds, memory sleds, or other racks, sleds, computing chassis, or other components of a physically separate computing device. As shown in FIG. 1, computing device 100 illustratively includes a processor 110, an input / output subsystem 120, a memory 130, a data storage device 140, and a communication subsystem 150, and / or some or all of the above, other components and devices typically found in a server or similar computing device. Of course, computing device 100 may include other or additional components in other embodiments, such as those commonly found in a server computer (e.g., various input / output devices). Moreover, in some embodiments, one or more of the illustrated components may be incorporated within or otherwise form a part of another component. For example, in some embodiments, memory 130, or portions thereof, may be incorporated within processor 110.
[0015] Processor 110 may be embodied as any type of processor capable of performing the functions described herein. Processor 110 may be embodied as a single processor, multiple processors, a central processing unit (CPU), a graphics processing unit (GPU), a single or multi-core processor, a digital signal processing unit, a microcontroller, or other processor or processing / control circuitry.
[0016] Memory 130 may be embodied as any type of volatile or non-volatile memory or data storage capable of performing the functions described herein. In operation, memory 130 may store various data and software used during operation of computing device 100, such as an operating system, application programs, libraries, and drivers. Memory 130 is communicatively coupled to processor 110 via I / O subsystem 120, which may be embodied as circuits and / or components that facilitate input / output operations with processor 110, memory 130, and other components of computing device 100. For example, I / O subsystem 120 may be embodied as or otherwise include a memory controller hub, an input / output control hub, a platform controller hub, an integrated control circuit, a firmware device, a communication link (e.g., a point-to-point link, a bus link, a wire, a cable, a light guide, a printed circuit board trace, etc.), or other components and subsystems that facilitate input / output operations. In some embodiments, the I / O subsystem 120 may form part of a system-on-a-chip (SOC) and be integrated with the processor 110, memory 130, and other components of the computing device 100 on a single integrated circuit chip.
[0017] The data storage device 140 may be embodied as any type of device configured for short-term or long-term storage of data, such as, for example, memory devices and circuits, memory cards, hard disk drives, solid-state drives, or other data storage devices. The data storage device 140 may store program code for separating acoustic and linguistic information in a neural transducer model for end-to-end speech recognition. The communication subsystem 150 of the computing device 100 may be embodied as any network interface controller or other communication circuitry, device, or collection thereof capable of enabling communication between the computing device 100 and other remote devices on a network. The communication subsystem 150 may be configured to use any one or more types of communication technologies (e.g., wired or wireless communication) and associated protocols (e.g., Ethernet, InfiniBand®, Bluetooth®, Wi-Fi®, WiMax, etc.) to effect such communication.
[0018] As shown, computing device 100 may also include one or more peripheral devices 160. Peripheral devices 160 may include any number of additional input / output devices, interface devices and / or other peripheral devices. For example, in some embodiments, peripheral devices 160 may include a display, a touch screen, graphics circuitry, a keyboard, a mouse, a speaker system, a microphone, a network interface, and / or other input / output devices, interface devices and / or peripheral devices.
[0019] Of course, computing device 100 may include other elements (not shown) or exclude certain elements as would be readily anticipated by one of ordinary skill in the art. For example, computing device 100 may include various other input and / or output devices depending on its particular implementation, as would be readily appreciated by one of ordinary skill in the art. For example, various types of wireless and / or wired input and / or output devices may be used. Additionally, various configurations of additional processors, controllers, memory, etc. may be utilized. Furthermore, in alternative embodiments, cloud configurations may be used (see, e.g., FIGS. 7-8). These and other variations of processing system 100 are readily anticipated by one of ordinary skill in the art given the teachings of the invention provided herein.
[0020] As used herein, the term "hardware processor subsystem" or "hardware processor" can refer to a processor, memory (including RAM, cache, etc.), software (including memory management software), or a combination thereof that cooperates to perform one or more specific tasks. In useful embodiments, the hardware processor subsystem can include one or more data processing elements (e.g., logic circuits, processing circuits, instruction execution devices, etc.). The one or more data processing elements can be included in a central processing unit, a graphics processing unit, or a controller (e.g., logic gates, etc.) based on a separate processor or computing element, or some or all of them. The hardware processor subsystem can include one or more on-board memories (e.g., cache, dedicated memory array, read-only memory, etc.). In some embodiments, the hardware processor subsystem can include one or more memories (e.g., ROM, RAM, basic input / output system (BIOS), etc.), which can be on-board or off-board, or dedicated for use by the hardware processor subsystem.
[0021] In some embodiments, a hardware processor subsystem may include and execute one or more software elements, which may include an operating system and / or one or more applications and / or specific code to achieve a particular result.
[0022] In other embodiments, the hardware processor subsystem may include specialized circuitry dedicated to performing one or more electronic processing functions to achieve a specified result. Such circuitry may include one or more application specific integrated circuits (ASICs), FPGAs, or PLAs, or some or all of these.
[0023] These and other variations of the hardware processor subsystem are also contemplated by embodiments of the present invention.
[0024] FIG. 2 illustrates an exemplary neural transducer architecture 200 according to an embodiment of the present invention.
[0025] The neural transducer architecture 200 includes a first recurrent neural network transducer (RNN-T) 210 and a second RNN-T 220.
[0026] The first RNN-T 210 includes a common encoder 230, a forward prediction network 211, a first joint network (hereafter shortly “joint network”) 212, and a softmax block 213. The forward prediction network 211 forward predicts the label sequence. The joint network 212 combines the outputs of both the common encoder 230 and the forward prediction network 211. The forward prediction network 211, the joint network 212, and the softmax block 213 may be considered to form a first decoder network 219.
[0027] The second RNN-T 220 includes a common encoder 230, a backward prediction network 221, a second joint network (hereafter shortly "joint network") 222, and a softmax block 223. The backward prediction network 221 predicts the label sequence backwards. The joint network 222 combines the outputs of both the common encoder 230 and the backward prediction network 221. The backward prediction network 221, the joint network 222, and the softmax block 223 may be considered to form a second decoder network 229.
[0028] The common encoder 230 serves as an acoustic model. The forward prediction network 211 and the backward prediction network 221 serve as language models. The joint network 212 combines the acoustic and language embeddings from the encoder 230 and the forward prediction network 211. The joint network 222 combines the acoustic and language embeddings from the encoder 230 and the backward prediction network 221.
[0029] The trained first RNN-T 210 is used for inference.
[0030] The encoder 230 is i…T takes as input,
[0031]
number
[0032] Output.
[0033] The forward prediction network 211 is U-1 takes as input,
[0034]
number
[0035] Output.
[0036] The joint network 212 includes:
[0037]
number
[0038] and
[0039]
number
[0040] takes as input,
[0041]
number
[0042] Output.
[0043] Softmax block 213 is
[0044]
number
[0045] It takes as input and outputs P(y|t,u).
[0046] The backward prediction network 221 is u+1 takes as input,
[0047]
number
[0048] The joint network 222 includes:
[0049]
number
[0050] and
[0051]
number
[0052] takes as input,
[0053]
number
[0054] Output.
[0055] Softmax block 223 is
[0056]
number
[0057] It takes as input and outputs P(y|t,u).
[0058] In FIG. 2, the following notation applies: X i denotes the i-th input feature of the acoustic sequence, and T is the sequence length (X:x1 … xT); Y u-1 denotes the output character symbol predicted in the forward direction; Y u+1 denotes the output character symbol predicted backwards;
[0059]
number
[0060] denotes the embedding vector sequence of input features;
[0061]
number
[0062] denotes an embedding conditioned on the forward prediction;
[0063]
number
[0064] shows the embedding conditioned on the backward prediction;
[0065]
number
[0066] shows the embedding of a joint network 212 by combining the output from the forward prediction network 211 and the output from the encoder network 230;
[0067]
number
[0068] shows the embedding of a joint network 222 by combining the output from the backward prediction network 221 and the output from the encoder network 230; P(y|t,u) denotes the posterior distribution over the set of characters; Y = (y1,…,yu) denotes the output set of forward characters; Y=(yu,...,y1) denotes the output set of characters in the reverse direction.
[0069] FIG. 3 is a diagram illustrating an exemplary forward grid search 300 in accordance with an embodiment of the present invention.
[0070] The grid search 300 has an x-direction and a y-direction. The x-direction is a function of the input sequence x=(x1,...,X T) The y direction corresponds to the forward output sequence Y = (y1, ..., y U Each node in the lattice 301 corresponds to a
[0071]
number
[0072] represents the softmax of
[0073] FIG. 4 is a diagram illustrating an exemplary reverse grid search 400 in accordance with an embodiment of the present invention.
[0074] The lattice search 400 has an x-direction and a y-direction. The x-direction is a function of the input sequence x=(x1,...,X T ) The y direction corresponds to the forward output sequence Y = (y1, ..., y U Each node in the lattice 401 corresponds to a
[0075]
number
[0076] represents the softmax of
[0077] FIG. 5 is a flow chart illustrating an exemplary method 500 for training a recurrent neural network transducer (RNN-T), in accordance with an embodiment of the present invention.
[0078] In block 510, a first RNN-T including a common encoder, a forward prediction network, and a first joint network combining outputs of both the common encoder and the forward prediction network is trained by inputting a set of audio data. The forward prediction network forward predicts a label sequence.
[0079] In an embodiment, block 510 may include block 510A.
[0080] In block 510A, a first output probability lattice is generated from the set of audio data and the output of the first RNN-T with the set of audio data along the x-axis and the output of the first RNN-T along the y-axis, and an RNN-T loss is calculated on the first output probability lattice of the first RNN-T in the upper right direction.
[0081] In block 520, a second RNN-T is trained by inputting the set of audio data, the second RNN-T including a common encoder, a backward prediction network, and a second joint network combining the outputs of both the common encoder and the backward prediction network. The backward prediction network predicts the label sequence backward. The first RNN-T and the second RNN-T form an RNN-T. The training step trains the forward prediction network and the backward prediction network together, ignoring and not incorporating language information. The common encoder network is combined with the forward and backward prediction networks. Therefore, the common encoder should not incorporate language sequence (language) information. Language sequence information needs to be incorporated by the forward and backward prediction networks. Only acoustic information should be incorporated by the encoder network. The trained first RNN-T is used for inference.
[0082] In an embodiment, block 520 may include block 520A.
[0083] In block 520A, a second output probability lattice is generated from the set of audio data and the output of the second RNN-T with the set of audio data along the x-axis and the output of the second RNN-T along the y-axis. An RNN-T loss is calculated on the second output probability lattice of the second RNN-T in the lower left direction.
[0084] FIG. 6 illustrates an exemplary operating environment 600 according to an embodiment of the invention.
[0085] The environment 600 includes a server side 610 and a client side 650 .
[0086] The server side 610 includes a speech-based computer processing system. For purposes of illustration, the speech-based computer processing system is an end-to-end speech recognition system 611. The end-to-end speech recognition system 611 has improved speech recognition accuracy in accordance with the present principles. It should be understood that block 611 may represent any speech-based computer processing system, including one or more of the following: speech recognition; speaker identification; speaker verification; speaker estimation; language identification; keyword recognition; emotion detection; automatic translation; court stenography; hands-free computing; home automation; mobile phones; and the like.
[0087] The client side 650 includes a set of workstations 651 .
[0088] A user at a workstation 651 may engage in and / or otherwise use a voice recognition session, which may be for, but is not limited to, customer service, voice dialing, machine control, data retrieval, data entry, system / facility / entity access, etc.
[0089] Communication between the server side 610 and the client side 650 occurs over one or more networks 699. In an embodiment, the server side 610 is implemented using a cloud architecture.
[0090] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the teachings described herein is not limited to a cloud computing environment. Rather, embodiments of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.
[0091] Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing power, memory, storage, applications, virtual machines, and services) that can be rapidly delivered and published with minimal administrative effort or interaction with service providers. The cloud model may include at least five characteristics, at least three service models, and at least four development models.
[0092] The characteristics are as follows: On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed without the need for human interaction with the service provider. Broad network access: Capabilities are available on the network and accessed through standard mechanisms that facilitate use by heterogeneous low-density or high-density client platforms (eg, cell phones, laptops, and PDAs). Resource Pooling: Provider computing resources are pooled to serve multiple consumers using a multi-tenant model, with various physical and virtual resources dynamically allocated and reallocated according to demand. Consumers generally have no control or knowledge over the exact location of the resources provided, although there is a sense of location independence in that they may be able to specify a location (e.g., country, state, or data center) at a higher level of abstraction. Rapid Elasticity: Capacity can be rapidly and elastically provisioned, sometimes automatically, to quickly scale out, and rapidly released to quickly scale in. To the consumer, the capacity available to provision often appears unlimited, and can be purchased in any amount at any time. Metering Services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities (e.g., storage, processing, bandwidth, and active user accounts) at some level of abstraction appropriate to the type of service. Resource usage is monitored, controlled, and reported, providing transparency to both providers and consumers of the services being used.
[0093] The service model is as follows: Software as a Service (SaaS): The capability offered to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the capabilities of the network, servers, operating systems, storage, or possibly individual applications, with the possible exception of limited user-specific application configuration settings. Platform as a Service (PaaS): The ability offered to a consumer is to deploy consumer-created or acquired applications, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does control the deployed applications and possibly the configuration of the environment that hosts the applications. Infrastructure as a Service (IaaS): The capability provided to a consumer is to provision processing, storage, network, and other basic computing resources on which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does control the operating systems, storage, deployed applications, and perhaps limited control over selected network components (e.g., host firewalls).
[0094] The deployment model is as follows: Private Cloud: The cloud infrastructure is operated solely for the institution. It is managed by the institution or a third party and can exist on-premise or off-premise. Community Cloud: The cloud infrastructure is shared by several agencies and supports a particular community with shared interests (e.g., mission, security requirements, policy and compliance considerations). It is managed by the agency or a third party and may exist on-premise or off-premise. Public Cloud: The cloud infrastructure is available to the general public or large industry groups and is owned by an institution that sells cloud services. Hybrid Cloud: A cloud infrastructure is a composite of two or more clouds (private, community, or public) that remain proprietary but are tied together by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).
[0095] Cloud computing environments are service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.
[0096] 7, an exemplary cloud computing environment 750 is shown. As shown, the cloud computing environment 750 includes one or more cloud computing nodes 710 that may be in communication with local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or mobile phone 754A, a desktop computer 754B, a laptop computer 754C, or an automobile computer system 754N, or some of them. The nodes 710 may be in communication with each other. They may be physically or virtually grouped (not shown) in one or more networks, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud, or a combination thereof, as described herein above. This allows the cloud computing environment 750 to provide infrastructure, platform, or software as a service, or some of them, without the cloud consumer having to maintain resources on a local computing device. It will be understood that the types of computing devices 754A-N shown in FIG. 7 are intended to be merely exemplary, and that the computing node 710 and cloud computing environment 750 can communicate with any type of computerized device by any type of network or network-addressable connection or both (e.g., using a web browser).
[0097] Referring now to Figure 8, a set of functional abstraction layers provided by cloud computing environment 750 (Figure 7) is shown. It should be understood in advance that the components, layers and functions shown in Figure 7 are intended to be merely exemplary, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:
[0098] Hardware and software layer 860 includes hardware and software components. Examples of hardware components include mainframe 861; reduced instruction set computing (RISC) architecture based servers 862; servers 863; blade servers 864; storage devices 865; and networks and network components 866. In some embodiments, software components include network application server software 867 and database software 868.
[0099] The virtual layer 870 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 871; virtual storage 872; virtual networks, including virtual private networks 873; virtual applications and operating systems 874; and virtual clients 875.
[0100] In one example, management layer 880 may provide the functions described below. Resource Provisioning 881 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and Pricing 882 provides cost tracking as resources are utilized within the cloud computing environment and the creation of invoices or delivery notes for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks and protection for data and other resources. User Portal 883 provides access to the cloud computing environment for consumers and system administrators. Service Level Management 884 provides cloud computing resource allocation and management so that required service levels are met. Service Level Agreement (SLA) Planning and Fulfillment 885 provides advance provisioning and procurement for cloud computing resources for anticipated future requirements according to SLAs.
[0101] The workload tier 890 provides examples of functions for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this tier include mapping and navigation 891; software development and lifecycle management 792; virtual classroom delivery 893; data analytics processing 894; transaction processing 795; and separation of acoustic and linguistic information in neural network models for end-to-end speech recognition 896.
[0102] The present invention may be a system, method or computer program product, or several thereof, at any possible level of technical detail of integration. The computer program product may include a computer readable storage medium carrying computer readable program instructions for causing a processor to carry out aspects of the present invention.
[0103] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable read-only compact disks (CD-ROMs), digital versatile disks (DVDs), memory cards, floppy disks, mechanically encoded devices such as punched cards or raised structures in grooves in which instructions are recorded, and any suitable combination of the foregoing. As used herein, computer-readable storage media should not be construed as being, per se, ephemeral signals, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals conveyed through wires.
[0104] The computer readable program instructions described herein may be downloaded from the computer readable storage medium to each computing / processing device or to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, or some of them. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage in the computer readable storage medium within the respective computing / processing device.
[0105] The computer readable program instructions for carrying out the operations of the present invention may be either source code or object code written in any combination of one or more programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or object oriented programming languages such as SMALLTALK, C++, and the like, and conventional procedural programming languages, e.g., the "C" programming language or similar programming languages. The computer readable program instructions may run all on the user's computer as a stand-alone software package, partly on the user's computer, partly on the user's computer and partly on a remote computer, or all on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or an external computer may be connected to (e.g., via the Internet using an Internet Service Provider). In some embodiments, to implement aspects of the invention, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer readable program instructions by utilizing state information of the computer readable program instructions to individually employ the electronic circuitry.
[0106] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0107] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus create means for embodying the functions / acts specified in the flowchart and / or block diagram blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing machine, and / or other device to function in a particular manner, such that the computer readable storage medium having instructions stored therein includes a product including instructions that embody aspects of the functions / acts specified in the flowchart and / or block diagram blocks.
[0108] The computer readable program instructions may be loaded into a computer, other programmable data processing device or other device such that the instructions execute on the computer, other programmable device or other device to perform a series of operational steps to produce a computer-implemented process, whereby the instructions perform the functions / acts specified in the flowchart blocks or block diagram blocks or both.
[0109] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion that includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order depending on the functionality involved. It is also noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a special purpose hardware-based system that performs or executes or operates the specified functions, or executes a combination of special purpose hardware and computer instructions.
[0110] References herein to "one embodiment" or "an embodiment" of the invention, as well as other variations thereof, mean that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment," as well as any other variations thereof appearing in various places throughout this specification, do not necessarily all refer to the same embodiment.
[0111] For example, in the following cases of "A / B," "A or B or both," and "at least one of A and B," the use of any of " / ," "or ... or both," and "at least one of" should be understood to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of both alternatives (A and B). As a further example, in the cases of "A, B, or C, or some of them," and "at least one of A, B, and C," such phrases are intended to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of only the third listed alternative (C), or the selection of only the first and second listed alternatives (A and B), or the selection of only the first and third listed alternatives (A and C), or the selection of only the second and third listed alternatives (B and C), or the selection of all three alternatives (A and B and C). This may be expanded to accommodate the number of items listed, as would be readily apparent to one of ordinary skill in the art and related fields.
[0112] While preferred embodiments of the system and method have been described, which are intended to be illustrative and not limiting, modifications and variations may be made by those skilled in the art in light of the above teachings. It is therefore to be understood that changes can be made in the particular embodiments disclosed which are within the scope of the present invention as outlined by the appended claims. Thus, aspects of the invention have been described with the detail and specificity required by the Patent Laws. What is claimed and desired to be protected by Letters Patent is set forth in the appended claims.
Claims
1. 1. A computer-implemented method for training a recurrent neural network transducer (RNN-T), comprising: training a first RNN-T by inputting a set of audio data, the first RNN-T including a common encoder, a forward prediction network for forward predicting a label sequence, and a first joint network for combining outputs of both the common encoder and the forward prediction network; training a second RNN-T by inputting the set of audio data, the second RNN-T including the common encoder, a backward prediction network for predicting a label sequence backwards, and a second joint network for combining outputs of both the common encoder and the backward prediction network; wherein the trained first RNN-T is used for inference.
2. The computer-implemented method of claim 1 , wherein the two training steps jointly train the forward prediction network and the backward prediction network without ignoring or incorporating linguistic information.
3. The computer-implemented method of claim 1 , wherein the same encoding from the common encoder is used to jointly train the first RNN-T and the second RNN-T.
4. 2. The computer-implemented method of claim 1, wherein the first RNN-T includes a softmax layer, the method further comprising applying a softmax operation to an output of the first joint network.
5. 2. The computer-implemented method of claim 1, wherein the second RNN-T includes a softmax layer, the method further comprising applying a softmax operation to an output of the second joint network.
6. 2. The computer-implemented method of claim 1, wherein training the first RNN-T comprises generating a first output probability lattice from the set of audio data and outputs of the first RNN-T using the set of audio data along an x-axis and the set of outputs of the first RNN-T along a y-axis, the method further comprising computing an RNN-T loss on the first output probability lattice in a top right direction.
7. 2. The computer-implemented method of claim 1, wherein each node of the first output stochastic lattice represents a softmax of outputs of the first joint network corresponding to a forward direction.
8. 2. The computer-implemented method of claim 1, wherein training the second RNN-T includes generating a second output probability lattice from the set of audio data and outputs of the second RNN-T using the set of audio data along an x-axis and the set of outputs of the second RNN-T along a y-axis, the method further including computing an RNN-T loss on the second output probability lattice in a lower-left direction.
9. 2. The computer-implemented method of claim 1, wherein each node of the second output stochastic lattice represents a softmax of outputs of the second joint network corresponding to a backward direction.
10. A computer program for training a recurrent neural network transducer (RNN-T), said computer program causing a computer to carry out the method according to any one of claims 1 to 9.
11. 1. A computer processing system for training a recurrent neural network transducer (RNN-T), the computer processing system comprising: a memory device for storing program code; a processor device operably coupled to the memory device for executing the program code, the program code configuring the processor device to: training a first RNN-T by inputting a set of audio data, the first RNN-T including a common encoder, a forward prediction network for forward predicting a label sequence, and a first joint network for combining outputs of both the common encoder and the forward prediction network; training a second RNN-T, the second RNN-T including the common encoder, a backward prediction network for backward predicting a label sequence, and a second joint network for combining outputs of both the common encoder and the backward prediction network, by inputting a set of audio data; and the trained first RNN-T is used for inference. Computer processing system.
12. 12. The computer processing system of claim 11, wherein the same encoding from the common encoder is used to jointly train the first RNN-T and the second RNN-T.
13. A computer-readable recording medium having recorded thereon a computer program for causing a computer to execute the method according to any one of claims 1 to 9.
