IP Library › Granted Patent US 12,731,580
Granted Patent B2
US 12,731,580 · App. 18/817,461 · Granted Sep 8, 2026

Natural language processing using context

Inventors: Da Teng (Sammamish, WA); Adrian Evans (Lake Tapps, WA); Naresh Narayanan (Seattle, WA)
Assignee: Amazon Technologies, Inc.
G10L15/183G10L15/22G10L17/22G10L2015/223G10L2015/227G10L2015/228
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,731,580
App. No.
18/817,461
Granted
Sep 8, 2026
Kind
B2
Abstract

This disclosure proposes systems and methods for processing natural language inputs using data associated with multiple language recognition contexts (LRC). A system using multiple LRCs can receive input data from a device, identify a first identifier associated with the device, and further identify second identifiers associated with the first identifier and representing candidate users of the device. The system can access language processing data used for natural language processing for the LRCs corresponding to each of the first and second identifiers, and process the input data using the language processing data at one or more stages of automatic speech recognition, natural language understanding, entity resolution, and/or command execution. User recognition can reduce the number of candidate users, and thus the amount of data used to process the input data. Dynamic arbitration can select from between competing hypotheses representing the first identifier and a second identifier, respectively.

Claims (52)

1 . A computer-implemented method, comprising:

receiving, by a language processing component from a first device, input data corresponding to a natural language input;

receiving, from a second device, first context data corresponding to the input data, the first context data comprising a user identifier corresponding to a first possible user of the first device; and

performing, by the language processing component based on the first context data and the user identifier, first language processing on the input data to generate output data.

2 . The computer-implemented method of claim 1 , the first context data further comprising time data representing a time of receipt of the natural language input.

3 . The computer-implemented method of claim 1 , the first context data further comprising location data corresponding to the second device.

4 . The computer-implemented method of claim 1 , the first context data further comprising data representing at least one additional person in an environment of the second device.

5 . The computer-implemented method of claim 1 , further comprising:

determining first language processing data corresponding to the user identifier,

wherein performing the first language processing comprises using the first language processing data corresponding to the user identifier.

6 . The computer-implemented method of claim 1 , further comprising:

determining first entity data corresponding to the user identifier,

wherein performing the first language processing comprises using the first entity data corresponding to the user identifier.

7 . The computer-implemented method of claim 1 , further comprising:

determining, based at least in part on the first context data, that the first possible user is proximate to the first device.

8 . The computer-implemented method of claim 1 , wherein performing the first language processing comprising:

determining a first hypothesis corresponding to the natural language input;

determining a second hypothesis corresponding to the natural language input; and

based at least in part on the user identifier, selecting the first hypothesis.

9 . The computer-implemented method of claim 1 , further comprising:

receiving second context data corresponding to the input data;

determining, based on the second context data, a second identifier corresponding to a second possible user of the first device; and

based at least in part on the input data, determining the first possible user more likely provided the natural language input than the second possible user.

10 . The computer-implemented method of claim 1 , further comprising:

determining, based at least in part on the first context data, that the first device detects only a single user proximate to the first device.

11 . A system comprising:

at least one processor; and

at least one memory comprising instructions that, when executed by the at least one processor, cause the system to:

receive, by a language processing component from a first device, input data corresponding to a natural language input;

receive, from a second device, first context data corresponding to the input data, the first context data comprising a user identifier corresponding to a first possible user of the first device; and

perform, by the language processing component based on the first context data and the user identifier, first language processing on the input data to generate output data.

12 . The system of claim 11 , the first context data further comprising time data representing a time of receipt of the natural language input.

13 . The system of claim 11 , the first context data further comprising location data corresponding to the second device.

14 . The system of claim 11 , the first context data further comprising data representing at least one additional person in an environment of the second device.

15 . The system of claim 11 , wherein the at least one memory further comprises instructions that, when executed by the at least one processor, further cause the system to:

determine first language processing data corresponding to the user identifier,

wherein the instructions that cause the system to perform the first language processing comprise instructions that, when executed by the at least one processor, cause the system to use the first language processing data corresponding to the user identifier.

16 . The system of claim 11 , wherein the at least one memory further comprises instructions that, when executed by the at least one processor, further cause the system to:

determine first entity data corresponding to the user identifier,

wherein the instructions that cause the system to perform the first language processing comprise instructions that, when executed by the at least one processor, cause the system to use the first entity data.

17 . The system of claim 11 , wherein the at least one memory further comprises instructions that, when executed by the at least one processor, further cause the system to:

determine, based at least in part on the first context data, that the first possible user is proximate to the first device.

18 . The system of claim 11 , wherein the instructions that cause the system to perform the first language processing comprise instructions that, when executed by the at least one processor, cause the system to:

determine a first hypothesis corresponding to the natural language input;

determine a second hypothesis corresponding to the natural language input; and

based at least in part on the user identifier, select the first hypothesis.

19 . The system of claim 11 , wherein the at least one memory further comprises instructions that, when executed by the at least one processor, further cause the system to:

receive second context data corresponding to the input data;

determine, based on the second context data, a second identifier corresponding to a second possible user of the first device; and

based at least in part on the input data, determine the first possible user more likely provided the natural language input than the second possible user.

20 . The system of claim 11 , wherein the at least one memory further comprises instructions that, when executed by the at least one processor, further cause the system to:

determine, based at least in part on the first context data, that the first device detects only a single user proximate to the first device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 28, 2024
From: TENG, DA; EVANS, ADRIAN; NARAYANAN, NARESH
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 068422/0961 →
Continuity (3)
Continuation 17848901 · Jun 24, 2022
Continuation 16827025 · Mar 23, 2020
Related Publication 20250131921A1 · Apr 24, 2025
References Cited (4)
US 10049663B2 · Orr · 2018 [cited by examiner]
US 11386887B1 · Teng · 2022 [cited by examiner]
US 12080282B2 · Teng · 2024 [cited by examiner]
US 20170041388A1 · Tal · 2017 [cited by examiner]