# US 2025/0149032 A1 · End-to-end automatic speech recognition system for both conversational and command-and-control speech

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0149032 A1
- Document ID: US20250149032A1
- Status: Published application
- Kind: A1
- Application number: 19/017,396
- Filed: 2025-01-10
- Published: 2025-05-08
- Earliest claimed: 2022-05-05
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Alejandro COUCHEIRO LIMERES; Junho PARK
- Web page: https://patentgrep.com/patent/US20250149032A1

## CPC

- G10L 15/197: Probabilistic grammars, e.g. word n-grams
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G10L 15/16: using artificial neural networks
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A contextual end-to-end automatic speech recognition (ASR) system includes: an audio encoder configured to process input audio signal to produce as output encoded audio signal; a bias encoder configured to produce as output at least one bias entry corresponding to a word to bias for recognition by the ASR system; a transcription token probability prediction network configured to produce as output a probability of a selected transcription token, based at least in part on the output of the bias encoder and the output of the audio encoder; a first attention mechanism configured to receive the at least one bias entry and determine whether the at least one bias entry is suitable to be transcribed at a specific moment of an ongoing transcription; and a second attention mechanism configured to produce prefix penalties for restricting the first attention mechanism to only entries fitting a current transcription context.

## Claims

### Claim 1

A contextual end-to-end automatic speech recognition (ASR) system, comprising:
a virtual assistant receiving a speech signal comprising a dictation and a command; and
an ASR module producing an output transcription for the speech signal, the output transcription including a first token indicating a start of the command, and a second token indicating an end of the command,
wherein the ASR system learns to predict when the command is going to be uttered based on the first token or when the command has been uttered based on the second token.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
a first attention mechanism receiving the first token and determining whether the first token is suitable to be transcribed at a specific moment of an ongoing transcription.

### Claim 3 (depends on 2)

The system of claim 2, further comprising:
a second attention mechanism producing prefix penalties and restricting, based on the prefix penalties, the first attention mechanism to only entries fitting a current transcription context.

### Claim 4 (depends on 3)

The system of claim 3, wherein the ASR system extends the prefix penalties from only working intra-command to bookending any occurrence of the command in training data.

### Claim 5 (depends on 3)

The system of claim 3, further comprising:
a label encoder encoding a current state of a transcription,
wherein the prefix penalties are produced by the second attention mechanism at least in part based on the encoded current state of the transcription.

### Claim 6 (depends on 1)

The system of claim 1, wherein the ASR system masks any non-fitting entry between the first token and the second token.

### Claim 7 (depends on 1)

The system of claim 1, wherein the ASR system produces prefix penalties to mask all command entries until the first token is predicted.

### Claim 8 (depends on 1)

The system of claim 1, wherein the ASR system enables attention to the command after the first token is predicted and until the second token.

### Claim 9 (depends on 1)

The system of claim 1, wherein the virtual assistant assists a doctor to perform verbal commands during a doctor-patient encounter.

### Claim 10 (depends on 1)

The system of claim 1, wherein the command is a multi-word command.

### Claim 11

A method of operating a contextual end-to-end automatic speech recognition (ASR) system, comprising:
receiving, by a virtual assistant, a speech signal comprising a dictation and a command; and
producing, by an ASR module, an output transcription for the speech signal, the output transcription including a first token indicating a start of the command and a second token indicating an end of the command,
wherein the ASR system learns to predict when the command is going to be uttered based on the first token or when the command has been uttered based on the second token.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
receiving, by a first attention mechanism, the first token and determine whether the first token is suitable to be transcribed at a specific moment of an ongoing transcription.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
producing, by a second attention mechanism, prefix penalties and restricting, based on the prefix penalties, the first attention mechanism to only entries fitting a current transcription context.

### Claim 14 (depends on 13)

The method of claim 13, wherein the ASR system extends the prefix penalties from only working intra-command to bookending any occurrence of the command in training data.

### Claim 15 (depends on 13)

The method of claim 13, further comprising:
encoding, by a label encoder, a current state of a transcription,
wherein the prefix penalties are produced by the second attention mechanism at least in part based on the encoded current state of the transcription.

### Claim 16 (depends on 11)

The method of claim 11, wherein the ASR system masks any non-fitting entry between the first token and the second token.

### Claim 17 (depends on 11)

The method of claim 11, wherein the ASR system produces prefix penalties to mask all command entries until the first token is predicted.

### Claim 18 (depends on 11)

The method of claim 11, wherein the ASR system enables attention to the command after the first token is predicted and until the second token.

### Claim 19 (depends on 11)

The method of claim 11, wherein the virtual assistant assists a doctor to perform verbal commands during a doctor-patient encounter.

### Claim 20 (depends on 11)

The method of claim 11, wherein the command is a multi-word command.
