# US 2025/0149031 A1 · Automatic updating of automatic speech recognition for named entities

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

- Number: US 2025/0149031 A1
- Document ID: US20250149031A1
- Status: Published application
- Kind: A1
- Application number: 18/816,659
- Filed: 2024-08-27
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Aditya Jajodia; Akash Sahoo; Patrick Hegarty; Divya Neelagiri; Vijendra Raj Apsingekar
- Web page: https://patentgrep.com/patent/US20250149031A1

## CPC

- G10L 15/197: Probabilistic grammars, e.g. word n-grams
- G10L 13/02: Methods for producing synthetic speech; Speech synthesisers
- G10L 15/063: {Training}
- G10L 2015/0635: {updating or merging of old and new templates; Mean values; Weighting}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method includes identifying, using an automated speech recognition (ASR) system, at least one named entity hypothesis from at least one audio input. The method also can include providing, using the ASR system, the identified at least one named entity to a large language model (LLM). The method also can include generating a prompt using an automated prompt generator. The method also can include processing, using the LLM, the identified at least one named entity hypothesis and the prompt to generate updated named entity recognition data. The method also can include providing the updated named entity recognition data back to the ASR system.

## Claims

### Claim 1

A method comprising:
identifying, using an automated speech recognition (ASR) system, at least one named entity hypothesis from at least one audio input;
providing, using the ASR system, the identified at least one named entity hypothesis to a large language model (LLM);
generating a prompt using an automated prompt generator;
processing, using the LLM, the identified at least one named entity hypothesis and the prompt to generate updated named entity recognition data; and
providing the updated named entity recognition data back to the ASR system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising updating the ASR system with the updated named entity recognition data to enhance named entity recognition accuracy.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
accessing a set of audio samples of named entities collected from users of a voice assistance system, wherein each audio sample is annotated with a text transcript of the named entity and a corresponding category that the named entity belongs to of a plurality of categories;
for each audio sample in the set of audio samples:
generating the prompt including the named entity based on the corresponding category; and
providing the prompt as input to the LLM, wherein the updated named entity recognition data includes a plurality of possible commands including the named entity based on the corresponding category; and
training, based on the plurality of possible commands generated by the LLM, at least one of a language model or a talk-to-speech (TTS) model of the ASR system.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of categories includes at least one of:
an application name;
a name of a person;
a name of a television program;
a name of a movie;
a name of an electronic device;
a name of a place;
a name of a radio station;
a name of a podcast;
a name of a genre;
a name of a business;
a name of a sports team; or
a name of a song.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
creating a base model trained using the set of audio samples of named entities collected from the users of the voice assistance system; and
periodically updating the ASR system and/or the LLM based on the base model.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
providing the prompt generated using the automated prompt generator to a talk-to-speech (TTS) model;
synthesizing, using the TTS model, an audio sample based on the prompt; and
training the ASR system using the synthesized audio sample.

### Claim 7 (depends on 1)

The method of claim 1, wherein the ASR system and the LLM are executed on a same electronic device.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
providing user information stored on the same electronic device to the LLM; and
processing, using the LLM, the identified at least one named entity hypothesis to generate the updated named entity recognition data using the user information.

### Claim 9

An electronic device comprising:
at least one processing device configured to:
identify, using an automated speech recognition (ASR) system, at least one named entity hypothesis from at least one audio input;
provide, using the ASR system, the identified at least one named entity hypothesis to a large language model (LLM);
generate a prompt using an automated prompt generator;
process, using the LLM, the identified at least one named entity hypothesis and the prompt to generate updated named entity recognition data; and
provide the updated named entity recognition data back to the ASR system.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the at least one processing device is further configured to update the ASR system with the updated named entity recognition data to enhance named entity recognition accuracy.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein the at least one processing device is further configured to:
access a set of audio samples of named entities collected from users of a voice assistance system, wherein each audio sample is annotated with a text transcript of the named entity and a corresponding category that the named entity belongs to of a plurality of categories;
for each audio sample in the set of audio samples:
generate the prompt including the named entity based on the corresponding category; and
provide the prompt as input to the LLM, wherein the updated named entity recognition data includes a plurality of possible commands including the named entity based on the corresponding category; and
train, based on the plurality of possible commands generated by the LLM, at least one of a language model or a talk-to-speech (TTS) model of the ASR system.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the plurality of categories includes at least one of:
an application name;
a name of a person;
a name of a television program;
a name of a movie;
a name of an electronic device;
a name of a place;
a name of a radio station;
a name of a podcast;
a name of a genre;
a name of a business;
a name of a sports team; or
a name of a song.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the at least one processing device is further configured to:
create a base model trained using the set of audio samples of named entities collected from the users of the voice assistance system; and
periodically update the ASR system and/or the LLM based on the base model.

### Claim 14 (depends on 9)

The electronic device of claim 9, wherein the at least one processing device is further configured to:
provide the prompt generated using the automated prompt generator to a talk-to-speech (TTS) model;
synthesize, using the TTS model, an audio sample based on the prompt; and
train the ASR system using the synthesized audio sample.

### Claim 15 (depends on 9)

The electronic device of claim 9, wherein both the ASR system and the LLM are executed on the electronic device.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the at least one processing device is further configured to:
provide user information stored on the electronic device to the LLM; and
process, using the LLM, the identified at least one named entity hypothesis to generate the updated named entity recognition data using the user information.

### Claim 17

A non-transitory machine readable medium containing instructions that when executed cause at least one processor of an electronic device to:
identify, using an automated speech recognition (ASR) system, at least one named entity hypothesis from at least one audio input;
provide, using the ASR system, the identified at least one named entity hypothesis to a large language model (LLM);
generate a prompt using an automated prompt generator;
process, using the LLM, the identified at least one named entity hypothesis and the prompt to generate updated named entity recognition data; and
provide the updated named entity recognition data back to the ASR system.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, further containing instructions that when executed cause the at least one processor of the electronic device to update the ASR system with the updated named entity recognition data to enhance named entity recognition accuracy.

### Claim 19 (depends on 18)

The non-transitory machine readable medium of claim 18, further containing instructions that when executed cause the at least one processor of the electronic device to:
access a set of audio samples of named entities collected from users of a voice assistance system, wherein each audio sample is annotated with a text transcript of the named entity and a corresponding category that the named entity belongs to of a plurality of categories;
for each audio sample in the set of audio samples:
generate the prompt including the named entity based on the corresponding category; and
provide the prompt as input to the LLM, wherein the updated named entity recognition data includes a plurality of possible commands including the named entity based on the corresponding category; and
train, based on the plurality of possible commands generated by the LLM, at least one of a language model or a talk-to-speech (TTS) model of the ASR system.

### Claim 20 (depends on 17)

The non-transitory machine readable medium of claim 17, further containing instructions that when executed cause the at least one processor of the electronic device to:
provide the prompt generated using the automated prompt generator to a talk-to-speech (TTS) model;
synthesize, using the TTS model, an audio sample based on the prompt; and
train the ASR system using the synthesized audio sample.
