# US 2023/0069628 A1 · External language model fusing method for speech recognition

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

- Number: US 2023/0069628 A1
- Document ID: US20230069628A1
- Status: Published application
- Kind: A1
- Application number: 17/410,347
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tohru Nagano; Masayuki Suzuki; Gakuto Kurata
- Web page: https://patentgrep.com/patent/US20230069628A1

## CPC

- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/048: Activation functions
- G06F 18/10: Pre-processing; Data cleansing
- G06N 3/045: Combinations of networks
- G10L 15/183: using context dependencies, e.g. language models
- G10L 15/16: using artificial neural networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A computer-implemented method for fusing an end-to-end speech recognition model with an external language model (ExternalLM) is provided. The method includes obtaining an output of the end-to-end speech recognition model. The output is a probability distribution. The method further includes transforming, by a hardware processor, the probability distribution into a transformed probability distribution to relax a sharpness of the probability distribution. The method also includes fusing the transformed probability distribution and a probability distribution of the ExternalLM for decoding speech.

## Claims

### Claim 1

A computer-implemented method for fusing an end-to-end speech recognition model with an external language model (ExternalLM), the method comprising:
obtaining an output of the end-to-end speech recognition model, the output being a probability distribution;
transforming, by a hardware processor, the probability distribution into a transformed probability distribution to relax a sharpness of the probability distribution; and
fusing the transformed probability distribution and a probability distribution of the ExternalLM for decoding speech.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the fusing comprising searching for a best output sequence in a decoding by applying a max function to the transformed probability distribution.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the transforming is performed by applying a non-linear function to the probability distribution.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the transforming is performed by applying a logarithmic function to the probability distribution.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the transforming is performed by applying a power function to the probability distribution.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the transformed probability distribution comprises a probability distribution amplitude controlling hyper parameter determined by a grid search using held-out data.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the transformed probability distribution comprises a probability distribution amplitude controlling hyper parameter determined by a statistic of a probability distribution of the ExternalLM.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the sharpness of the probability distribution is relaxed by reducing one or more amplitudes of the probability distribution which are greater than a threshold amount.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the sharpness of the probability distribution is relaxed by reducing one or more amplitudes of the probability distribution by a threshold amount.

### Claim 10

A computer program product for fusing an end-to-end speech recognition model with an external language model (ExternalLM), the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
obtaining, by a hardware processor, an output of the end-to-end speech recognition model, the output being a probability distribution;
transforming, by the hardware processor, the probability distribution into a transformed probability distribution to relax a sharpness of the probability distribution; and
fusing, by the hardware processor, the transformed probability distribution and a probability distribution of the ExternalLM for decoding speech.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the fusing comprising searching for a best output sequence in a decoding by applying a max function to the transformed probability distribution.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the transforming is performed by applying a non-linear function to the probability distribution.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the transforming is performed by applying a logarithmic function to the probability distribution.

### Claim 14 (depends on 10)

The computer program product of claim 10, wherein the transforming is performed by applying a power function to the probability distribution.

### Claim 15 (depends on 10)

The computer program product of claim 10, wherein the transformed probability distribution comprises a probability distribution amplitude controlling parameter hyper parameter determined by a grid search using held-out data.

### Claim 16 (depends on 10)

The computer program product of claim 10, wherein the transformed probability distribution comprises a probability distribution amplitude controlling parameter hyper parameter determined by a statistic of a probability distribution of the ExternalLM.

### Claim 17 (depends on 10)

The computer program product of claim 10, wherein the sharpness of the probability distribution is relaxed by reducing one or more amplitudes of the probability distribution which are greater than a threshold amount.

### Claim 18 (depends on 10)

The computer program product of claim 10, wherein the sharpness of the probability distribution is relaxed by reducing one or more amplitudes of the probability distribution by a threshold amount.

### Claim 19

A computer processing system for fusing an end-to-end speech recognition model with an external language model (ExternalLM), the computer processing system comprising:
a memory device for storing program code; and
a hardware processor operatively coupled to the memory device for running the program code to
obtain an output of the end-to-end speech recognition model, the output being a probability distribution;
transform the probability distribution into a transformed probability distribution to relax a sharpness of the probability distribution; and
fuse the transformed probability distribution and a probability distribution of the ExternalLM for decoding speech.

### Claim 20 (depends on 19)

The computer processing system of claim 19, wherein the fusing comprising searching for a best output sequence in a decoding by applying a max function to the transformed probability distribution.
