IP Library Granted Patent US 12,400,084
Granted Patent B2
US 12,400,084 · App. 17/578,980 · Granted Aug 26, 2025

Systems and methods for determining context switching in conversation

Inventors: Ahmed Nizam Mohaideen P (Kovilpatti, IN); Sashikumar Venkataraman (Andover, MA); Manik Malhotra (Bengaluru KA, IN)
Assignee: Adeia Guides Inc.
G06F40/35G06F16/243G06F16/248G06F16/3325G06F16/3334G06F16/3338G06F16/9535G06F40/284G06N3/02G10L15/16
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,400,084
App. No.
17/578,980
Granted
Aug 26, 2025
Kind
B2
Abstract

Systems and methods are described to address shortcomings in a conventional conversation system via a novel technique utilizing artificial neural networks to train the conversation system whether or not to continue context. In some aspects, an interactive media guidance application determines a type of conversation continuity in a natural language conversation comprising first and second queries. The interactive media guidance application determines a first token in the first query and a second token in the second query. The interactive media guidance application identifies entity data for the first and second tokens. The interactive media guidance application retrieves, from a knowledge graph, graph connections between the entity data for the first and second tokens. The interactive media guidance application applies this data as inputs to an artificial neural network. The interactive media guidance application determines an output that indicates the type of conversation continuity between the first and second queries.

Claims (96)

1. A method comprising:

receiving a first query and a second query, wherein the first query is received prior to receiving the second query, and wherein the first and second query are received via a user input interface of a device, and the second query is a current query for which a response has not yet been provided;

inputting the first query, and the second query as inputs of a neural network trained on a training dataset comprising:

(i) multiple previous-next query pairs where context is preserved; and

(ii) multiple previous-next query pairs where context is not preserved;

to produce an output result indicating either existence of context change from the first query to the second query or no existence of context change from the first query to the second query, wherein producing the output is further based at least in part on:

generating a first set of tokens based on terms in the first query and a second set of tokens based on terms in the second query;

mapping the first set of tokens and the second set of tokens to a first set of nodes;

comparing a token from the first set of tokens to a set of filler words to determine whether the token matches a filler word of the set of filler words; and

based at least in part on determining that the token matches the filler word of the set of filler words, excluding the token from the first set of tokens;

receiving the output result from the neural network;

determining whether the output result from the neural network indicates existence of context change from the first query to the second query, wherein:

determining that the output result from the neural network indicates no existence of context change from the first query to the second query causes:

automatic generation of a new query by merging the first query and the second query; and

determining that the neural network indicates existence of context change from the first query to the second query causes:

automatic selection of a first portion of the first query and a second portion of the second query that correspond to each other; and

automatic generation of a new query by replacing the first portion of the first query with the second portion of the second query.

2. The method of claim 1 , wherein the neural network comprises the first set of nodes associated with an input layer of the neural network and a second set of nodes associated with a hidden layer of the neural network, further comprising:

training the neural network, based on a training data set, to determine weights associated with connections between the first set of nodes and the second set of nodes in the neural network.

3. The method of claim 2 , wherein determining whether the first query and the second query are associated with the result indicating a merge or a replace operation comprises:

determining, using the weights associated with the connections between the first set of nodes and the second set of nodes, a value indicating whether the first query and the second query are associated with the merge operation or the replace operation.

4. The method of claim 1 , wherein each node of the first set of nodes is associated with a token, and wherein mapping the first set of tokens to the first set of nodes comprises:

matching a first token of the first set of tokens to a token associated with a first node of the first set of nodes of the input layer; and

in response to the matching, updating a first value in the neural network associated with the first node to indicate that a token associated with the first node matches the first token.

5. The method of claim 4 , wherein determining whether the first query and the second query are associated with the result indicating a merge or a replace operation comprises:

retrieving weights associated with the connections between the first set of nodes and a second set of nodes;

determining a first set of values each associated with a respective node of the second set of nodes based on multiplying a second set of values each associated with a respective node of the first set of nodes by the weights associated with the connections between the first set of nodes and the second set of nodes; and

determining a value indicating whether the first query and the second query are associated with the result indication the merge or the replace operation by multiplying the second set of values by the weights associated with the connections between the second set of nodes and the node associated with the value and adding the resulting values.

6. The method of claim 1 , wherein the first query and the second query are received via a voice recognition interface, further comprising, converting the first query to a first string of words based on a speech-to-text conversion and converting the second query to a second string of words based on the speech-to-text conversion.

7. The method of claim 1 , further comprising:

based on determining that the output result from the neural network indicates no existence of context change from the first query to the second query, automatically generating a new query by merging the first query and the second query.

8. The method of claim 1 , further comprising:

based on determining that the neural network indicates existence of context change from the first query to the second query:

automatically selecting a first portion of the first query and a second portion of the second query that correspond to each other; and

automatically generating a new query by replacing the first portion of the first query with the second portion of the second query.

9. The method of claim 1 , wherein when the automatic merging is performed, the method further comprises:

identifying a first entity of the first query;

identifying a second entity of the second query;

in a knowledge graph comprising a first node representing the first entity and a second node representing the second entity, determining that each of the first node and the second node is connected to node representing a specific entity type, and

wherein the inputting further comprises inputting an indication of the specific entity type to the neural network.

10. The method of claim 9 , wherein the first entity corresponds to the first token and the second entity corresponds to the second token.

11. A system comprising:

input/output circuitry configured to:

receive a first query and a second query, wherein the first query is received prior to receiving the second query, and wherein the first and second query are received via a user input interface of a device, and the second query is a current query for which a response has not yet been provided;

processing circuitry configured to:

input the first query and the second query as inputs of a neural network trained on a training dataset comprising:

(i) multiple previous-next query pairs where context is preserved; and

(ii) multiple previous-next query pairs where context is not preserved;

to produce an output result indicating either existence of context change from the first query to the second query or no existence of context change from the first query to the second query, wherein the processing circuitry is configured to produce the output at least in part by:

generating a first set of tokens based on terms in the first query and a second set of tokens based on terms in the second query;

mapping the first set of tokens and the second set of tokens to a first set of nodes;

comparing a token from the first set of tokens to a set of filler words to determine whether the token matches a filler word of the set of filler words; and

based at least in part on determining that the token matches the filler word of the set of filler words, excluding the token from the first set of tokens;

receive the output result from the neural network;

determine whether the output result from the neural network indicates existence of context change from the first query to the second query, wherein:

determining that the output result from the neural network indicates no existence of context change from the first query to the second query causes the processing circuitry to:

automatically generate a new query by merging the first query and the second query; and

determining that the neural network indicates existence of context change from the first query to the second query causes the processing circuitry to:

automatically select a first portion of the first query and a second portion of the second query that correspond to each other; and

automatically generate a new query by replacing the first portion of the first query with the second portion of the second query.

12. The system of claim 11 , wherein the neural network comprises the first set of nodes associated with an input layer of the neural network and a second set of nodes associated with a hidden layer of the neural network, and wherein the processing circuitry is further configured to:

train the neural network, based on a training data set, to determine weights associated with connections between the first set of nodes and the second set of nodes in the neural network.

13. The system of claim 12 , wherein the processing circuitry is further configured, when determining whether the first query and the second query are associated with the result indicating a merge operation and a replace operation, to:

determine, using the weights associated with the connections between the first set of nodes and the second set of nodes, a value indicating whether the first query and the second query are associated with the merge operation and the replace operation.

14. The system of claim 11 , wherein each node of the first set of nodes is associated with a token, and wherein the processing circuitry is further configured, when mapping the first set of tokens to the first set of nodes, to:

match a first token of the first set of tokens to a token associated with a first node of the first set of nodes of the input layer; and

in response to the matching, update a first value in the neural network associated with the first node to indicate that a token associated with the first node matches the first token.

15. The system of claim 14 , wherein the processing circuitry is further configured, when determining whether the first query and the second query are associated with the result indicating a merge operation and a replace operation, to:

retrieve weights associated with the connections between the first set of nodes and a second set of nodes;

determine a first set of values each associated with a respective node of the second set of nodes based on multiplying a second set of values each associated with a respective node of the first set of nodes by the weights associated with the connections between the first set of nodes and the second set of nodes; and

determine a value indicating whether the first query and the second query are associated with the result indication the merge operation and the replace operation by multiplying the second set of values by the weights associated with the connections between the second set of nodes and the node associated with the value and adding the resulting values.

16. The system of claim 11 , wherein the processing circuitry is configured to:

based on determining that the output result from the neural network indicates no existence of context change from the first query to the second query, automatically generate a new query by merging the first query and the second query.

17. The system of claim 11 , wherein the processing circuitry is configured to:

based on determining that the neural network indicates existence of context change from the first query to the second query:

automatically select a first portion of the first query and a second portion of the second query that correspond to each other; and

automatically generate a new query by replacing the first portion of the first query with the second portion of the second query.

18. The system of claim 11 , wherein when the automatic merging is performed, the processing circuitry is further configured to:

identify a first entity of the first query;

identify a second entity of the second query;

in a knowledge graph comprising a first node representing the first entity and a second node representing the second entity, determine that each of the first node and the second node is connected to node representing a specific entity type, and

perform the inputting further by inputting an indication of the specific entity type to the neural network.

19. The system of claim 18 , wherein the first entity corresponds to the first token and the second entity corresponds to the second token.

20. A method comprising:

receiving a first query and a second query, wherein the first query is received prior to receiving the second query, and wherein the first and second query are received via a user input interface of a device, and the second query is a current query for which a response has not yet been provided;

prior to receiving the second query, providing a first response to the first query based at least in part on identifying a first connection in a knowledge graph between the first entity of the first query and the first entity type for the first entity;

determining that a second term of the second query corresponds to a second entity type indicated in the knowledge graph; and

identifying a second connection in the knowledge graph between the second entity type and the first entity of the first query;

inputting the first query, the second query, and an indication of the second connection to the neural network as inputs of a neural network trained on a training dataset comprising:

(i) multiple previous-next query pairs where context is preserved; and

(ii) multiple previous-next query pairs where context is not preserved;

to produce an output result indicating either existence of context change from the first query to the second query or no existence of context change from the first query to the second query;

receiving the output result from the neural network;

determining the output result from the neural network indicates existence of context change from the first query to the second query;

based at least in part on determining the output result from the neural network indicates existence of context change from the first query to the second query, automatically updating the first entity type of the first entity which the second query is clarifying; and

providing a second response to the second query based at least in part on the automatic updating of the first entity type, wherein the second response comprises one or more different results than the first response.

Assignments (3)
CHANGE OF NAME Recorded Oct 2, 2024
From: ROVI GUIDES, INC.
To: ADEIA GUIDES INC.
Reel/Frame 069085/0731 →
SECURITY INTEREST Recorded May 3, 2023
From: ADEIA GUIDES INC.; ADEIA IMAGING LLC; ADEIA MEDIA HOLDINGS LLC; ADEIA MEDIA SOLUTIONS INC.; ADEIA SEMICONDUCTOR ADVANCED TECHNOLOGIES INC.; ADEIA SEMICONDUCTOR BONDING TECHNOLOGIES INC.; ADEIA SEMICONDUCTOR INC.; ADEIA SEMICONDUCTOR SOLUTIONS LLC; ADEIA SEMICONDUCTOR TECHNOLOGIES LLC; ADEIA SOLUTIONS LLC
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 063529/0272 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2022
From: MOHAIDEEN P, AHMED NIZAM; VENKATARAMAN, SASHIKUMAR; MALHOTRA, MANIK
To: ROVI GUIDES, INC.
Reel/Frame 058696/0544 →
Continuity (3)
Continuation 16308268
Continuation 15176516 · Jun 8, 2016
Related Publication 20220215178A1 · Jul 7, 2022
References Cited (31)
US 6047277A · Parry et al. · 2000 [cited by applicant]
US 6239794B1 · Yuen et al. · 2001 [cited by applicant]
US 6564378B1 · Satterfield et al. · 2003 [cited by applicant]
US 7165098B1 · Boyer et al. · 2007 [cited by applicant]
US 7565345B2 · Bailey et al. · 2009 [cited by applicant]
US 7761892B2 · Ellis et al. · 2010 [cited by applicant]
US 8046801B2 · Ellis et al. · 2011 [cited by applicant]
US 8954318B2 · Barve et al. · 2015 [cited by applicant]
US 9183257B1 · Buchanan et al. · 2015 [cited by applicant]
US 9189742B2 · London · 2015 [cited by applicant]
US 10418032B1 · Mohajer et al. · 2019 [cited by applicant]
US 20020174430A1 · Ellis et al. · 2002 [cited by applicant]
US 20050251827A1 · Ellis et al. · 2005 [cited by applicant]
US 20070250492A1 · Angel · 2007 [cited by examiner]
US 20090119248A1 · Sundaresan · 2009 [cited by examiner]
US 20100153885A1 · Yates · 2010 [cited by applicant]
US 20110131205A1 · Iyer · 2011 [cited by examiner]
US 20120096030A1 · Kim · 2012 [cited by applicant]
US 20120233140A1 · Collins-Thompson et al. · 2012 [cited by applicant]
US 20140172899A1 · Hakkani-Tur et al. · 2014 [cited by applicant]
US 20140365209A1 · Evermann · 2014 [cited by applicant]
US 20150142420A1 · Sarikaya · 2015 [cited by examiner]
US 20150142704A1 · London · 2015 [cited by examiner]
US 20160094889A1 · Venkataraman et al. · 2016 [cited by applicant]
US 20160358240A1 · Redfern et al. · 2016 [cited by applicant]
JP H08137874A · 1996 [cited by applicant]
JP 2004185135A · 2004 [cited by applicant]
JP 2008537624A · 2008 [cited by applicant]
JP 2012173781A · 2012 [cited by applicant]
“ISR and Written Opinion”, International Search Report and Written Opinion of PCT/US2017/034385 dated Jul. 6, 2017. [cited by applicant]
Sekiguchi, “Forum about automatic presumption of a query change intention,” the 3rd data engineering, and the information management using outside and a retrieval query log Collected-papers [online], Japan, the Institut… [cited by applicant]
Cited By (1)
US 12,694,046