Hardware efficient automatic speech recognition
Abstract
Modern automatic speech recognition (ASR) systems can utilize artificial intelligence (AI) models to service ASR requests. The number and scale of AI models used in a modern ASR system can be substantial. The process of configuring and reconfiguring hardware to execute various AI models corresponding to a substantial number of ASR requests can be time consuming and inefficient. Among other features, the described technology utilizes batching of ASR requests, splitting of the ASR requests, and/or parallel processing to efficiently use hardware tasked with executing AI models corresponding to ASR requests. In one embodiment, the compute graphs of ASR tasks are used to batch the ASR requests. The corresponding AI models of each batch can be loaded into hardware, and batches can be processed in parallel. In some embodiments, the ASR requests are split, batched, and processed in parallel.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 1.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a plurality of requests for audio transcription; determining a compute graph for each request, wherein the compute graph comprises one or more artificial intelligence models; batching the requests, based on the artificial intelligence models in the compute graph of each request; loading one or more artificial intelligence models corresponding to a batch to a hardware module; pushing processing of a request in the batch to the hardware module, loaded with the one or more artificial intelligence models, corresponding to the batch; and offloading, from the hardware module, artificial intelligence models not needed for processing the requests in the batch.
- Claim 2Depends on #1
The method of claim 1, wherein batching the requests is further based on priority data of the requests.
- Claim 3Depends on #1
The method of claim 1, wherein the request comprises the request for automatic transcription of an audio file or an audio stream.
- Claim 4Depends on #1
The method of claim 1, further comprising: splitting the request into chunks; indexing the chunks with index labels, indicating order of the chunks in the request from which the chunks split; tagging the chunks with a request identifier, identifying the request from which a chunk was split; tagging the chunks with a corresponding compute graph tag, wherein batching the requests comprises batching the chunks based on the compute graph tags and processing the request comprises processing the chunks in the hardware module, corresponding to the compute graph tag; applying the index labels and the request identifier tags of the chunks to outputs of the processing of the chunks; and assembling the outputs of the processing of the chunks, tagged with the request identifier of the request, at least in part based on the order indicated by the index labels.
- Claim 5Depends on #1
The method of claim 1, wherein the hardware module comprises a graphics processing unit (GPU) or a tensor processing unit (TPU).
- Claim 6Depends on #1
The method of claim 1, further comprising: recording metrics of the processing of the request, by the hardware module; and modifying the batching based on the recorded metrics.
- Claim 7Depends on #1
The method of claim 1, wherein batching further comprises batching based on priority data of the requests, wherein loading the one or more artificial intelligence models corresponding to a batch comprises: determining batches sharing artificial intelligence models; loading the shared artificial intelligence models into a shared hardware module; and processing the requests in batches, sharing artificial intelligence models, in the shared hardware module, based on the priority data of each batch.
- Claim 8Independent Claim
A non-transitory computer storage that stores executable program instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising: receiving a plurality of requests for audio transcription; determining a compute graph for each request, wherein the compute graph comprises one or more artificial intelligence models; batching the requests, based on the artificial intelligence models in the compute graph of each request; loading one or more artificial intelligence models corresponding to a batch to a hardware module; pushing processing of a request in the batch to the hardware module, loaded with the one or more artificial intelligence models, corresponding to the batch; and offloading, from the hardware module, artificial intelligence models not needed for processing the requests in the batch.
Technical Overview & Description
BACKGROUND Field This invention relates generally to the field of artificial intelligence, and more particularly to efficient use of hardware in artificial intelligence conversion of audio to text. Description of the Related Art The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Automatic speech recognition (ASR) systems exist and can have a variety of useful applications. ASR systems receive an audio input and can produce a transcript of the received audio. Some ASR systems utilize artificial intelligence (AI) models to detect words, phonemes or other units of speech and convert an audio file to a corresponding text file. Recent advancements in the field of ASR have made the underlying AI models more tailored to users, tasks, domains, or other fields of use. More customized AI models can translate to an exponential increase in the number of AI models used in an ASR system. Whereas in more traditional ASR systems, a handful of AI models were applied to ASR tasks, modern ASR systems can have a variety of customized AI models more tailored to the variety of the ASR tasks they service. At the same time, advancements in hardware technology have provided hardware that can process AI models more efficiently, typically by increasing parallel processing capabilities of specialized processors. Still, the process of configuring and reconfiguring hardware with various AI models can be time consuming and inefficient. In modern ASR systems, a particular customized AI model may have to be quickly deployed to service an ASR request. Furthermore, the number and scale of ASR requests serviced by an ASR system can be substantial. Traditional ASR systems utilize a few AI models and manage the
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,592,993 B2 | Captioned telephone service system for user with speech disorder | 2026 | 0 |
References Cited — Backward Prior Art (9)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- D. Xu et al.,
- “
- Edge Intelligence: Empowering Intelligence to the Edge of Network,
- ”
- in Proceedings of the IEEE, vol. 109, No. 11, pp. 1778-1837, Nov. 2021, doi: 10.1109/JPROC.2021.3119950. keywords: (Training data; Data privacy; Systematics; Edge computing; Data collection; Market research; Artificial intel (Year: 2021).