IP Library › Granted Patent US 12,259,914
Granted Patent B1
US 12,259,914 · App. 17/240,724 · Granted Mar 25, 2025

Questions disambiguation using generative evidence fusion and round-trip prediction

Inventors: Yifan Gao (Yangzhou, CN); Henghui Zhu (Jersey City, NJ); Ramesh M. Nallapati (New Canaan, CT); Patrick Ng (Rego Park, NY); Cicero Nogueira Dos Santos (Glen Ridge, NJ); Zhiguo Wang (Syosset, NY); Feng Nan (Great Neck, NY); Dejiao Zhang (Jersey City, NJ); Andrew Oliver Arnold (New York, NY); Bing Xiang (Mount Kisco, NY)
Assignee: Amazon Technologies, Inc.
G06F16/3329G06F40/20G06N3/045G06N5/04G06N20/00
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,259,914
App. No.
17/240,724
Granted
Mar 25, 2025
Kind
B1
Abstract

Techniques for predicting an answer to a question using a machine learning model are described. In some examples, the model predicts one or more answers to the question by: predicting at least two answers to the question using a first component of the question-answer model from a set of passages, generating, using a second component of the question-answer model, at least one question for each of the predicted at least two answers, and performing roundtrip predictions until each generated question only has one answer.

Claims (52)

1. A computer-implemented method comprising:

receiving a request to predict an answer to a question using a question-answer model;

predicting one or more answers to the question by:

predicting at least two answers to the question from a set of ranked passages using a first encoder/decoder model of the question-answer model, wherein an input to the first encoder/decoder model comprises a concatenation of the question and each passage, and wherein the first encoder/decoder model processes each passage of the set of ranked passages independently in an encoder of the first encoder/decoder model and jointly in a decoder of the encoder/decoder model,

generating, using a second encoder/decoder model of the question-answer model, at least one question for each of the predicted at least two answers,

performing roundtrip question-answer pair prediction, wherein performing roundtrip question-answer pair prediction comprises:

feeding at least a proper subset of the generated questions back to the first encoder/decoder model of the question answer model, wherein the at least a proper subset of the generated questions comprises less than all or all of the generated questions,

predicting at least one answer to each question of the at least proper subset of the generated questions using the first encoder/decoder model of the question-answer model from the set of ranked passages, and

generating, when there are multiple predicted answers to any question of the at least proper subset of generated questions, using the second encoder/decoder model of the question-answer model, at least one question for each of the predicted multiple answers, wherein each generated question that has only one predicted answer and the only one predicted answer form a question-answer pair to potentially be presented as a predicted result, and

continuing performing roundtrip question-answer pair prediction until each generated question fed back to the first encoder/decoder model has only one predicted answer; and

providing at least a proper subset of the question-answer pairs.

2. The computer-implemented method of claim 1 , wherein the request includes at least the question and one or more of an indication of a data source to use to answer the question, a maximum number of answers to receive, or an indication of how the answer is to be presented.

3. A computer-implemented method comprising:

receiving a request to predict an answer to a question using a question-answer model;

predicting one or more answers to the question by:

predicting at least two answers to the question from a set of passages using a first component of the question-answer model, wherein an input to the first component comprises a concatenation of the question and each passage of the set of passages, and wherein the first component processes each passage of the set of passages independently in an encoder of the first component and jointly in a decoder of the first component,

generating, using a second component of the question-answer model, at least one question for each of the predicted at least two answers,

performing roundtrip question-answer pair prediction, wherein performing roundtrip question-answer pair prediction comprises:

feeding at least a proper subset of the generated questions back to the first component of the question answer model,

predicting at least one answer to each question of the at least proper subset of the generated questions using the first component of the question-answer model from the set of passages, and

generating, when there are multiple predicted answers to any question of the at least proper subset of the generated questions, using the second component of the question-answer model, at least one question for each of the multiple predicted answers, wherein each generated question that has only one predicted answer and the only one predicted answer form a question-answer pair to potentially be presented as a predicted result, and

continuing the performing roundtrip question-answer pair prediction until each generated question fed back to the first component of the question answer model has only one predicted answer; and

providing at least a proper subset of the question-answer pairs.

4. The computer-implemented method of claim 3 , wherein the set of passages is a subset of passages retrieved from storage that have been ranked.

5. The computer-implemented method of claim 4 , wherein the ranking is performed by an encoder/decoder based model.

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

verifying and filtering the generated questions prior to feeding the at least a proper subset of the generated questions to the first component of the question answer model.

7. The computer-implemented method of claim 6 , wherein the verifying and filtering is performed using language model verification.

8. The computer-implemented method of claim 6 , wherein the verifying and filtering is performed using exact match verification.

9. The computer-implemented method of claim 3 , wherein an input to the first component of the question-answer model comprises one of a combination of a question and each passage or the question and a list of retrieved passages.

10. The computer-implemented method of claim 3 , wherein an input to the second component of the question-answer model comprises a concatenation of a question, each passage, and a predicted answer.

11. The computer-implemented method of claim 3 , wherein the second component utilizes a bidirectional encoder that feeds an autoregressive decoder.

12. The computer-implemented method of claim 3 , wherein providing at least a proper subset of the question-answer pairs comprises highlighting each answer in a relevant passage.

13. The computer-implemented method of claim 3 , wherein the request includes at least the question and one or more of an indication of a data source to use to answer the question, a maximum number of answers to receive, or an indication of how the answer is to be presented.

14. A system comprising:

a first one or more electronic devices to implement a storage service in a multi-tenant provider network to store passages from documents; and

a second one or more electronic devices to implement a search service in the multi-tenant provider network, the search service including instructions that upon execution cause the search service to:

receive a request to predict an answer to a question using a question-answer model;

predict one or more answers to the question by:

predicting at least two answers to the question from a set of stored passages using a first component of the question-answer model, wherein an input to the first component comprises a concatenation of the question and each passage of the set of stored passages, and wherein the first component processes each passage of the set of stored passages independently in an encoder of the first component and jointly in a decoder of the first component,

generating, using a second component of the question-answer model, at least one question for each of the predicted at least two answers,

performing roundtrip question-answer pair prediction, wherein performing roundtrip question-answer pair prediction comprises:

feeding at least a proper subset of the generated questions back to the first component of the question answer model,

predicting at least one answer to each question of the at least proper subset of the generated questions using the first component of the question-answer model from the set of passages, and

generating, when there are multiple predicted answers to a question of the at least proper subset of the generated questions, using the second component of the question-answer model, at least one question for each of the multiple predicted answers, wherein each generated question that has only one predicted answer and the only one predicted answer form a question-answer pair to potentially be presented as a predicted result, and

continuing the performing roundtrip question-answer pair prediction until each generated question fed back to the first component of the question answer model has only one predicted answer; and

providing at least a proper subset of the question-answer pairs.

15. The system of claim 14 , wherein the set of passages is a subset of passages retrieved from storage that have been ranked.

16. The system of claim 15 , wherein the ranking is performed by an encoder/decoder based model.

17. The system of claim 14 , wherein the search service is further to verify and filter the generated questions prior to feeding the at least a proper subset of the generated questions to the first component of the question answer model.

18. The system of claim 14 , wherein an input to the first component of the question-answer model comprises one of a combination of a question and each passage or the question and a list of retrieved passages.

19. The system of claim 14 , wherein an input to the second component of the question-answer model comprises a concatenation of a question, each passage, and a predicted answer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2021
From: GAO, YIFAN; ZHU, HENGHUI; NALLAPATI, RAMESH M.; NG, PATRICK; NOGUEIRA DOS SANTOS, CICERO; WANG, ZHIGUO; NAN, FENG; ZHANG, DEJIAO; ARNOLD, ANDREW OLIVER; XIANG, BING
To: AMAZON TECHNOLOGIES, INC.
Reel/Frame 056052/0273 →
References Cited (18)
US 11599769B2 · Fang · 2023 [cited by examiner]
US 12062368B1 · Arora · 2024 [cited by examiner]
US 20140280087A1 · Isensee · 2014 [cited by examiner]
US 20180239811A1 · Cai · 2018 [cited by examiner]
US 20180260472A1 · Kelsey · 2018 [cited by examiner]
US 20200043026A1 · Cruz-Rivera · 2020 [cited by examiner]
US 20210056150A1 · Karandish · 2021 [cited by examiner]
US 20210201192A1 · Kim · 2021 [cited by examiner]
US 20210216577A1 · Xiao · 2021 [cited by examiner]
US 20210232948A1 · Otsuka · 2021 [cited by examiner]
US 20220147718A1 · Kim · 2022 [cited by examiner]
US 20220309107A1 · Sen · 2022 [cited by examiner]
US 20220309246A1 · Murdock, IV · 2022 [cited by examiner]
US 20220318230A1 · Sikka · 2022 [cited by examiner]
US 20220327287A1 · Agrawal · 2022 [cited by examiner]
US 20220358851A1 · Wang · 2022 [cited by examiner]
US 20230325607A1 · Morimoto · 2023 [cited by examiner]
CN 115114416A · 2022 [cited by examiner]
Cited By (5)
US 12,579,382 US 12,585,891 US 12,591,751 US 12,724,983 US 12,743,588