IP Library Granted Patent US 12,494,200
Granted Patent B1
US 12,494,200 · App. 18/082,742 · Granted Dec 9, 2025

Natural language interactions using visual understanding

Inventors: Ahmet Emre Barut (New York, NY); Melanie C B Gens (Honolulu, HI); Matthew Cavell Johnson (Maple Valley, WA); Prashan Wanigasekara (Arlington, MA); Chengwei Su (Lexington, MA); Kechin Qin (Medford, MA); Fan Yang (Waltham, MA); Spurthideepika Sandiri (Holliston, MA)
Assignee: Amazon Technologies, Inc.
G10L15/22G06F3/167G10L15/1815G10L15/19G10L15/24G10L25/57G10L2015/223G10L15/30
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,494,200
App. No.
18/082,742
Filed
Dec 16, 2022
Granted
Dec 9, 2025
Kind
B1
Art Unit
2658
USPC
704/235
Abstract

Techniques for performing an action with respect to displayed content are described. A natural language interpretation corresponding to a received spoken user input may be determined. Prior to receiving the spoken user input, content may be displayed to the user from which the spoken user input was received. The natural language interpretation may represent a request to perform an action with respect to a portion of the content currently being displayed. Content identifiers corresponding to content being displayed, may be determined, and embedding data representing at least one feature of the content may be determined using the content identifiers. The natural language interpretation and the embedding data may be processed to determine that the spoken user input relates to a first portion of the displayed content instead of a second portion of the displayed content. Based on the determination, an action responsive to the spoken user input may be performed.

Claims (100)

1 . A computer-implemented method comprising:

causing a first image to be displayed;

storing first data associating the first image with a first device identifier of a first device;

after causing the first image to be displayed, receiving, from the first device, first input audio data representing a first spoken input;

performing automatic speech recognition (ASR) processing using the first input audio data to generate ASR output data including a first transcript of the first spoken input;

receiving, from the first device, second input audio data representing a second spoken input;

performing ASR processing using the second input audio data to generate second ASR output data including a second transcript of the second spoken input;

based on the first data, the first input audio data, and the second input audio data being received from the first device, determining first embedding data associated with the first image, the first embedding data representing at least one feature of the first image;

processing, using an encoder, the second ASR output data to generate second embedding data representing at least one feature of the second spoken input;

using a first machine learning (ML) component, processing the ASR output data and the first embedding data to determine a first similarity between the ASR output data and the first embedding data, wherein the first similarity represents a likelihood that the first spoken input is requesting performance of an action with respect to the first image;

determining, based on the first similarity, that the first spoken input relates to the first image;

based on determining that the first spoken input relates to the first image, performing a first action responsive to the first spoken input;

using a second ML component, processing the first embedding data and the second embedding data to determine that the second spoken input is associated with the first image; and

based on determining that the second spoken input is associated with the first image, performing a second action responsive to the second spoken input.

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

prior to receiving the first input audio data, receiving, from the first device, the second input audio data representing the second spoken input;

performing natural language understanding (NLU) processing using the second ASR output data to generate NLU output data including at least an intent corresponding to the second spoken input;

based on the NLU output data, determining the first image, the first image being responsive to the second spoken input; and

ceasing display of the first image,

wherein the first input audio data is received after ceasing display of the first image.

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

using the second ML component, processing the first embedding data and the second embedding data to determine a second similarity between the first embedding data and the second embedding data,

wherein the second similarity represents a likelihood that the second embedding data is requesting performance of a second action with respect to the first image.

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

prior to receiving the first input audio data, causing a second image to be displayed, wherein the first data is further stored to associate the second image with the first device identifier;

based on the first data and the first input audio data being received from the first device, determining third embedding data associated with the second image, wherein the third embedding data represents at least one feature of the second image;

using the first ML component, processing the third embedding data to determine a third similarity between the ASR output data and the third embedding data; and

determining, based on the first similarity and the third similarity, that the first spoken input relates to the first image instead of the second image.

5 . A computer-implemented method comprising:

receiving a first representation of a first natural language user input;

determining first content data that was displayed prior to receiving the first representation of the first natural language user input;

determining first embedding data associated with the first content data, the first embedding data representing at least one feature of the first content data;

using the first embedding data, determining that the first natural language user input refers to the first content data;

based on determining that the first natural language user input refers to the first content data, performing a first action responsive to the first natural language user input;

receiving a second representation of a second natural language user input;

determining second embedding data representing at least one feature of the second natural language user input;

processing, using a machine learning (ML) component, the first embedding data and the second embedding data to determine the second natural language user input is associated with the first content data; and

based on determining that the second natural language user input is associated with the first content data, performing a second action responsive to the second natural language user input.

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

processing, using an encoder, the second representation of the second natural language user input to generate the second embedding data representing the at least one feature of the second natural language user input;

processing, using the ML component, the first embedding data and the second embedding data to determine a similarity between the first embedding data and the second embedding data,

determining the similarity represents a likelihood that the second embedding data is requesting performance of the second action with respect to the first content data; and

determining, based on the similarity, that the second natural language user input relates to the first content data.

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

determining an object represented in the first content data;

determining second content data including a third representation of the object; and

based on the second content data including the third representation of the object, determining that the second content data is to be displayed in response to the first natural language user input.

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

determining second content data that was displayed prior to receiving the first representation of the first natural language user input, wherein the first content data and the second content data are determined based on first data associating the first content data and the second content data with a first device, and the first natural language user input being received from the first device;

determining third embedding data associated with the second content data, the third embedding data representing at least one feature of the second content data;

processing, using the machine learning (ML) component, the first representation of the first natural language user input and the first embedding data to determine a first similarity;

processing, using the ML component, the first representation of the first natural language user input and the third embedding data to determine a second similarity; and

based on the first similarity and the second similarity, determining that the first natural language user input relates to the first content data instead of the second content data.

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

based on determining that the first natural language user input refers to the first content data instead of the second content data, generating natural language understanding (NLU) output data including at least a first NLU hypothesis associated with the first embedding data and the third embedding data.

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

determining the first embedding data represents at least one of a color or a position of an object represented in the first content data.

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

determining a first automatic speech recognition (ASR) hypothesis including a first transcript of the first natural language user input; and

using a machine learning (ML) component, processing the first ASR hypothesis and the first embedding data to determine a second ASR hypothesis including a second transcript of the first natural language user input.

12 . The computer-implemented method of claim 5 , wherein:

the first content data is video data, and

the first embedding data corresponds to a first frame of the video data.

13 . A computing system comprising:

at least one processor; and

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

receive a first representation of a first natural language user input;

determine first content data that was displayed prior to receiving the first representation of the first natural language user input;

determine first embedding data associated with the first content data, the first embedding data representing at least one feature of the first content data;

use the first embedding data, determining that the first natural language user input refers to the first content data;

based on determining that the first natural language user input refers to the first content data, perform a first action responsive to the first natural language user input;

receive a second representation of a second natural language user input;

determine second embedding data representing at least one feature of the second natural language user input;

process, using a machine learning (ML) component, the first embedding data and the second embedding data to determine the second natural language user input is associated with the first content data; and

based on determination that the second natural language user input is associated with the first content data, perform a second action responsive to the second natural language user input.

14 . The computing system of claim 13 , further comprising:

process, using an encoder, the second representation of the second natural language user input to generate the second embedding data representing at least one feature of the second natural language user input;

process, using the ML component, the first embedding data and the second embedding data to determine a similarity between the first embedding data and the second embedding data,

determine the similarity represents a likelihood that the second embedding data is requesting performance of the second action with respect to the first content data; and

determine, based on the similarity, that the second natural language user input relates to the first content data.

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

determine an object represented in the first content data;

determine second content data including a third representation of the object; and

based on the second content data including the third representation of the object, determine that the second content data is to be displayed in response to the first natural language user input.

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

determine second content data that was displayed prior to receiving the first representation of the first natural language user input, wherein the first content data and the second content data are determined based on first data associating the first content data and the second content data with a first device, and the first natural language user input being received from the first device;

determine third embedding data associated with the second content data, the third embedding data representing at least one feature of the second content data;

process, using the ML component, the first representation of the first natural language user input and the first embedding data to determine a first similarity;

process, using the ML component, the first representation of the first natural language user input and the third embedding data to determine a second similarity; and

based on the first similarity and the second similarity, determine that the first natural language user input relates to the first content data instead of the second content data.

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

based on determining that the first natural language user input refers to the first content data instead of the second content data, generate natural language understanding (NLU) output data including at least a first NLU hypothesis associated with the first embedding data and the third embedding data.

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

determine the first embedding data represents at least one of a color or a position of an object represented in the first content data.

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

determine a first automatic speech recognition (ASR) hypothesis including a first transcript of the first natural language user input; and

process, using a machine learning (ML) component, the first ASR hypothesis and the first embedding data to determine a second ASR hypothesis including a second transcript of the first natural language user input.

20 . The computing system of claim 13 , wherein:

the first content data is video data, and

the first embedding data corresponds to a first frame of the video data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 16, 2025
From: BARUT, AHMET EMRE; GENS, MELANIE C B; JOHNSON, MATTHEW CAVELL; WANIGASEKARA, PRASHAN; SU, CHENGWEI; QIN, KECHEN; YANG, FAN; SANDIRI, SPURTHIDEEPIKA
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 069889/0797 →
Continuity (1)
Provisional Application 63418005 · Oct 20, 2022
References Cited (44)
US 11200892B1 · Stoops · 2021 [cited by examiner]
US 11386901B2 · Nishidate · 2022 [cited by examiner]
US 12045288B1 · Barut · 2024 [cited by examiner]
US 12069013B1 · Bell · 2024 [cited by examiner]
US 20220207872A1 · Ren · 2022 [cited by examiner]
Agarwal, et al. “Building goal-oriented dialogue systems with situated visual context.” 2021. CoRR, abs/2111.11576. [cited by applicant]
Alayrac, et al. “Flamingo: a visual language model for few-shot learning.” 2022. arXiv preprint arXiv:2204.14198. [cited by applicant]
Chen, et al. “A simple framework for contrastive learning of visual representations.” 2020. CoRR, abs/2002.05709. [cited by applicant]
Chen, et al. “Improving long distance slot carryover in spoken dialogue systems.” 2019a. arXiv preprint arXiv:1906.01149. [cited by applicant]
Chen, et al. “UNITER: learning universal image-text representations.” 2019b. CoRR, abs/1909.11740. [cited by applicant]
Dosovitskiy, et al. “An image is worth 16×16 words: Transformers for image recognition at scale.” 2020. CoRR, abs/2010.11929. [cited by applicant]
FitzGerald, et al. “Alexa teacher model: Pretraining and distilling multi-billionparameter encoders for natural language understanding systems.” 2022. arXiv preprint arXiv:2206.07808. [cited by applicant]
Chiyah-Garcia, et al. “Exploring multi-modal representations for ambiguity detection & coreference resolution in the SIMMC 2.0 challenge.” 2022. CoRR, abs/2202.12645. [cited by applicant]
Girshick, et al. “Rich feature hierarchies for accurate object detection and semantic segmentation.” 2013. CoRR, abs/1311.2524. [cited by applicant]
He, et al. “Momentum contrast for unsupervised visual representation learning.” 2019. CoRR, abs/1911.05722. [cited by applicant]
Hochreiter, et al. “Long short-term memory.” Neural Computation, 1997. 9(8):1735-1780. [cited by applicant]
Jia, et al. “Scaling up visual and vision-language representation learning with noisy text supervision.” 2021. CoRR, abs/2102.05918. [cited by applicant]
Kottur, et al. “SIMMC 2.0: A task-oriented dialog dataset for immersive multimodal conversations.” In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event/Pun… [cited by applicant]
Le, et al. “Multimodal dialogue state tracking.” ICLR 2022 Conference Withdrawn Submission. Sep. 28, 2021. [cited by applicant]
Li, et al. “Blip: Bootstrapping language-image pretraining for unified vision-language understanding and generation.” 2022. arXiv preprint arXiv:2201.12086. [cited by applicant]
Li, et al. “Align before fuse: Vision and language representation learning with momentum distillation.” Advances in Neural Information Processing Systems. 2021a. 34. [cited by applicant]
Li, et al. 2020. “Oscar: Object-semantics aligned pre-training for vision-language tasks.” 2020. CoRR, abs/2004.06165. [cited by applicant]
Long, et al. “Fully convolutional networks for semantic segmentation.” 2014. CoRR, abs/1411.4038. [cited by applicant]
Naik, et al. “Contextual slot carryover for disparate schemas.” 2018. arXiv preprint arXiv:1806.01773. [cited by applicant]
Pang, et al. “Visual dialogue state tracking for question generation.” 2019. CoRR, abs/1911.07928. [cited by applicant]
Piergiovanni, et al. “Answer-me: Multi-task openvocabulary visual question answering.” 2022. arXiv preprint arXiv:2205.00949. [cited by applicant]
Radford, et al. “Learning transferable visual models from natural language supervision.” 2021. CoRR, abs/2103.00020. [cited by applicant]
Radford, et al. “Language models are unsupervised multitask learners.” OpenAI blog, 2019. 1(8):9. [cited by applicant]
Rastogi, et al. “Scaling multidomain dialogue state tracking via query reformulation.” In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language… [cited by applicant]
Sharaf, et al. “Cross-lingual approaches to reference resolution in dialogue systems.” 2018. CoRR, abs/1811.11161. [cited by applicant]
Simonyan, et al. “Two-stream convolutional networks for action recognition in videos.” 2014. CoRR, abs/1406.2199. [cited by applicant]
Singh, et al. FLAVA: A foundational language and vision alignment model. 2021. CoRR, abs/2112.04482. [cited by applicant]
Tan, et al. “LXMERT: learning cross-modality encoder representations from transformers.” 2019. CoRR abs/1908.07490. [cited by applicant]
Tian, et al. “Contrastive multiview coding.” 2019. CoRR, abs/1906.05849. [cited by applicant]
Van den Oord, et al. “Representation learning with contrastive predictive coding.” 2018. CoRR, abs/1807.03748. [cited by applicant]
Vaswani, et al. “Attention is all you need.” 2017. CoRR, abs/1706.03762. [cited by applicant]
Vinyals, et al. “Show and tell: A neural image caption generator.” 2014. CoRR, abs/1411.4555. [cited by applicant]
Wang, et al. “OFA: Unifying architectures, tasks, and modalities through a simple sequence-to-sequence learning framework.” 2022. CoRR, abs/2202.03052. [cited by applicant]
Wang, et al. “Simvim: Simple visual language model pretraining with weak supervision.” 2021. CoRR, abs/2108.10904. [cited by applicant]
Wanigasekara, et al. “Semantic vl-bert: Visual grounding via attribute learning.” Amazon Science. Conference IJCNN 2022. [cited by applicant]
Yu, et al. “Coca: Contrastive captioners are image-text foundation models.” 2022. arXiv preprint arXiv:2205.01917. [cited by applicant]
Yuan, et al. “Florence: A new foundation model for computer vision.” 2021. CoRR, abs/2111.11432. [cited by applicant]
Zhang, et al. “Vinvl: Making visual representations matter in vision-language models.” 2021. CoRR, abs/2101.00529. [cited by applicant]
Zhang, et al. “Contrastive learning of medical visual representations from paired images and text.” 2020. CoRR, abs/2010.00747. [cited by applicant]