US20200019577A1 - Candidate answers for speculative questions in a deep question answering system - Google Patents
Candidate answers for speculative questions in a deep question answering system Download PDFInfo
- Publication number
- US20200019577A1 US20200019577A1 US16/577,897 US201916577897A US2020019577A1 US 20200019577 A1 US20200019577 A1 US 20200019577A1 US 201916577897 A US201916577897 A US 201916577897A US 2020019577 A1 US2020019577 A1 US 2020019577A1
- Authority
- US
- United States
- Prior art keywords
- question
- candidate
- answer
- predictive algorithms
- speculative
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 36
- 238000003860 storage Methods 0.000 claims description 22
- 238000004458 analytical method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 16
- 238000010801 machine learning Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 240000008042 Zea mays Species 0.000 description 7
- 235000005824 Zea mays ssp. parviglumis Nutrition 0.000 description 7
- 235000002017 Zea mays subsp mays Nutrition 0.000 description 7
- 235000005822 corn Nutrition 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 241000270708 Testudinidae Species 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 239000010970 precious metal Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Definitions
- the present disclosure relates to computer software, and more specifically, to computer software to dynamically generate candidate answers for speculative questions in a deep question answering system.
- Deep question answering systems answer questions by finding and evaluating candidate answers and supporting evidence from a corpus of ingested information.
- deep question answering systems traditionally assume that answers and supporting evidence will exist in a known corpus. Therefore, deep question answering systems traditionally cannot answer “speculative” questions, i.e., those questions that do not have an associated “answer” within the corpus.
- Embodiments disclosed herein include, without limitation, a system, method, and computer program product to determine that a question received by a deep question answering system is speculative, based at least in part on identifying a future tense in the question, generate, by one or more predictive algorithms, a set of candidate answers, where each of the one or more predictive algorithms are used to generate at least one estimated future value for an attribute of the question, compute a score for each candidate answer in the set of candidate answers, and return a first candidate answer, of the set of candidate answers, as responsive to the speculative question received by the deep question answering system.
- FIG. 1 depicts a system configured to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment.
- FIG. 2 is a flow chart illustrating a method to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment.
- FIG. 3 is a flow chart illustrating a method to determine that a question is speculative, according to one embodiment.
- FIG. 4 is a flow chart illustrating a method to generate candidate answers for a speculative question, according to one embodiment.
- FIG. 5 is a flow chart illustrating a method to set a trigger to verify an answer to a speculative question, according to one embodiment.
- Embodiments disclosed herein provide techniques to allow deep question answering (deep QA) systems to answer “speculative” questions asked by users.
- a “speculative” question refers to a question that, at the time presented by the user, does not have a definite answer.
- Examples of speculative questions include, without limitation, the price of an item (such as a commodity or precious metal) in the future (in two days, three weeks, four months, etc.), the winner of a future sporting event, or which student will win the annual spelling bee at the local school.
- the deep question answering system may be configured to determine that the question is in fact speculative.
- the deep QA system many analyze the question text in order to detect a future tense or includes a concept (such as time) that is indicative of a speculative question.
- the deep QA system may then generate new candidate answers based on insights gleaned from an analysis of the speculative question and any associated evidence gathered from a corpus of information.
- the deep QA system may then score each candidate answer, and return the candidate answer with the highest score as being responsive to the question.
- the deep QA system may subsequently evaluate the accuracy of each candidate answer and improve scoring algorithms after the question is no longer speculative, i.e., when an answer to the question is known.
- the deep QA system may store a trigger which causes the actual answer/outcome to be determined in the future, and compared against each candidate answer. For example, if the speculative question is “what will the price of corn be in 2 months,” the deep QA system may set a trigger to fire in 2 months, at which point the deep QA system may retrieve the actual price of corn. The deep QA system may then compare the actual price of corn to each candidate answer generated (and stored for future retrieval) at processing time.
- the trigger may be based on an elapsed period of time, or other criteria derived from the question, such as the performance or price of an entity.
- the actual result/answer may be fed back into the deep QA system in order to further improve the accuracy of the deep QA system as well as any predictive models used to generate the candidate answers.
- the deep QA system may determine that the question is speculative by combining traditional question analysis (including concept and semantic relation detection) along with verb tense annotators to identify a future tense in the question.
- FIG. 1 depicts a system 100 configured to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment.
- the networked system 100 includes a computer 102 .
- the computer 102 may also be connected to other computers via a network 130 .
- the network 130 may be a telecommunications network and/or a wide area network (WAN).
- the network 130 is the Internet.
- the computer 102 generally includes a processor 104 connected via a bus 120 to a memory 106 , a network interface device 118 , a storage 108 , an input device 122 , and an output device 124 .
- the computer 102 is generally under the control of an operating system (not shown). Examples of operating systems include the UNIX operating system, versions of the Microsoft Windows operating system, and distributions of the Linux operating system. (UNIX is a registered trademark of The Open Group in the United States and other countries. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.) More generally, any operating system supporting the functions disclosed herein may be used.
- the processor 104 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like.
- the memory 106 may be a random access memory. While the memory 106 is shown as a single identity, it should be understood that the memory 106 may comprise a plurality of modules, and that the memory 106 may exist at multiple levels, from high speed registers and caches to lower speed but larger DRAM chips.
- the network interface device 118 may be any type of network communications device allowing the computer 102 to communicate with other computers via the network 130 .
- the storage 108 may be a persistent storage device. Although the storage 108 is shown as a single unit, the storage 108 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, solid state drives, floppy disc drives, tape drives, removable memory cards or optical storage.
- the memory 106 and the storage 108 may be part of one virtual address space spanning multiple primary and secondary storage devices.
- the input device 122 may be any device for providing input to the computer 102 .
- a keyboard and/or a mouse may be used.
- the output device 124 may be any device for providing output to a user of the computer 102 .
- the output device 124 may be any conventional display screen or set of speakers.
- the output device 124 and input device 122 may be combined.
- a display screen with an integrated touch-screen may be used.
- the memory 106 contains the QA application 112 , which is an application generally configured to operate a deep question answering (QA) system.
- QA deep question answering
- a user may submit a case (also referred to as a question) to the QA application 112 , which will then provide an answer to the case based on an analysis of a corpus of information 114 .
- the QA application 112 may analyze the questions presented in the case to identify concepts in the question. Based on the questions, the QA application 112 may identify a number of candidate answers. The QA application 112 may then find supporting evidence for the candidate answers. The QA application 112 may then score and rank the candidate answers, merge the results, and present the best answer as its response to the case.
- the QA application 112 may be configured to answer speculative questions submitted by a user.
- a speculative question is a question that when submitted by the user has an unknown answer. For example, the user may ask “who will win the race between the tortoise and the hare?”
- the QA application 112 is configured to answer any type of speculative question.
- the speculative question need not be time-based, but lacks data that the QA application 112 can use to generate a response to the question at the time the question is received.
- a user may ask “how many unique people will have registered after 1,000,000 accounts are created on a new website?” This question does not need a specified amount of time to elapse prior to knowing the outcome, however, the data will not be in the corpus at the time the user asks the question. However, if the corpus currently indicates that 7,000 unique people have registered for the first 10,000 accounts on the website, the QA application 112 may use this data to project an answer to the speculative question.
- the QA application 112 may first determine that the question is speculative. To determine that the question is speculative, the QA application 112 may apply traditional question analysis techniques in the form of concept and semantic relation detection combined with verb tense annotators in order to identify a future tense in the question. Additionally, the QA application 112 may identify “independent variables” from the question in order to hone in on the appropriate type of prediction.
- the “independent variables” may be concepts that include, without limitation, time, prices, counts, populations, actions, and the like.
- the QA application 112 may understand whether or not the user mentioned a specific time (such as “in two months,” “this season,” “in 2015”, etc.) together with the independent variables such as price or performance of an entity. Therefore, the QA application 112 may distinguish between whether the user is asking about the price of a commodity two months into the future versus two years into the future.
- the QA application 112 may process the question as usual. However, if the question is speculative, the QA application 112 may manufacture new candidate answers based on information gleaned while determining whether the question is speculative. Generally, since the corpus 114 does not contain the answers, the QA application 112 creates candidate answers via inference by searching for evidence in the corpus related to attributes of the question (such as the price of oil on a specific date 10 months in the future). The QA application 112 may use the attributes of the question to look up existing predictive algorithms in the predictive algorithms 110 (or the corpus 114 ). If the predictive algorithms stored in the predictive algorithms 110 need additional input data, the QA application 112 may gather the necessary data through question analysis and associated evidence retrieval in order to pass the additional input data to the selected algorithm.
- the QA application 112 also has the ability to create new prediction algorithms (or models) “on the fly” based on attributes from the question and evidence gathered by searching the corpus 114 .
- the QA application 112 may use attributes from the question in order to gather and analyze past relevant evidence, looking for trends in order to infer an answer.
- the QA application 112 only creates new prediction algorithms when no relevant prediction algorithms exist in the predictive algorithms 110 .
- the QA application 112 scores each candidate answer, and returns the candidate answer with the highest score as being responsive to the question.
- the QA application 112 may register a trigger, stored in the triggers 117 , which when fired, causes the QA application 112 to conduct a “post-mortem” analysis of the candidate answers generated in response to the speculative question. For example, if the user asks “will my favorite team win a championship within the next two years,” the QA application 112 may register a trigger to fire at the expiration of the two year period (or to periodically detect whether the team wins a championship before the two year period expires).
- the QA application 112 may score each candidate answer generated by the different predictive algorithms 110 used to answer the user's question. If the candidate answers generated by the algorithms are the correct answer (or close to the correct answer within some threshold), the QA application 112 may assign a higher confidence score to future candidate answers generated by the algorithms responsive to similar questions. Likewise, if the algorithms do not generate correct answers (or exceed an acceptable correctness threshold), the QA application 112 may assign a lower confidence score to future candidate answers generated by the algorithms responsive to similar questions. In either scenario, the confidence score may be for the algorithm, the candidate answers generated by the algorithms, or both. Additionally, the QA application 112 may use the “correct answer” in order to retain its machine learning models 116 that are referenced to generate candidate answers through traditional evidence gathering processes and/or predictive algorithm 110 selection decisions.
- the storage 108 includes the predictive algorithms 110 , a corpus 114 , a machine learning (ML) models 116 , and a triggers store 117 .
- the predictive algorithms 110 may include one or more predictive algorithms (or models) that the QA application 112 may leverage in order to generate candidate answers to speculative questions.
- the predictive algorithms stored in the predictive algorithms 110 may be generated by the QA application 112 , or by a different source (such as specialized industry-standard prediction models).
- a predictive algorithm in the predictive algorithms 110 may be an industry-standard model that predicts consumer spending or the United States gross domestic product (GDP).
- GDP United States gross domestic product
- the corpus 114 is a body of information used by the QA application 112 to generate answers to questions (also referred to as cases).
- the corpus 114 may contain scholarly articles, dictionary definitions, encyclopedia references, and the like.
- the corpus 114 typically does not include answers to speculative questions, as the actual answers to these types of questions are typically unknown.
- Machine learning (ML) models 116 are models created by the QA application 112 during the training phase, which are used during a runtime pipeline to score and rank candidate answers to cases based on features previously generated for each answer.
- the triggers 117 include indications generated and stored by the QA application 112 to trigger a verification procedure by the QA application 112 .
- the data included in the triggers 117 may include, without limitation, a triggering time, event, or other attribute of each speculative question, along with the candidate answer values generated by each predictive algorithm in the predictive algorithms 110 .
- FIG. 2 is a flow chart illustrating a method 200 to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment.
- the steps of the method 200 allow a deep question answering system to answer “speculative” questions, or questions that do not have a known answer at the time asked by the user.
- the QA application 112 performs the steps of the method 200 .
- the QA application 112 receives a question from a user. For example, the user may submit a question to the QA application 112 that asks “will it snow more than 5 times in Florida during the year 2088?”
- the QA application 112 may determine that the question received at step 210 is speculative.
- the QA application 112 may attempt to detect a future tense in the question text in order to determine that the question is speculative.
- the QA application 112 may generate candidate answers for the speculative question.
- the QA application 112 may score the candidate answers generated at step 240 . In scoring the candidate answers, the QA application 112 may consider factors such as a confidence in the algorithms used to generate candidate answers, a confidence in whether the QA application 112 correctly identified the question being asked (stated differently, whether the QA application 112 made an error in interpreting the question), and a confidence in the machine learning models of the QA application 112 .
- the QA application 112 may return the candidate answer receiving the highest score as responsive to the question.
- step 260 described in greater detail with reference to FIG.
- the QA application 112 may set a trigger to which causes the QA application 112 to verify the answer to the speculative question once the correct answer is available. In verifying the answer, the QA application 112 may compare each candidate answer generated at step 230 to the correct answer. The QA application 112 may use the comparison results to update a confidence score in the predictive algorithms 110 generating the candidate answer, as well as to retrain the ML models 116 .
- FIG. 3 is a flow chart illustrating a method 300 corresponding to step 220 to determine that a question is speculative, according to one embodiment.
- the QA application 112 performs the steps of the method 300 .
- a speculative question is a question that does not have a definite correct answer when asked by the user. Stated differently, in determining whether a question is speculative, the QA application 112 determines how likely it is that the question has an answer in the corpus 114 .
- the QA application 112 performs an analysis of the question text.
- the analysis includes an analysis of the question text that is traditionally performed by the QA application 112 on all questions.
- the traditional analysis may include, without limitation, concept detection, semantic relation detection, and verb tense annotators.
- the QA application 112 determines whether the future tense exists in the question. For example, if the question is “what will the price of corn be in 2 months,” the QA application 112 , using verb tense annotators, may identify the future tense in the portion of the question that reads “in 2 months.” If the QA application 112 detects the future tense in the question, it is a strong indicator that the question is speculative. At step 330 , the QA application 112 determines whether speculative independent variables exist in the question. The independent variables may include, without limitation, time, prices, counts, populations, and the like. In identifying independent variables, the QA application 112 may be more certain that the question is speculative.
- the independent variables may assist the QA application 112 in identifying the correct thrust of the question, such that the QA application 112 understands the type of prediction the question is asking for. Therefore, by identifying independent variables in the example above, the QA application 112 may be more certain that the user wants to know the price of corn in two months, and the QA application 112 may focus its search for supporting evidence in the corpus 114 based on this concept.
- the QA application 112 determines whether speculative concepts exist in the question.
- the QA application 112 may determine that the user wants to know what the weather will be like, which is necessarily a speculative concept, as the user is asking about weather in the future, even though the user did not specify a specific date or time. If the QA application 112 detects speculative concepts in the question, it may be more likely that the question is indeed speculative.
- the QA application 112 scores the question to determine whether the question is speculative. For example, the QA application 112 may weight one or more factors in computing a score for the question. If the score exceeds a speculative threshold, the QA application 112 may determine that the question is speculative. The QA application 112 may use, without limitation, one or more of the future tense, speculative concepts, and independent variables detected steps 320 - 340 in order to compute the score. The QA application 112 may weigh each of these attributes differently in order to score the question. If the QA application 112 determines that the question is speculative, the QA application 112 may inject additional candidate answers to its question answering pipeline, in addition to one or more existing non-speculative candidate answers to the question.
- the QA application 112 may modify the scoring of candidate answers by a speculative score for the question. For example, if the QA application 112 is 20% confident that the question speculative, but 100% confident in a candidate answer to the speculative question, the QA application 112 may score the candidate answer as 20% confident due to the uncertainty that the question is speculative. As another example, the QA application 112 may be 100% confident that another question is speculative and 50% confident in the candidate answer to the question. In such a case, the QA application 112 may be 50% confident in the candidate answer. Generally, the QA application 112 may use any algorithm sufficient to account for its confidence level that the question is speculative when scoring candidate answers, including, without limitation, multiplying the confidence scores that the question is speculative and the candidate answer is correct.
- FIG. 4 is a flow chart illustrating a method 400 corresponding to step 230 to generate candidate answers for a speculative question, according to one embodiment.
- the QA application 112 executes the steps of the method 400 . Because the QA application 112 has determined the question is speculative, and an answer is not included in the corpus 114 , the QA application 112 executes the steps of the method 400 in order to dynamically create candidate answers through inference.
- the QA application 112 gathers evidence from the corpus 114 related to the key attributes, variables and concepts identified in the question.
- the QA application 112 searches the predictive algorithms 110 (and possibly the corpus 114 ) in order to identify existing predictive algorithms.
- the QA application 112 may search for algorithms that predict commodity prices, including widget prices, if such an algorithm is available in the predictive algorithms 110 .
- the predictive algorithms 110 may be mostly self-contained in that one or more algorithms may be called with minimal additional input. For example, an algorithm for predicting future widget prices may know how to gather all the data it needs to generate an answer with only a small amount of input, such as a target date. Other algorithms in the predictive algorithms 110 may require input data that cannot be automatically retrieved. In such cases, the QA application 112 may compile the necessary input data through question analysis and associated evidence retrieval.
- the QA application 112 may optionally create predictive algorithms “on the fly” based on attributes from the question and evidence gathered from searching the corpus 114 .
- the QA application 112 may concurrently generate the predictive algorithms while finding and invoking the existing algorithms from the predictive algorithms 110 in steps 420 - 430 .
- the algorithms generated by the QA application 112 may be completely self-contained within the QA application 112 , requiring little to no additional input data.
- the QA application 112 may use attributes from the question in order to gather and analyze past relevant evidence from the corpus 114 , looking for trends in order to infer an answer.
- the algorithms generated by the QA application 112 provide a general purpose way of generating a candidate answer in the absence of any existing prediction algorithms relevant to the question in the predictive algorithms 110 .
- the QA application 112 may store the new algorithm in the predictive algorithms 110 .
- the QA application 112 may pass the required inputs and invoke the one or more of the predictive algorithms 110 in order to generate candidate answers.
- the candidate answers generated by each of the algorithms may be tailored to the question.
- a first algorithm may return a candidate answer indicating that the price of one thousand widgets in 2 months will be $10, while a second algorithm may return a price of $11, and a third algorithm may return a candidate answer indicating that the price of one thousand widgets will rise by 5% relative to current prices.
- the candidate answer may take any form sufficient to be responsive to the speculative question.
- FIG. 5 is a flow chart illustrating a method 500 corresponding to step 260 to set a trigger to verify an answer to a speculative question, according to one embodiment.
- the QA application 112 performs the steps of the method 500 .
- the steps of the method 500 allow the QA application 112 to verify whether previously generated candidate answers were accurate, adjust confidence scores in the predictive algorithms 110 generating the candidate answers, and adjust confidence scores in its own machine learning models 116 .
- the QA application 112 identifies a time period relevant to the speculative question and stores a trigger in the triggers 117 . For example, if the question asks the price of corn in 6 months, the trigger may be set to fire in 6 months.
- the trigger need not be time based. For example, and without limitation, if the user wishes to know how many unique users correspond to the first million accounts on a website, the QA application 112 may set a trigger to monitor the website's account creation statistics. The QA application 112 may then periodically check the web site account creation statistics until the website reaches one million created accounts. When storing the trigger, the QA application 112 may also store the different candidate answers for the question generated by the predictive algorithms as well as the QA application 112 for future comparison. At step 520 , the time period elapses (or other condition is met), and the trigger is fired. At step 530 , the QA application 112 identifies the correct answer or outcome of the question. For example, the QA application 112 may retrieve the current price of corn, or how many unique users created accounts out of the first million accounts on the website.
- the QA application 112 executes a loop including steps 550 - 560 for each predictive algorithm that generated a candidate answer.
- the QA application 112 adjusts the confidence score of the current predictive algorithm based on the accuracy of the candidate answer generated by the predictive algorithm.
- the QA application 112 may use any feasible method to modify the confidence score of the predictive algorithm. For example, the QA application 112 may allocate additional confidence to the predictive algorithm if it predicted the correct answer (or the predicted answer was within a specified confidence threshold). Conversely, if the predictive algorithm did not predict the correct answer, or was in error beyond a reasonable threshold, the QA application 112 may reduce the confidence score of the predictive algorithm.
- the QA application 112 may ranks the algorithms that produce the answer closest to the correct answer more highly, such that when the ML models 116 are retrained, they are considered more accurately predictive for future similar questions.
- the QA application 112 determines whether more predictive algorithms remain. If more predictive algorithms remain, the QA application 112 returns to step 540 . If no predictive algorithms remain, the QA application 112 proceeds to step 570 , where the QA application 112 retrains the ML models 116 . By retraining the ML models 116 , the QA application 112 trains itself to make more accurate decisions on processing similar speculative questions in the future.
- embodiments disclosed herein provide a deep question answering system the ability to answer speculative questions, even though an answer to the speculative questions are not found in a corpus of information traditionally used by the system to answer questions.
- the deep question answering system may identify a received question as speculative by detecting a future tense or other indicator of speculation.
- the deep question answering system may then generate candidate answers to the speculative questions based on one or more pre-existing predictive algorithms.
- the deep question answering system may also create one or more predictive algorithms to generate candidate answers in addition to (or in lieu of) the existing predictive algorithms.
- the deep question answering system may then score each candidate answer, and return the highest scoring candidate answer as responsive to the speculative question.
- the deep question answering system may conduct a subsequent verification of the correct answer to the speculative question by comparing the correct answer to the generated candidate answers at a later time.
- the verification process may allow the deep question answering system to adjust confidence scores in the predictive algorithms and retrain its own machine learning models.
- aspects of the present disclosure may be embodied as a system, method or computer program product. Accordingly, aspects of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
- a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
- a computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- LAN local area network
- WAN wide area network
- Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- Embodiments of the disclosure may be provided to end users through a cloud computing infrastructure.
- Cloud computing generally refers to the provision of scalable computing resources as a service over a network.
- Cloud computing may be defined as a computing capability that provides an abstraction between the computing resource and its underlying technical architecture (e.g., servers, storage, networks), enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction.
- cloud computing allows a user to access virtual computing resources (e.g., storage, data, applications, and even complete virtualized computing systems) in “the cloud,” without regard for the underlying physical systems (or locations of those systems) used to provide the computing resources.
- cloud computing resources are provided to a user on a pay-per-use basis, where users are charged only for the computing resources actually used (e.g. an amount of storage space consumed by a user or a number of virtualized systems instantiated by the user).
- a user can access any of the resources that reside in the cloud at any time, and from anywhere across the Internet.
- a user may access applications or related data available in the cloud.
- the QA application 112 could execute on a computing system in the cloud and answer speculative questions. In such a case, the QA application 112 could generate candidate answers and store the candidate answers and a verification trigger at a storage location in the cloud. Doing so allows a user to access this information from any computing system attached to a network connected to the cloud (e.g., the Internet).
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
Description
- This application is a continuation of co-pending U.S. patent application Ser. No. 14/177,624 as filed on Feb. 11, 2014. The aforementioned related patent application is herein incorporated by reference in its entirety.
- The present disclosure relates to computer software, and more specifically, to computer software to dynamically generate candidate answers for speculative questions in a deep question answering system.
- Deep question answering systems answer questions by finding and evaluating candidate answers and supporting evidence from a corpus of ingested information. However, deep question answering systems traditionally assume that answers and supporting evidence will exist in a known corpus. Therefore, deep question answering systems traditionally cannot answer “speculative” questions, i.e., those questions that do not have an associated “answer” within the corpus.
- Embodiments disclosed herein include, without limitation, a system, method, and computer program product to determine that a question received by a deep question answering system is speculative, based at least in part on identifying a future tense in the question, generate, by one or more predictive algorithms, a set of candidate answers, where each of the one or more predictive algorithms are used to generate at least one estimated future value for an attribute of the question, compute a score for each candidate answer in the set of candidate answers, and return a first candidate answer, of the set of candidate answers, as responsive to the speculative question received by the deep question answering system.
-
FIG. 1 depicts a system configured to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment. -
FIG. 2 is a flow chart illustrating a method to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment. -
FIG. 3 is a flow chart illustrating a method to determine that a question is speculative, according to one embodiment. -
FIG. 4 is a flow chart illustrating a method to generate candidate answers for a speculative question, according to one embodiment. -
FIG. 5 is a flow chart illustrating a method to set a trigger to verify an answer to a speculative question, according to one embodiment. - Embodiments disclosed herein provide techniques to allow deep question answering (deep QA) systems to answer “speculative” questions asked by users. As used herein, a “speculative” question refers to a question that, at the time presented by the user, does not have a definite answer. Examples of speculative questions include, without limitation, the price of an item (such as a commodity or precious metal) in the future (in two days, three weeks, four months, etc.), the winner of a future sporting event, or which student will win the annual spelling bee at the local school.
- In order to generate answers to speculative questions, the deep question answering system may be configured to determine that the question is in fact speculative. Generally, the deep QA system many analyze the question text in order to detect a future tense or includes a concept (such as time) that is indicative of a speculative question. Upon determining that the question is speculative, the deep QA system may then generate new candidate answers based on insights gleaned from an analysis of the speculative question and any associated evidence gathered from a corpus of information. Once the candidate answers are generated, the deep QA system may then score each candidate answer, and return the candidate answer with the highest score as being responsive to the question.
- Additionally, the deep QA system may subsequently evaluate the accuracy of each candidate answer and improve scoring algorithms after the question is no longer speculative, i.e., when an answer to the question is known. When processing the speculative question, the deep QA system may store a trigger which causes the actual answer/outcome to be determined in the future, and compared against each candidate answer. For example, if the speculative question is “what will the price of corn be in 2 months,” the deep QA system may set a trigger to fire in 2 months, at which point the deep QA system may retrieve the actual price of corn. The deep QA system may then compare the actual price of corn to each candidate answer generated (and stored for future retrieval) at processing time. The trigger may be based on an elapsed period of time, or other criteria derived from the question, such as the performance or price of an entity. The actual result/answer may be fed back into the deep QA system in order to further improve the accuracy of the deep QA system as well as any predictive models used to generate the candidate answers.
- The deep QA system may determine that the question is speculative by combining traditional question analysis (including concept and semantic relation detection) along with verb tense annotators to identify a future tense in the question.
-
FIG. 1 depicts asystem 100 configured to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment. Thenetworked system 100 includes acomputer 102. Thecomputer 102 may also be connected to other computers via anetwork 130. In general, thenetwork 130 may be a telecommunications network and/or a wide area network (WAN). In a particular embodiment, thenetwork 130 is the Internet. - The
computer 102 generally includes aprocessor 104 connected via abus 120 to amemory 106, anetwork interface device 118, astorage 108, aninput device 122, and anoutput device 124. Thecomputer 102 is generally under the control of an operating system (not shown). Examples of operating systems include the UNIX operating system, versions of the Microsoft Windows operating system, and distributions of the Linux operating system. (UNIX is a registered trademark of The Open Group in the United States and other countries. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.) More generally, any operating system supporting the functions disclosed herein may be used. Theprocessor 104 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like. Similarly, thememory 106 may be a random access memory. While thememory 106 is shown as a single identity, it should be understood that thememory 106 may comprise a plurality of modules, and that thememory 106 may exist at multiple levels, from high speed registers and caches to lower speed but larger DRAM chips. Thenetwork interface device 118 may be any type of network communications device allowing thecomputer 102 to communicate with other computers via thenetwork 130. - The
storage 108 may be a persistent storage device. Although thestorage 108 is shown as a single unit, thestorage 108 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, solid state drives, floppy disc drives, tape drives, removable memory cards or optical storage. Thememory 106 and thestorage 108 may be part of one virtual address space spanning multiple primary and secondary storage devices. - The
input device 122 may be any device for providing input to thecomputer 102. For example, a keyboard and/or a mouse may be used. Theoutput device 124 may be any device for providing output to a user of thecomputer 102. For example, theoutput device 124 may be any conventional display screen or set of speakers. Although shown separately from theinput device 122, theoutput device 124 andinput device 122 may be combined. For example, a display screen with an integrated touch-screen may be used. - As shown, the
memory 106 contains theQA application 112, which is an application generally configured to operate a deep question answering (QA) system. One example of a deep question answering system is Watson, by the IBM Corporation of Armonk, N.Y. A user may submit a case (also referred to as a question) to theQA application 112, which will then provide an answer to the case based on an analysis of a corpus ofinformation 114. TheQA application 112 may analyze the questions presented in the case to identify concepts in the question. Based on the questions, theQA application 112 may identify a number of candidate answers. TheQA application 112 may then find supporting evidence for the candidate answers. TheQA application 112 may then score and rank the candidate answers, merge the results, and present the best answer as its response to the case. - Additionally, the
QA application 112 may be configured to answer speculative questions submitted by a user. A speculative question is a question that when submitted by the user has an unknown answer. For example, the user may ask “who will win the race between the tortoise and the hare?” Generally, theQA application 112 is configured to answer any type of speculative question. The speculative question need not be time-based, but lacks data that theQA application 112 can use to generate a response to the question at the time the question is received. For example, a user may ask “how many unique people will have registered after 1,000,000 accounts are created on a new website?” This question does not need a specified amount of time to elapse prior to knowing the outcome, however, the data will not be in the corpus at the time the user asks the question. However, if the corpus currently indicates that 7,000 unique people have registered for the first 10,000 accounts on the website, theQA application 112 may use this data to project an answer to the speculative question. - In order to answer the question, the
QA application 112 may first determine that the question is speculative. To determine that the question is speculative, theQA application 112 may apply traditional question analysis techniques in the form of concept and semantic relation detection combined with verb tense annotators in order to identify a future tense in the question. Additionally, theQA application 112 may identify “independent variables” from the question in order to hone in on the appropriate type of prediction. The “independent variables” may be concepts that include, without limitation, time, prices, counts, populations, actions, and the like. Thus, theQA application 112 may understand whether or not the user mentioned a specific time (such as “in two months,” “this season,” “in 2015”, etc.) together with the independent variables such as price or performance of an entity. Therefore, theQA application 112 may distinguish between whether the user is asking about the price of a commodity two months into the future versus two years into the future. - If the
QA application 112 determines that a question is not speculative, theQA application 112 may process the question as usual. However, if the question is speculative, theQA application 112 may manufacture new candidate answers based on information gleaned while determining whether the question is speculative. Generally, since thecorpus 114 does not contain the answers, theQA application 112 creates candidate answers via inference by searching for evidence in the corpus related to attributes of the question (such as the price of oil on a specific date 10 months in the future). TheQA application 112 may use the attributes of the question to look up existing predictive algorithms in the predictive algorithms 110 (or the corpus 114). If the predictive algorithms stored in thepredictive algorithms 110 need additional input data, theQA application 112 may gather the necessary data through question analysis and associated evidence retrieval in order to pass the additional input data to the selected algorithm. - The
QA application 112 also has the ability to create new prediction algorithms (or models) “on the fly” based on attributes from the question and evidence gathered by searching thecorpus 114. In such a scenario, theQA application 112 may use attributes from the question in order to gather and analyze past relevant evidence, looking for trends in order to infer an answer. In one embodiment, theQA application 112 only creates new prediction algorithms when no relevant prediction algorithms exist in thepredictive algorithms 110. - Once the
QA application 112 generates one or more candidate answers (the output of the selected predictive algorithms from the predictive algorithms 110), theQA application 112 scores each candidate answer, and returns the candidate answer with the highest score as being responsive to the question. In addition, theQA application 112 may register a trigger, stored in thetriggers 117, which when fired, causes theQA application 112 to conduct a “post-mortem” analysis of the candidate answers generated in response to the speculative question. For example, if the user asks “will my favorite team win a championship within the next two years,” theQA application 112 may register a trigger to fire at the expiration of the two year period (or to periodically detect whether the team wins a championship before the two year period expires). Once theQA application 112 knows the answer, theQA application 112 may score each candidate answer generated by the differentpredictive algorithms 110 used to answer the user's question. If the candidate answers generated by the algorithms are the correct answer (or close to the correct answer within some threshold), theQA application 112 may assign a higher confidence score to future candidate answers generated by the algorithms responsive to similar questions. Likewise, if the algorithms do not generate correct answers (or exceed an acceptable correctness threshold), theQA application 112 may assign a lower confidence score to future candidate answers generated by the algorithms responsive to similar questions. In either scenario, the confidence score may be for the algorithm, the candidate answers generated by the algorithms, or both. Additionally, theQA application 112 may use the “correct answer” in order to retain itsmachine learning models 116 that are referenced to generate candidate answers through traditional evidence gathering processes and/orpredictive algorithm 110 selection decisions. - As shown, the
storage 108 includes thepredictive algorithms 110, acorpus 114, a machine learning (ML)models 116, and atriggers store 117. Thepredictive algorithms 110 may include one or more predictive algorithms (or models) that theQA application 112 may leverage in order to generate candidate answers to speculative questions. The predictive algorithms stored in thepredictive algorithms 110 may be generated by theQA application 112, or by a different source (such as specialized industry-standard prediction models). For example, a predictive algorithm in thepredictive algorithms 110 may be an industry-standard model that predicts consumer spending or the United States gross domestic product (GDP). Thecorpus 114 is a body of information used by theQA application 112 to generate answers to questions (also referred to as cases). For example, thecorpus 114 may contain scholarly articles, dictionary definitions, encyclopedia references, and the like. Thecorpus 114 typically does not include answers to speculative questions, as the actual answers to these types of questions are typically unknown. Machine learning (ML)models 116 are models created by theQA application 112 during the training phase, which are used during a runtime pipeline to score and rank candidate answers to cases based on features previously generated for each answer. Thetriggers 117 include indications generated and stored by theQA application 112 to trigger a verification procedure by theQA application 112. The data included in thetriggers 117 may include, without limitation, a triggering time, event, or other attribute of each speculative question, along with the candidate answer values generated by each predictive algorithm in thepredictive algorithms 110. -
FIG. 2 is a flow chart illustrating amethod 200 to dynamically generate candidate answers for speculative questions in a deep question answering system, according to one embodiment. Generally, the steps of themethod 200 allow a deep question answering system to answer “speculative” questions, or questions that do not have a known answer at the time asked by the user. In at least one embodiment, theQA application 112 performs the steps of themethod 200. Atstep 210, theQA application 112 receives a question from a user. For example, the user may submit a question to theQA application 112 that asks “will it snow more than 5 times in Florida during the year 2088?” Atstep 220, described in greater detail with reference toFIG. 3 , theQA application 112 may determine that the question received atstep 210 is speculative. Generally, theQA application 112 may attempt to detect a future tense in the question text in order to determine that the question is speculative. - At
step 230, described in greater detail with reference toFIG. 4 , theQA application 112 may generate candidate answers for the speculative question. Atstep 240, theQA application 112 may score the candidate answers generated atstep 240. In scoring the candidate answers, theQA application 112 may consider factors such as a confidence in the algorithms used to generate candidate answers, a confidence in whether theQA application 112 correctly identified the question being asked (stated differently, whether theQA application 112 made an error in interpreting the question), and a confidence in the machine learning models of theQA application 112. Atstep 250, theQA application 112 may return the candidate answer receiving the highest score as responsive to the question. Atstep 260, described in greater detail with reference toFIG. 5 , theQA application 112 may set a trigger to which causes theQA application 112 to verify the answer to the speculative question once the correct answer is available. In verifying the answer, theQA application 112 may compare each candidate answer generated atstep 230 to the correct answer. TheQA application 112 may use the comparison results to update a confidence score in thepredictive algorithms 110 generating the candidate answer, as well as to retrain theML models 116. -
FIG. 3 is a flow chart illustrating amethod 300 corresponding to step 220 to determine that a question is speculative, according to one embodiment. In at least one embodiment, theQA application 112 performs the steps of themethod 300. As previously indicated, a speculative question is a question that does not have a definite correct answer when asked by the user. Stated differently, in determining whether a question is speculative, theQA application 112 determines how likely it is that the question has an answer in thecorpus 114. Atstep 310, theQA application 112 performs an analysis of the question text. In at least some embodiments, the analysis includes an analysis of the question text that is traditionally performed by theQA application 112 on all questions. For example, the traditional analysis may include, without limitation, concept detection, semantic relation detection, and verb tense annotators. - At
step 320, theQA application 112 determines whether the future tense exists in the question. For example, if the question is “what will the price of corn be in 2 months,” theQA application 112, using verb tense annotators, may identify the future tense in the portion of the question that reads “in 2 months.” If theQA application 112 detects the future tense in the question, it is a strong indicator that the question is speculative. Atstep 330, theQA application 112 determines whether speculative independent variables exist in the question. The independent variables may include, without limitation, time, prices, counts, populations, and the like. In identifying independent variables, theQA application 112 may be more certain that the question is speculative. Furthermore, the independent variables may assist theQA application 112 in identifying the correct thrust of the question, such that theQA application 112 understands the type of prediction the question is asking for. Therefore, by identifying independent variables in the example above, theQA application 112 may be more certain that the user wants to know the price of corn in two months, and theQA application 112 may focus its search for supporting evidence in thecorpus 114 based on this concept. Atstep 340, theQA application 112 determines whether speculative concepts exist in the question. For example, if the question asks “will it rain in New York,” theQA application 112 may determine that the user wants to know what the weather will be like, which is necessarily a speculative concept, as the user is asking about weather in the future, even though the user did not specify a specific date or time. If theQA application 112 detects speculative concepts in the question, it may be more likely that the question is indeed speculative. - At
step 350, theQA application 112 scores the question to determine whether the question is speculative. For example, theQA application 112 may weight one or more factors in computing a score for the question. If the score exceeds a speculative threshold, theQA application 112 may determine that the question is speculative. TheQA application 112 may use, without limitation, one or more of the future tense, speculative concepts, and independent variables detected steps 320-340 in order to compute the score. TheQA application 112 may weigh each of these attributes differently in order to score the question. If theQA application 112 determines that the question is speculative, theQA application 112 may inject additional candidate answers to its question answering pipeline, in addition to one or more existing non-speculative candidate answers to the question. - In addition, the
QA application 112 may modify the scoring of candidate answers by a speculative score for the question. For example, if theQA application 112 is 20% confident that the question speculative, but 100% confident in a candidate answer to the speculative question, theQA application 112 may score the candidate answer as 20% confident due to the uncertainty that the question is speculative. As another example, theQA application 112 may be 100% confident that another question is speculative and 50% confident in the candidate answer to the question. In such a case, theQA application 112 may be 50% confident in the candidate answer. Generally, theQA application 112 may use any algorithm sufficient to account for its confidence level that the question is speculative when scoring candidate answers, including, without limitation, multiplying the confidence scores that the question is speculative and the candidate answer is correct. -
FIG. 4 is a flow chart illustrating amethod 400 corresponding to step 230 to generate candidate answers for a speculative question, according to one embodiment. In at least some embodiments, theQA application 112 executes the steps of themethod 400. Because theQA application 112 has determined the question is speculative, and an answer is not included in thecorpus 114, theQA application 112 executes the steps of themethod 400 in order to dynamically create candidate answers through inference. Atstep 410, theQA application 112 gathers evidence from thecorpus 114 related to the key attributes, variables and concepts identified in the question. Atstep 420, theQA application 112 searches the predictive algorithms 110 (and possibly the corpus 114) in order to identify existing predictive algorithms. For example, if the question asks the price of a thousand widgets in two months, theQA application 112 may search for algorithms that predict commodity prices, including widget prices, if such an algorithm is available in thepredictive algorithms 110. Thepredictive algorithms 110 may be mostly self-contained in that one or more algorithms may be called with minimal additional input. For example, an algorithm for predicting future widget prices may know how to gather all the data it needs to generate an answer with only a small amount of input, such as a target date. Other algorithms in thepredictive algorithms 110 may require input data that cannot be automatically retrieved. In such cases, theQA application 112 may compile the necessary input data through question analysis and associated evidence retrieval. - At
step 430, theQA application 112 may optionally create predictive algorithms “on the fly” based on attributes from the question and evidence gathered from searching thecorpus 114. TheQA application 112 may concurrently generate the predictive algorithms while finding and invoking the existing algorithms from thepredictive algorithms 110 in steps 420-430. The algorithms generated by theQA application 112 may be completely self-contained within theQA application 112, requiring little to no additional input data. TheQA application 112 may use attributes from the question in order to gather and analyze past relevant evidence from thecorpus 114, looking for trends in order to infer an answer. The algorithms generated by theQA application 112 provide a general purpose way of generating a candidate answer in the absence of any existing prediction algorithms relevant to the question in thepredictive algorithms 110. Once generated, theQA application 112 may store the new algorithm in thepredictive algorithms 110. Atstep 440, theQA application 112 may pass the required inputs and invoke the one or more of thepredictive algorithms 110 in order to generate candidate answers. The candidate answers generated by each of the algorithms (existing or generated by the QA application 112) may be tailored to the question. For example, a first algorithm may return a candidate answer indicating that the price of one thousand widgets in 2 months will be $10, while a second algorithm may return a price of $11, and a third algorithm may return a candidate answer indicating that the price of one thousand widgets will rise by 5% relative to current prices. Generally, the candidate answer may take any form sufficient to be responsive to the speculative question. -
FIG. 5 is a flow chart illustrating amethod 500 corresponding to step 260 to set a trigger to verify an answer to a speculative question, according to one embodiment. In at least some embodiments, theQA application 112 performs the steps of themethod 500. Generally, the steps of themethod 500 allow theQA application 112 to verify whether previously generated candidate answers were accurate, adjust confidence scores in thepredictive algorithms 110 generating the candidate answers, and adjust confidence scores in its ownmachine learning models 116. Atstep 510, theQA application 112 identifies a time period relevant to the speculative question and stores a trigger in thetriggers 117. For example, if the question asks the price of corn in 6 months, the trigger may be set to fire in 6 months. However, the trigger need not be time based. For example, and without limitation, if the user wishes to know how many unique users correspond to the first million accounts on a website, theQA application 112 may set a trigger to monitor the website's account creation statistics. TheQA application 112 may then periodically check the web site account creation statistics until the website reaches one million created accounts. When storing the trigger, theQA application 112 may also store the different candidate answers for the question generated by the predictive algorithms as well as theQA application 112 for future comparison. Atstep 520, the time period elapses (or other condition is met), and the trigger is fired. Atstep 530, theQA application 112 identifies the correct answer or outcome of the question. For example, theQA application 112 may retrieve the current price of corn, or how many unique users created accounts out of the first million accounts on the website. - At
step 540, theQA application 112 executes a loop including steps 550-560 for each predictive algorithm that generated a candidate answer. Atstep 550, theQA application 112 adjusts the confidence score of the current predictive algorithm based on the accuracy of the candidate answer generated by the predictive algorithm. TheQA application 112 may use any feasible method to modify the confidence score of the predictive algorithm. For example, theQA application 112 may allocate additional confidence to the predictive algorithm if it predicted the correct answer (or the predicted answer was within a specified confidence threshold). Conversely, if the predictive algorithm did not predict the correct answer, or was in error beyond a reasonable threshold, theQA application 112 may reduce the confidence score of the predictive algorithm. In another embodiment, theQA application 112 may ranks the algorithms that produce the answer closest to the correct answer more highly, such that when theML models 116 are retrained, they are considered more accurately predictive for future similar questions. Atstep 560, theQA application 112 determines whether more predictive algorithms remain. If more predictive algorithms remain, theQA application 112 returns to step 540. If no predictive algorithms remain, theQA application 112 proceeds to step 570, where theQA application 112 retrains theML models 116. By retraining theML models 116, theQA application 112 trains itself to make more accurate decisions on processing similar speculative questions in the future. - Advantageously, embodiments disclosed herein provide a deep question answering system the ability to answer speculative questions, even though an answer to the speculative questions are not found in a corpus of information traditionally used by the system to answer questions. Generally, the deep question answering system may identify a received question as speculative by detecting a future tense or other indicator of speculation. The deep question answering system may then generate candidate answers to the speculative questions based on one or more pre-existing predictive algorithms. The deep question answering system may also create one or more predictive algorithms to generate candidate answers in addition to (or in lieu of) the existing predictive algorithms. The deep question answering system may then score each candidate answer, and return the highest scoring candidate answer as responsive to the speculative question. In addition, the deep question answering system may conduct a subsequent verification of the correct answer to the speculative question by comparing the correct answer to the generated candidate answers at a later time. The verification process may allow the deep question answering system to adjust confidence scores in the predictive algorithms and retrain its own machine learning models.
- The descriptions of the various embodiments of the present disclosure have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
- As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or computer program product. Accordingly, aspects of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present disclosure are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- Embodiments of the disclosure may be provided to end users through a cloud computing infrastructure. Cloud computing generally refers to the provision of scalable computing resources as a service over a network. More formally, cloud computing may be defined as a computing capability that provides an abstraction between the computing resource and its underlying technical architecture (e.g., servers, storage, networks), enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction. Thus, cloud computing allows a user to access virtual computing resources (e.g., storage, data, applications, and even complete virtualized computing systems) in “the cloud,” without regard for the underlying physical systems (or locations of those systems) used to provide the computing resources.
- Typically, cloud computing resources are provided to a user on a pay-per-use basis, where users are charged only for the computing resources actually used (e.g. an amount of storage space consumed by a user or a number of virtualized systems instantiated by the user). A user can access any of the resources that reside in the cloud at any time, and from anywhere across the Internet. In context of the present disclosure, a user may access applications or related data available in the cloud. For example, the
QA application 112 could execute on a computing system in the cloud and answer speculative questions. In such a case, theQA application 112 could generate candidate answers and store the candidate answers and a verification trigger at a storage location in the cloud. Doing so allows a user to access this information from any computing system attached to a network connected to the cloud (e.g., the Internet). - The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
- While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/577,897 US20200019577A1 (en) | 2014-02-11 | 2019-09-20 | Candidate answers for speculative questions in a deep question answering system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/177,624 US10467302B2 (en) | 2014-02-11 | 2014-02-11 | Candidate answers for speculative questions in a deep question answering system |
US16/577,897 US20200019577A1 (en) | 2014-02-11 | 2019-09-20 | Candidate answers for speculative questions in a deep question answering system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/177,624 Continuation US10467302B2 (en) | 2014-02-11 | 2014-02-11 | Candidate answers for speculative questions in a deep question answering system |
Publications (1)
Publication Number | Publication Date |
---|---|
US20200019577A1 true US20200019577A1 (en) | 2020-01-16 |
Family
ID=53775064
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/177,624 Expired - Fee Related US10467302B2 (en) | 2014-02-11 | 2014-02-11 | Candidate answers for speculative questions in a deep question answering system |
US14/296,715 Expired - Fee Related US10540411B2 (en) | 2014-02-11 | 2014-06-05 | Candidate answers for speculative questions in a deep question answering system |
US16/577,897 Pending US20200019577A1 (en) | 2014-02-11 | 2019-09-20 | Candidate answers for speculative questions in a deep question answering system |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/177,624 Expired - Fee Related US10467302B2 (en) | 2014-02-11 | 2014-02-11 | Candidate answers for speculative questions in a deep question answering system |
US14/296,715 Expired - Fee Related US10540411B2 (en) | 2014-02-11 | 2014-06-05 | Candidate answers for speculative questions in a deep question answering system |
Country Status (1)
Country | Link |
---|---|
US (3) | US10467302B2 (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105337928B (en) * | 2014-06-24 | 2019-09-13 | 阿里巴巴集团控股有限公司 | Method for identifying ID, safety protection problem generation method and device |
US10242048B2 (en) | 2016-01-26 | 2019-03-26 | International Business Machines Corporation | Dynamic question formulation to query data sources |
GB201620714D0 (en) * | 2016-12-06 | 2017-01-18 | Microsoft Technology Licensing Llc | Information retrieval system |
KR102304701B1 (en) | 2017-03-28 | 2021-09-24 | 삼성전자주식회사 | Method and apparatus for providng response to user's voice input |
CN109947905B (en) * | 2017-08-15 | 2023-02-21 | 富士通株式会社 | Method and equipment for generating question and answer pairs |
CN108345585A (en) * | 2018-01-11 | 2018-07-31 | 浙江大学 | A kind of automatic question-answering method based on deep learning |
US10978056B1 (en) * | 2018-04-20 | 2021-04-13 | Facebook, Inc. | Grammaticality classification for natural language generation in assistant systems |
US11715042B1 (en) | 2018-04-20 | 2023-08-01 | Meta Platforms Technologies, Llc | Interpretability of deep reinforcement learning models in assistant systems |
US10782986B2 (en) | 2018-04-20 | 2020-09-22 | Facebook, Inc. | Assisting users with personalized and contextual communication content |
US11886473B2 (en) | 2018-04-20 | 2024-01-30 | Meta Platforms, Inc. | Intent identification for agent matching by assistant systems |
US11676220B2 (en) | 2018-04-20 | 2023-06-13 | Meta Platforms, Inc. | Processing multimodal user input for assistant systems |
US11307880B2 (en) | 2018-04-20 | 2022-04-19 | Meta Platforms, Inc. | Assisting users with personalized and contextual communication content |
US10949613B2 (en) | 2019-01-11 | 2021-03-16 | International Business Machines Corporation | Dynamic natural language processing |
US10909180B2 (en) * | 2019-01-11 | 2021-02-02 | International Business Machines Corporation | Dynamic query processing and document retrieval |
US11475329B2 (en) * | 2019-04-03 | 2022-10-18 | RELX Inc. | Systems and methods for adaptive training of a machine learning system processing textual data |
CN113010655B (en) * | 2021-03-18 | 2022-12-16 | 华南理工大学 | Answer and interference item generation method and device for reading and understanding of machine |
US20230147585A1 (en) * | 2021-11-11 | 2023-05-11 | International Business Machines Corporation | Dynamically enhancing supervised learning |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120301864A1 (en) * | 2011-05-26 | 2012-11-29 | International Business Machines Corporation | User interface for an evidence-based, hypothesis-generating decision support system |
US20140129492A1 (en) * | 2012-11-08 | 2014-05-08 | International Business Machines Corporation | Concept noise reduction in deep question answering systems |
US20140172756A1 (en) * | 2012-12-17 | 2014-06-19 | International Business Machines Corporation | Question classification and feature mapping in a deep question answering system |
US20140172880A1 (en) * | 2012-12-17 | 2014-06-19 | International Business Machines Corporation | Intelligent evidence classification and notification in a deep question answering system |
US20140258205A1 (en) * | 2013-03-11 | 2014-09-11 | International Business Machines Corporation | Inner passage relevancy layer for large intake cases in a deep question answering system |
US20150161106A1 (en) * | 2013-12-09 | 2015-06-11 | International Business Machines Corporation | Testing and Training a Question-Answering System |
US20150161512A1 (en) * | 2013-12-07 | 2015-06-11 | International Business Machines Corporation | Mining Forums for Solutions to Questions |
US20150193429A1 (en) * | 2014-01-09 | 2015-07-09 | International Business Machines Corporation | Automatic Generation of Question-Answer Pairs from Conversational Text |
US9753986B2 (en) * | 2012-12-17 | 2017-09-05 | International Business Machines Corporation | Multi-dimensional feature merging for supporting evidence in a question and answering system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8285619B2 (en) | 2001-01-22 | 2012-10-09 | Fred Herz Patents, LLC | Stock market prediction using natural language processing |
EP1374139B1 (en) | 2001-03-29 | 2011-05-04 | LASX Industries, Inc. | Controller for a laser using predictive models ofa laser beam motion system |
WO2012047532A1 (en) | 2010-09-28 | 2012-04-12 | International Business Machines Corporation | Providing answers to questions using hypothesis pruning |
-
2014
- 2014-02-11 US US14/177,624 patent/US10467302B2/en not_active Expired - Fee Related
- 2014-06-05 US US14/296,715 patent/US10540411B2/en not_active Expired - Fee Related
-
2019
- 2019-09-20 US US16/577,897 patent/US20200019577A1/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120301864A1 (en) * | 2011-05-26 | 2012-11-29 | International Business Machines Corporation | User interface for an evidence-based, hypothesis-generating decision support system |
US20140129492A1 (en) * | 2012-11-08 | 2014-05-08 | International Business Machines Corporation | Concept noise reduction in deep question answering systems |
US20140172756A1 (en) * | 2012-12-17 | 2014-06-19 | International Business Machines Corporation | Question classification and feature mapping in a deep question answering system |
US20140172880A1 (en) * | 2012-12-17 | 2014-06-19 | International Business Machines Corporation | Intelligent evidence classification and notification in a deep question answering system |
US9753986B2 (en) * | 2012-12-17 | 2017-09-05 | International Business Machines Corporation | Multi-dimensional feature merging for supporting evidence in a question and answering system |
US20140258205A1 (en) * | 2013-03-11 | 2014-09-11 | International Business Machines Corporation | Inner passage relevancy layer for large intake cases in a deep question answering system |
US20150161512A1 (en) * | 2013-12-07 | 2015-06-11 | International Business Machines Corporation | Mining Forums for Solutions to Questions |
US20150161106A1 (en) * | 2013-12-09 | 2015-06-11 | International Business Machines Corporation | Testing and Training a Question-Answering System |
US20150193429A1 (en) * | 2014-01-09 | 2015-07-09 | International Business Machines Corporation | Automatic Generation of Question-Answer Pairs from Conversational Text |
Non-Patent Citations (1)
Title |
---|
Toubia, et al., Dynamic Experiments for Estimating Preferences: An Adaptive Method of Eliciting Time and Risk Parameters, Management Science 59(3), 2012, pp. 1-52 (Year: 2012) * |
Also Published As
Publication number | Publication date |
---|---|
US20150227520A1 (en) | 2015-08-13 |
US20150227519A1 (en) | 2015-08-13 |
US10540411B2 (en) | 2020-01-21 |
US10467302B2 (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200019577A1 (en) | Candidate answers for speculative questions in a deep question answering system | |
US9141660B2 (en) | Intelligent evidence classification and notification in a deep question answering system | |
US9911082B2 (en) | Question classification and feature mapping in a deep question answering system | |
US9158772B2 (en) | Partial and parallel pipeline processing in a deep question answering system | |
US10754912B2 (en) | Machine learning model to preload search results | |
US10431337B2 (en) | System and method for weighting manageable patient attributes during criteria evaluations for treatment | |
US9773044B2 (en) | Multi-dimensional feature merging for supporting evidence in a question and answering system | |
US10062032B2 (en) | Question resolution processing in deep question answering systems | |
US10031912B2 (en) | Verification of natural language processing derived attributes | |
US10032448B1 (en) | Domain terminology expansion by sensitivity | |
US9672475B2 (en) | Automated opinion prediction based on indirect information | |
US9129213B2 (en) | Inner passage relevancy layer for large intake cases in a deep question answering system | |
US9652717B2 (en) | Avoidance of supporting evidence processing based on key attribute predictors | |
US10108906B2 (en) | Avoiding supporting evidence processing when evidence scoring does not affect final ranking of a candidate answer | |
US20240311434A1 (en) | Systems and methods for a search tool of code snippets | |
US10043511B2 (en) | Domain terminology expansion by relevancy | |
US11966446B2 (en) | Systems and methods for a search tool of code snippets | |
US20230061641A1 (en) | Right-sizing resource requests by applications in dynamically scalable computing environments | |
JP2022044016A (en) | Automatically recommending existing machine learning project adaptable for use in new machine learning project | |
KR20240029854A (en) | Platform providing system for psychologist matching based on Enneagram |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CLARK, ADAM T.;HUEBERT, JEFFREY K.;PETRI, JOHN E.;SIGNING DATES FROM 20140206 TO 20140210;REEL/FRAME:050448/0340 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: APPLICATION DISPATCHED FROM PREEXAM, NOT YET DOCKETED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |