# Patent

## Title
System and methods for inferring informational goals and preferred level of detail of results in response to questions posed to an automated information-retrieval or question-answering service

## Abstract

A system and method for inferring informational goals and preferred level of details in answers in response to questions posed to computer-based information retrieval or question-answering systems is provided. The system includes a query subsystem that can receive an input query and extrinsic data associated with the query and which can output an answer to the query, and/or rephrased queries or sample queries. The query subsystem accesses an inference model to infer a probability distribution over a user's goals, age, and preferred level of detail of an answer. One application of the system includes determining a user's likely informational goals and then accessing a knowledge data store to retrieve responsive information. The system includes a natural language processor that parses queries into observable linguistic features and embedded semantic components that can be employed to retrieve the conditional probabilities from the inference model. The inference model is built by employing supervised learning and statistical analysis on a set of queries suitable to be presented to a question-answering system. Such a set of queries can be manipulated to produce different inference models based on demographic and/or localized linguistic data.

## Background
REFERENCE TO RELATED APPLICATION
This application is a continuation-in-part of U.S. patent application Ser. No. 09/896,187, which was filed Jun. 29, 2001, entitled SYSTEM AND METHODS FOR INFERRING INFORMATIONAL GOALS AND PREFERRED LEVEL OF DETAIL OF ANSWERS.


TECHNICAL FIELD
The present invention generally relates to information retrieval, and more particularly to predicting high-level informational goals and the appropriate level(s) of detail for an answer or search result from observable linguistic features in queries.
BACKGROUND OF THE INVENTION
As the amount of information available to be retrieved by queries to computers increases, and as the type and number of information consumers seeking to retrieve such information increases, it has become increasingly important to understand the informational goals of the information consumer who generates a query to retrieve such information. Understanding consumer informational goals can improve the accuracy, efficiency and usefulness of a question-answering service (e.g., search service) responding to such queries, which leads to improved information gathering experiences.
Conventional question-answering (QA) systems may employ traditional information retrieval (IR) methods and/or may employ some form of natural language processing (NLP) to parse queries. Such systems may return potentially large lists of documents that contain information that may be appropriate responses to a query. Thus, an information consumer may have to inspect several relevant and/or irrelevant documents to ascertain whether the answer sought has been provided. Such inspection can increase the amount of time spent looking for an answer and reduce the amount of time spent employing the answer. Thus, the efficiency and value of seeking answers through automated question answering systems has been limited.
Data associated with informational goals that may be found in a query may be ignored by conventional systems. Such conventionally ignored data can provide clues concerning what the information consumer seeks (e.g., the type of data an information consumer is seeking, the precision of an answer sought by a query, and other related information in which the information consumer may be interested). Conventional statistical analysis, when applied to information consumer queries, may yield information that can be employed to improve the relevance of documents returned to an information consumer. But the traditional statistical information retrieval approach, even when employing such shallow statistical methods can still be associated with a poor experience for the information consumer employing a question answering system.
Addressing in an automated manner queries posed as questions can be more difficult than addressing traditional keyword-based queries made to search engines. Users presenting well-formed questions (e.g., “What is the capital of Poland?”, “Who killed Abraham Lincoln?”, “Why does it rain?”) typically have a particularly specific information need and corresponding expectations for receiving a well-focused answer. But people presenting keyword-based queries to the Internet may expect and tolerate a list of documents containing one or more keywords that appear in the free-text query.
SUMMARY OF THE INVENTION
The following presents a simplified summary of the invention in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.
The present invention relates to a system and methodology that collates, organizes and directs information to a user based upon inferred and/or logically determined attributes of the user in order to increase the likelihood of satisfying the informational goals of the user. The goals relate to the type of information sought by the user, whereas attributes describe characteristics of the user such as age, ability, level of sophistication, and capability, for example. An answer generator is provided that receives input from the user such as a traditional query directed to a search engine and generates crafted responses to the query that are refined by the attributes and are thus, more likely to serve the informational goals. The query, which can provide clues relating to the attributes, can also be analyzed in accordance with inference models and/or classifiers in order to further clarify the attributes and goals. In addition, clarifying dialog or feedback can be directed to the user to further determine the attributes and/or goals if uncertainty or ambiguity is involved (e.g., provide clarifying interactive dialog seeking input from user based upon a consideration of the structure of the probability distribution over goals, or further extended with a decision-theoretic model considering the costs and benefits of engaging in the clarifying dialog).
If uncertainty is involved when analyzing the user's query, the dialog can be crafted in a manner such that possible answers to the query are generated which can be more subtle in form than an explicit request for clarifying data from the user. For example, instead of responding, “How old are you” in pursuit of the age of a user, following a query of “Saturn,” to a search engine, dialog in response to the query can be generated such as “Do you want to drive a Saturn,” “Do you want to see a picture of Saturn,” and “Are you interested in Astronomy.” Depending on the user's selection of a possible clarifying answer, inferences can be drawn from the selection which further define the attributes and facilitate focused information retrieval in line with the user's goals (e.g., if “Do you want to drive a Saturn,” is selected, it can be inferred that the user is probably above driving age and interested in cars rather than planets).
Based upon the analysis and/or dialog described above, the answer generator automatically invokes a focused search and retrieval of information, wherein the search is dynamically limited by the determined attributes and/or inferred goals. Moreover, when the information has been collected via the focused search, post processing and automated procedures can occur on the retrieved information and in further view of the attributes. The processed information is then directed to the user in the form of a formatted answer or response, which has been automatically tailored to the user's characteristics and informational goals.
Post processing can include filtering the received information (e.g., filtering out adult content from children) and reordering the information before presentation, for example. Automated procedures can include tailoring a level of detail in the answer to the determined attributes of the user. As an example, the focused search results can be analyzed to automatically determine a level of detail within one or more information items associated with the results. For example, such considerations can include sentence structure, sentence length, document length, document content and document type (e.g., technical manual versus picture document). When the level of detail has been determined in the retrieved information, the information items most closely matching the attributes of the user are presented to the user as a display or other type output (e.g., invoking audio files, symbolic displays) and in furtherance of the informational goal.
To the accomplishment of the foregoing and related ends, certain illustrative aspects of the invention are described herein in connection with the following description and the annexed drawings. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed and the present invention is intended to include all such aspects and their equivalents. Other advantages and novel features of the invention may become apparent from the following detailed description of the invention when considered in conjunction with the drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic block diagram illustrating a system for inferring informational goals, including both a learning system and a run time system, in accordance with an aspect of the present invention.
FIG. 2 is a schematic block diagram illustrating a run time system for inferring informational goals, in accordance with an aspect of the present invention.
FIG. 3 is a schematic block diagram illustrating a learning system employed in creating and/or updating an inference model that can be employed by a run time system for inferring informational goals, in accordance with an aspect of the present invention.
FIG. 4 is a schematic block diagram illustrating a hierarchy of detail of knowledge.
FIG. 5 is a schematic block diagram illustrating inferred informational goals being employed by a query system to select content to return in response to a query, in accordance with an aspect of the present invention.
FIG. 6 is a schematic block diagram illustrating a training system employing natural language processing, supervised learning with statistical analysis in accordance with an aspect of the present invention.
FIG. 7 is a schematic block diagram illustrating conditional probabilities associated with determining a probability distribution over a set of goals associated with a query, in accordance with an aspect of the present invention.
FIG. 8 is a schematic block diagram illustrating a Bayesian network associated with determining inferences, in accordance with an aspect of the present invention.
FIG. 9 is a simulated screen shot depicting a tagging tool employed in supervising learning, in accordance with an aspect of the present invention.
FIG. 10 is a flow chart illustrating a method for applying supervised learning and Bayesian statistical analysis to produce an inference model, in accordance with an aspect of the present invention.
FIG. 11 is a flow chart illustrating a method for producing a response to a query where the response benefits from predicted informational goals retrieved from a decision model, in accordance with an aspect of the present invention.
FIG. 12 is a schematic block diagram of an exemplary operating environment for a system configured in accordance with the present invention.
FIG. 13 is a diagram of a response or answer generator and analysis process in accordance with an aspect the present invention.



DETAILED DESCRIPTION OF THE INVENTION
The present invention is now described with reference to the drawings, where like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It may be evident, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate description of the present invention.
As used in this application, the term “component” is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and a computer. By way of illustration, both an application running on a server and the server can be a component.
As used in this application, the term “engine” is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, an engine may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and a computer.
As used in this application, the term “natural language processor” is similarly intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution.
As used in this application, the term “data store” is intended to refer to computer-related data storage. Such storage can include both the hardware upon which physical bits are stored and software data structures where logical representations are stored. A data store can be, for example, one or more databases, one or more files, one or more arrays, one or more objects, one or more structures, one or more linked lists, one or more heaps, one or more stacks and/or one or more data cubes. Furthermore, the data store may be located on one physical device and/or may be distributed between multiple physical devices. Similarly, the data store may be contained in one logical device and/or may be distributed between multiple logical devices.
It is to be appreciated that various aspects of the present invention may employ technologies associated with facilitating unconstrained optimization and/or minimization of error costs. Thus, non-linear training systems/methodologies (e.g., back propagation, Bayesian learning, decision trees, non-linear regression, or other neural networking paradigms and other statistical methods) may be employed.
Referring initially to FIG. 1, a schematic block diagram illustrates a system 100 for inferring informational goals in queries, and thus for enhancing responses to queries presented to an information retrieval system (e.g., a question answering system). The system 100 includes a query subsystem 110 that is employed in processing a user input 120 and extrinsic data 130 to produce an output 180. The user input 120 can be, for example, a query presented to a question answering application. The extrinsic data 130 can include, but is not limited to, user data (e.g., applications employed to produce query, device employed to generate query, current content being displayed), context (e.g., time of day, location from which query was generated, original language of query) and prior query interaction behavior (e.g., use of query by example (QBE), use of query/result feedback). The output 180 can include, but is not limited to, one or more responses, an answer responsive to a query in the user input 120, one or more re-phrased queries, one or more suggested queries (that may be employed, for example, in a QBE system) and/or an error code.
In an exemplary aspect of the present invention, when the output 180 takes the form of one or more responses, the one or more responses may vary in length, precision and detail based, at least in part, on the inferred informational goals associated with the query that produced the one or more responses. In another exemplary aspect of the present invention, the output 180 may be subjected to further processing. For example, if the output 180 takes the form of two or more responses, then the responses may be ranked by a ranking process to indicate, for example, the predicted relevance of the two or more responses. Similarly, the output 180 may be further processed by a text focusing process that may examine the output 180 to facilitate locating and displaying the piece(s) of information most relevant to the query. Further, the output 180 may be processed, for example, by a diagramming process that displays information graphically, rather than textually.
It is to be appreciated that the term “user” and the term “information consumer” contemplate both human and automated query generators. For example, a human using a Web browser may generate a query that can be processed by the system. Similarly, an information gathering computer application may generate a query that can be processed by the system. Thus, the present invention is not intended to be limited to processing queries produced by humans.
The query subsystem 110 can include an inference engine 112 and an answer/response generator 114. The query subsystem 110 can also receive the user input 120 via a natural language processor 116. The natural language processor 116 can be employed to parse queries in the user input 120 into parts that can be employed in predicting informational goals. The parts may be referred to as “observable linguistic features”. By way of illustration, the natural language processor 116 can parse a query into parts of speech (e.g., adjectival phrases, adverbial phrases, noun phrases, verb phrases, prepositional phrases) and logical forms. Structural features including, but not limited to, the number of distinct parts of speech in a query, whether the main noun in a query is singular/plural, which noun (if any) is a proper noun and the part of speech of the head verb post modifier can also be extracted from output produced by the natural language processor 116.
The inference engine 112 can be employed to infer informational goals in queries in the user input 120. The inference engine 112 may access parse data produced by the natural language processor 116 and an inference model 160 to facilitate inferring such informational goals. For example, the number, type and location of noun phrases and adjectival phrases determined by the natural language processor 116 may be employed to access one or more decision trees in the inference model 160 to predict informational goals. Such high level informational goals can include, but are not limited to, information need, information coverage(s) desired by the user, information coverage that an expert would provide, the inferred age of the user, the topic of the query and the focus of the query.
The results of analyzing such high-level informational goals (e.g., inferring age of user) can thus be employed to facilitate more intelligently and thus more precisely and/or accurately retrieving information via, for example, guided search and retrieval, post-search filtering and/or composition of new text from one or more other text sources. By way of illustration, and not limitation, if the age of a user is inferred as being between under thirteen, then a first set of resources may be searched and/or a first post-search filter may be employed. For example, an encyclopedia designed for children may be searched and an eight letter post-search word size filter may be employed. By way of further illustration, if the age of a user is inferred as being between thirty and forty, then a second set of resources (e.g., regular adult encyclopedia) may be searched and a second post-search filter (e.g., word sizes up to fourteen letters) may be employed.
The inference engine 112 can also be employed to infer one or more preferred levels of detail for an answer. Such levels of detail may depend, for example, in addition to the information retrieved from a query, on the inferred age of the user, on the physical location of a user (e.g., user on cell phone browser desires less information than user on workstation), the organizational location of a user (e.g., CEO desires different level of detail than mail clerk), one or more relationships in which the user is engaged (e.g., intern/attending, partner/associate, professor/student) and an application being employed by the user. Once one or more levels of detail are inferred, such levels of detail may be employed, for example, to determine whether a new text source should be created from a set of text resources. For example, if the level of detail inference indicates that a high-level executive summary is desired then a summary document may be produced that incorporates text from one or more other resources. Thus, the executive can be presented with a single document rather than being forced to wade through a number of documents to retrieve the desired information.
By way of illustration and not limitation, the relationships in which a user may be engaged may be employed to infer the level of detail in an answer. For example, although a user may prefer a short answer to a question, a pedagogue may prefer to provide a longer answer as part of educating the user. Consider a student presenting a question to a math professor. While the student may simply desire the answer (2×) to the question “What is the derivative of x2?”, the teacher may prefer to provide a more general answer (e.g., the derivative of simple equations of the form axn is naxn-1) so that the student may gain more than just the answer. Other relationships, and the current context of the parties in the relationship, may similarly facilitate inferring a level of detail for an answer. For example, while an attending physician may provide a first “teaching” answer to an intern treating a non-emergent patient, the attending physician may provide a second “life-saving” answer to the same intern while treating an emergent patient who is in imminent danger of bleeding out.
The query subsystem 110 can also include an answer generator 114. The answer generator 114 can, for example, receive as input predictions concerning informational goals and can access, for example, the knowledge data store 170 to retrieve information responsive to the query in the user input 120. The answer generator may also produce responses that are not answers, but that include rephrased queries and/or suggested queries. For example, the query subsystem 110 may determine that the amount and/or type of information sought in a query is so broad and/or voluminous that refining the query is appropriate. Thus, the answer generator 114 may provide suggestions for refining the query as the response to the query rather than producing an answer.
The system 100 can also include a learning system 150 that accepts as inputs selected data and/or selected queries from an input query log 140 (hereinafter the query log) to produce the inference model 160. Queries from the query log 140 may be passed to the learning system via the natural language processor 116. The natural language processor 116 can parse queries from the query log 140 into parts that can be employed in learning to predict informational goals. The parts may also be referred to as “observable linguistic features”.
The query log 140 can be constructed, for example, by gathering queries from the user input 120 (e.g., queries) and/or extrinsic data 130 presented to a question answering system. Such queries and/or data may be collected from one information consumer and/or one or more groups of information consumers. Collecting queries from a heterogeneous group facilitates training a system that can be widely used by different information consumers. Collecting queries from a group of homogenous information consumers facilitates training a system that can be localized to that group while collecting queries from a single information consumer facilitates training a system that can be customized to that individual consumer. In addition to queries, the query log 140 can contain historical data concerning queries, which facilitates analyzing such queries. Further, the query log 140 may contain additional information associated with actual informational goals that can be compared to predicted information goals, with such actual informational goals employable in supervised learning. In one example of the present invention, a query log containing “WH” questions (e.g., who, what, where, when, why, how) and containing an imperative (e.g., name, tell, find, define, describe) was employed. Employing such a specialized query log 140 can facilitate understanding informational goals in different types of queries, which can in turn increase the accuracy of the response to such queries. Although a query log 140 is described in connection with FIG. 1, it is to be appreciated that the query log 140 may be manually generated on an ad hoc basis, for example, by a question generator, rather than by collecting queries presented to an actual question answering system. By way of illustration, in a laboratory environment, a linguist interested in applying supervised learning to an informational goal inferring system may sit at an input terminal and generate a thousand queries for input to the learning system 150, without ever physically storing the collection of queries. In this illustration, queries from the query log 140 are being consumed as created and may not, therefore, be stored as a complete set in any physical device.
The learning system 150 can employ both automated and manual means for performing supervised learning, with the supervised learning being employed to construct and/or adapt data structures including, but not limited to, decision trees in the inference model 160. Such data structures can subsequently be employed by the inference engine 112 to predict informational goals in a query in the user input 120. Predicting the informational goals may enhance the response to a query by returning a precise answer and/or related information rather than returning a document as is commonly practiced in conventional information retrieval systems. By way of illustration, the present invention can provide answers of varying length and level of detail as appropriate to a query. In this manner, an exemplary aspect of the present invention models the expertise of a skilled reference librarian who can not only provide the requested answer but understand the subtleties and nuances in a question, and identify an “appropriate” answer to provide to the querying user. For example, presented with the query “What is the capital of Poland?” traditional question answering systems may seek to locate documents containing the terms “capital” and “Poland” and then return one or more documents that contain the terms “capital” and “Poland”. The information consumer may then be forced to read the one or more documents containing the terms to determine if the answer was retrieved, and if so, what the answer is. The present invention, by inferring informational goals, identifies conditions under which a more extended reply, such as “Warsaw is the capital and largest city of Poland, with a population of approximately 1,700,000” is returned to the user. The present invention may, for example, set values for several variables employed in analyzing the query (e.g., Information Need set to “Attribute”; Topic set to “Poland”; Focus set to “capital”; Cover Wanted set to “Precise”, and Cover Would Give set to “Additional”). Further, the present invention may determine that pictures of landmarks, a city street map, weather information and flight information to and from Warsaw may be included in an appropriate reply. These informational goals are predicted by analyzing the observable linguistic features found in the query and retrieving conditional probabilities that certain informational goals exist from the inference model 160 based on those observable linguistic features. The inference model 160 can be constructed by employing supervised learning with statistical analysis on queries found in one or more query logs 140. The inference model 160 can then be employed by a “run time system” to facilitate such enhanced responses.
In one example of the present invention, the learning system 150 and/or the inference engine 112 can further be adapted to control and/or guide a dialog that can be employed to clarify information associated with informational goals, desired level of detail, age and so on. By way of illustration and not limitation, the learning system 150 may make an inference (e.g., age), but then may present a user interface dialog that to facilitates clarifying the age of the user. Thus, the learning system 150 may be adapted, in-situ, to acquire more accurate information concerning inferences, with resulting increases in accuracy. Such increased accuracy may be important, for example, in complying with Federal Regulations (e.g., Children's Online Privacy Protection Act). By way of further illustration, the inference engine 112 may make an inference (e.g., level of detail in answer), but then may present a user interface that facilitates clarifying the desired level of detail in an answer. Thus, the inference engine 112 may adapt processes employed in generating an inference, and may further adapt search and retrieval processes and/or post-search filtering processes to provide a closer fit between returned information and desired coverage.
Thus, turning now to FIG. 2, a run time system 200 that can access an inference model 240 to infer informational goals and thus enhance responses to queries presented to the run time system 200 is illustrated. The run time system 200 may reside on one computer and/or may be distributed between two or more computers. Similarly, the run time system 200 may reside in one process and/or may be distributed between two or more processes. Further, the one or more computers and/or one or more processes may employ one or more threads.
The run time system 200 receives data from a user input 220 and may also receive an extrinsic data 230. The user input 220 can include one or more queries for information. The run time system 200 may receive queries directly and/or may receive parse data from a natural language processor 216. The queries may appear simple (e.g., what is the deepest lake in Canada?) but may contain informational goals that can be employed to enhance the response to the query. For example, the query “what is the deepest lake in Canada?” may indicate that the user could benefit from receiving a list of the ten deepest lakes in Canada, the ten shallowest lakes in Canada, the ten deepest lakes in neighboring countries, the ten deepest lakes in the world and the ten deepest spots in the ocean. Thus, rather than returning a document that contains the words “deepest”, “lake”, and “Canada”, which forces the information consumer to read through one or more documents to figure out whether the query was answered, the run time system 200 can provide information. While there are time and processing costs associated with inferring the informational goals, retrieving the information and presenting the information to the information consumer, the benefit of providing information rather than documents can outweigh that cost, producing an enhanced information gathering experience.
To facilitate enhancing the informational retrieval experience, the run time system 200 may also examine extrinsic data 230. The extrinsic data 230 can include, but is not limited to, user data (e.g., applications employed to produce query, device employed to generate query, current content being displayed), context (e.g., time of day, location from which query was generated, original language of query) and prior query interaction behavior (e.g., use of query by example (QBE), use of query/result feedback). The user data (e.g., device generating query) can provide information that can be employed in determining what type and how much information should be retrieved. By way of illustration, if the device generating the query is a personal computer, then a first type and amount of information may be retrieved and presented, but if the device generating the query is a cellular telephone, then a second type and amount of information may be retrieved and presented. Thus, the informational goals of the user may be inferred not only from the observable linguistic features of a query, but also from extrinsic data 230 associated with the query.
The run time system 200 includes a query subsystem 210, which in turn includes an inference engine 212 and an answer/response generator 214. The query subsystem 210 accepts parse data produced by a natural language processor 216. The natural language processor 216 takes an input query and produces parse data including, but not limited to, one or more parse trees, information concerning the nature of and relationships between linguistic components in the query (e.g., adjectival phrases, adverbial phrases, noun phrases, verb phrases, prepositional phrases), and logical forms. The query subsystem 210 subsequently extracts structural features (e.g., number of distinct points of speech in a query, whether the main noun in a query is singular/plural, which noun (if any) is a proper noun and the part of speech of the head verb post modifier) from the output of the natural language processor 216. Such parse data can then be employed by the inference engine 212 to, for example, determine which, if any, of one or more data structures in the inference model 240 to access. By way of illustration, first parse data indicating that a first number of nouns are present in a first query may lead the inference engine 212 to access a first data structure in the inference model 240 while second parse data indicating that a certain head verb post modifier is present in a second query may lead the inference engine 212 to access a second data structure in the inference model 240. By way of further illustration, the number of nouns and the head verb post-modifier may guide the initial access to different decision trees (e.g., one for determining information need, one for determining focus) and/or the number of nouns and the head verb post-modifier may guide the access to successive sub-trees of the same decision tree.
Based, at least in part, on information retrieved from the inference model 240, the inference engine 212 will determine which, if any, informational goals can be inferred from a query. If one or more informational goals can be inferred, then the inference engine 212 may perform informational goal selection to determine, which, if any, informational goals should be employed by the answer generator 214 to produce a response to the query. By way of illustration, if conflicting informational goals are inferred from the query, then the inference engine 212 may direct the answer generator 214 to produce sample queries that can be employed in subsequent query by example processing by an information consumer. By way of further illustration, if the inference engine 212 determines that a specific informational goal can be inferred from the query, then the inference engine 212 may direct the answer generator 214 to retrieve a certain type and/or volume of information that will be responsive to the query and its embedded informational goals. Thus, by employing the parse data generated by the natural language processor 216 and the information stored in the inference model 240, the information gathering experience of an information consumer employing the run time system 200 is enhanced as compared to conventional document retrieval systems.
Thus, referring now to FIG. 3, a training system 300 that can be employed to create and/or update an inference model 350 is illustrated. The training system 300 may reside on one computer and/or may be distributed between two or more computers. Similarly, the training system 300 may reside in one process and/or may be distributed between two or more processes. Further, the one or more computers and/or one or more processes may employ one or more threads.
The training system 300 includes an input query log 330 that can be constructed, for example, by gathering queries, parse data, and/or extrinsic data presented to a question answering system. The input query log 330 can be implemented in, for example, one or more files, one or more databases, one or more arrays, one or more structures, one or more objects, one or more linked lists, one or more heaps and/or one or more data cubes. The input query log 330 can be stored on one physical device and/or can be distributed between two or more physical devices. Similarly, the input query log 330 can reside in one logical data structure and/or can be distributed between two or more data structures. Furthermore, the input query log 330 may also be implemented in a manual store. By way of illustration, a technician may manually input queries to the natural language processor 316, where the queries are fabricated in the technician's mind at the time of entry. By way of further illustration, a technician may manually input queries to the natural language processor 316, where the queries are taken from one or more lists of queries recorded, for example, on paper, or on some separate magnetic or optical media.
The queries, parse data, and/or extrinsic data can be referred to collectively as user input 310. The user input 310, via the input query log 330, can be provided to a learning system 340 via a natural language processor 316. The learning system 340 can include automated and/or manual means for analyzing the user input 310. Results from analysis performed on the user input 310 by the learning system 340 can be employed to create and/or adapt an inference model 350. By way of illustration, an existing inference model 350 can be adapted by the learning system 340 based on analyses performed on additional user input 310 while a new inference model 350 can be constructed from initial analyses of user input 310.
The learning system 340 can be employed to compute conditional probabilities concerning the likelihood of one or more informational goals based on user input 310. The conditional probabilities can be associated with observable linguistic features and/or relationships between such linguistic features. The learning system 340 can collect linguistic data concerning observed linguistic features, and automated and/or manual means can be employed to manipulate the linguistic data. The linguistic data may indicate, for example, that three nouns are located in a query, and a relationship between the number, type and location of the nouns.
The linguistic data can then be subjected to statistical analysis to compute decision trees and/or conditional probabilities based on the observed linguistic features and the linguistic data. Statistical methods of use for building inferential models from this data include Bayesian networks, Bayesian dependency graphs, decision trees, and classifier models, such as naïve Bayesian classifiers and Support Vector Machines (SVM). Bayesian statistical analysis is known in the art and thus, for the sake of brevity, Bayesian statistical analysis is discussed in the context of the analysis applied to observable linguistic features in accordance with the present invention.
The inference model 350 that can be adapted by the learning system 340 can incorporate prior knowledge concerning inferring informational goals. For example, an inference model 350 may model prior knowledge that a first verb (e.g., list, “describe the presidents”) can be employed to infer that an information consumer desires a broad coverage in the information produced in response to a query while a second verb (e.g., name, “name the 12th president”) can be employed to infer that an information consumer desires a precise response. Thus, the inference model 350 may start with this prior knowledge and be updated by the learning system 340. Thus, continued refinements to inference models are facilitated.
Through the application of Bayes formula the conditional probability that an informational goal can be inferred from the presence and/or absence of one or more observable linguistic features and/or relationships between such observable linguistic features is facilitated. By way of illustration, in one example aspect of the present invention, the inferred informational goals accurately reflected, at least seventy five percent of the time, actual informational goals of a consumer offering a question with less than seven words. By way of further illustration, in another example aspect of the present invention, the inferred informational goals accurately reflected, at least sixty percent of the time, actual informational goals of a consumer offering a question with seven or more words. Such accuracy provides enhanced information retrieval to an information consumer. For example, information at an appropriate level of abstraction may be provided.
While the discussion associated with FIG. 3 deals with inferring informational goals to enhance answer retrieval, it is to be appreciated that such informational goals may be employed in other processes. By way of illustration, inferred informational goals may be employed in processes including, but not limited to, targeting advertising, performing link recommendation, facilitating age determination and/or demographic modeling. Thus, it is to be appreciated that although enhancing answer responsiveness is one application of inferring informational goals, the present invention is not limited to such application.
Thus, referring now to FIG. 4, a hierarchy 400 of detail/abstraction of knowledge is illustrated. The hierarchy 400 illustrates that answers whose return is facilitated by the present invention may include more detailed information, or more abstract information, based, at least in part, on informational goals inferred from observable linguistic features in a query. For example, a first query may include observable linguistic features from which an inference can be made that a precise, detailed answer is desired (e.g., “In which pathways does the protein PTPμ regulate cell growth?”) while a second query may include observable linguistic features from which an inference can be made that a more abstract answer is desired (e.g., How are PTPμ and retinoblastoma related?). Thus, as compared to a list of documents typically returned by conventional information retrieval systems, the present invention facilitates returning information that may vary in content, length, detail and abstraction level, which improves information retrieval experiences.
Referring now to FIG. 5, a system 500 for inferring informational goals being employed by a query system 540 to select content to return in response to a query 520 is illustrated. A user 510 may present a query 520 to the query system 540. The query 520 may be associated with one or more informational goals 530A1, 530A2 through 530An, n being an integer (referred to collectively as the informational goals 530). Conventionally, the informational goals 530 may not be retrieved from the query 520. But the present invention facilitates inferring the high level informational goals 530 from the observable linguistic features in the query 520.
The high-level informational goals 530 can include, but are not limited to, information need, information coverage wanted by the user, the coverage that a query would give, the topic of the query and the focus of the query.
The high-level informational goal referred to as “information need” concerns the type of information requested in a query. Information need types can include, but are not limited to, attribute, composition, identification, process, reason, list and target itself. For example, a query “what is a hurricane?” could have the high-level information goal information need established as an “identification” query. Similarly, a query “where can I find a picture of a horse?” could have the high-level information goal information need established as a “topic itself” query. A topic itself query represents queries seeking access to an object rather than information concerning an object.
The high-level informational goals referred to as “coverage wanted” and “coverage would give” concern the level of detail to be provided in an answer to a query. Coverage wanted represents the level of answer detail requested by the query while coverage would give represents the level of answer detail that is as most likely to assist the user in their information quest. Coverage wanted and coverage would give types include, but are not limited to, precise, additional, extended and other. For example, the type “precise” indicates that a query seeks an exact answer (e.g., “who was the 14th president?).
The high-level information goals referred to as “topic” and “focus” concern the linguistic feature representing the topic of discussion in a query and what the information consumer wants to know about that topic of discussion. While five such informational goals 530 are described herein (e.g., information need, coverage wanted, coverage would give, topic, focus), it is to be appreciated that a greater or lesser number of informational goals may be employed in conjunction with the present invention.
Based on the high level information goals 530 inferred from the observable linguistic features in the query 520, one or more content sources (e.g., content source 550A1, 550A2 through 550An, n being an integer, referred to collectively as the content sources 550) may be accessed by the query system 540 to produce a response 560 to the query 520. The content sources 550 can be, for example, online information sources (e.g., newspapers, legal information sources, CD based encyclopedias). Based on the informational goals 530 inferred from the query 520, the query system 540 can return information retrieved from the content sources 550, rather than returning documents containing matching keywords, thus providing an advantage over conventional information retrieval systems. Further, the information can vary in aspects including, but not limited to, content, length, scope and abstraction level, for example, again providing an improvement over conventional systems.
Referring now to FIG. 6 a training system 600 including a natural language processor 640, a supervised learning system 660 and a Bayesian statistical analyzer 662 is illustrated. The training system 600 includes a question store 610 as a source of one or more sets of questions suitable for posing to a question answering system. The question store 610 may be a data store and/or a manual store. The question store 610 can be configured to facilitate specific learning goals (e.g., localization). By way of illustration, questions posed from a certain location (e.g., Ontario) during a period of time (e.g., Grey Cup Week) to an online question answering service may be stored in the question store 610. The questions may be examined by a question examiner (e.g., linguist, cognitive scientist, statistician, mathematician, computer scientist) to determine question suitability for training, with some questions being discarded. Further, the questions in the question store 610 may be selectively partitioned into subsets including a training data subset 620 and a test data subset 630. In one example aspect of the present invention, questions in the question store 610, the training data 620 and/or the test data 630 may be annotated with additional information. For example, a linguist may observe linguistic features and annotate a question with such human observed linguistic features to facilitate evaluating the operation of the natural language processor 640. Similarly, a question examiner may annotate a question with actual informational goals to facilitate training and/or evaluating the operation of the supervised learning system 660 and/or the statistical analyzer 662.
The training system 600 can present questions and/or annotated data from the training data 620 to the natural language processor 640 that can then observe linguistic features in the question. Such observed linguistic features can be employed to generate linguistic data that can be stored in a linguistic data data store 650. For example, the linguistic data can include, but is not limited to types, numbers and/or locations of parts of speech (e.g., adjectival phrases, adverbial phrases, noun phrases, verb phrases, prepositional phrases), number of distinct parts of speech, existence, location and/or number of proper nouns, type of head-verb (e.g., can, be, do, action verbs) and any head-verb modifiers (e.g., what, when, where, how adverb, how adjective).
The system 600 can provide linguistic data from the linguistic data data store 650 to the supervised learning system 660. Since statistical learning to build decision trees is employed in the present invention, the supervised learning system 660 may either establish a decision model 670 (e.g., a decision tree) and/or update a decision model 670. The decision model 670 can store information concerning the likelihood that certain informational goals are associated with a question, with the conditional probabilities being computed by the statistical analyzer 662. A process and/or human associated with the supervised learning system 660 may examine a question, examine the inferences and/or probabilities associated with the question in the decision model 670 and determine that manipulations to the inferences and/or probabilities are required. Further, the process and/or human associated with the supervised learning system 660 may examine a question and the inferences and/or probabilities associated with the question in the decision model 670 and determine that one or more parameters associated the statistical analyzer 662 and/or automated processes associated with the supervised learning system 660 require manipulation. In this manner, different decision models 670 may be produced with biases towards inferring certain informational goals, which facilitates localizing such decision models 670. Such localization can provide improvements over conventional systems.
Referring now to FIG. 7, conditional probabilities associated with analyzing a probability distribution over a set of goals associated with a query 700 are illustrated. A goal of statistical analysis (e.g., Bayesian assessment) and inference employed in the present invention is to infer a probability distribution over a set of goals given a query 700. The set of probabilities employed in inferring the probability distribution can be accessed by an inference engine 710 to facilitate determining which informational goals, if any, should be inferred from the probability distribution. Thus, a first conditional probability 720A1 (e.g., P(GOAL1|QUERY)) and a second conditional probability 720A2 (e.g., P(GOAL2|QUERY)) through an Nth conditional probability 720AN (e.g., P(GOALN|QUERY), N being an integer) may be computed through, for example, the Bayesian statistical analysis employed in the present invention, with such conditional probabilities facilitating determining, by the inference engine 710, whether one or more informational goals can be inferred from the query 700. Although the first conditional probability 720A1 is illustrated as P(GOAL1|QUERY), it is to be appreciated that other conditional probability statements may be employed in accordance with the present invention. For example, a conditional probability P(UIG|QL, POS, PHR, KW, WBF) may be computed where UIG represents a user's informational goals, QL represents a Query Length, POS represents a set of Parts of Speech encountered in a query, PHR represents a set of phrases encountered in a query, KW represents a set of keywords encountered in a query and WBF represents a set of word based features encountered in a query. It is to be appreciated that other such conditional probabilities may be computed, stored and/or accessed in accordance with the present invention.
Referring now to FIG. 8 a Bayesian network 800 associated with determining inferences is illustrated. The Bayesian network 800 includes a first term 810A1, and a second term 810A2 through an Nth term 810AN, N being an integer (referred to collectively as the terms 810). Although N terms are illustrated in FIG. 8, it is to be appreciated that a greater or lesser number of terms may be employed in Bayesian networks employed in the present invention. The terms 810 can be employed in Bayesian inference to infer the likelihood of the goal 820 being associated with a query. The measure of the likelihood can be computed as a conditional probability and stored for access in one or more decision trees that are included in an inference model, for example. The Bayesian network 800 indicates that linguistic features can be employed to infer informational goals in questions. The Bayesian network 800 can be employed in creating and/or adapting an inference model that comprises a probabilistic dependency model.
Linguistic features referred to as “word-based features” can indicate the presence of one or more specific candidate terms that can be employed in predicting an informational goal. For example, in one example of the present invention, the word “make” was identified as a candidate for determining that an information consumer was interested in the process for constructing an object and/or in the composition of an object.
In one example aspect of the present invention, after training had been performed, predictions concerning the informational goals Information Need, Focus and Cover Wanted could be made based on analyzing the head-verb pre-modifier (e.g., what, how, who, many, define). Similarly, predictions concerning the informational goal Cover Would Give could be made based on analyzing the type of head verb (e.g., find, can, be, do, action verb). Further, predictions concerning the informational goal Topic could be made based on the number of nouns in a query and predictions concerning the informational goal Restriction could be made based on the part of speech found after the head-verb modifier (e.g., what is the deepest lake in Canada). It is to be appreciated that these example correlations employed in predicting certain informational goals from certain linguistic features and/or relationships between features represent but one possible set of correlations, and that other correlations can be employed in accordance with the present invention.
Referring now to FIG. 9 a simulated screenshot of an exemplary tagging tool 850 employed in supervising learning performed by the present invention is presented. The tagging tool 850 includes a query field 860 where the query being analyzed is displayed. In the simulated screenshot, a natural language processing process has parsed the query into parts of speech that are displayed in a parts of speech list 865. The parts of speech list 865 can have identifiers including, but not limited to, first adjective (ADJ1), second adjective (ADJ2), first verb (VERB1) and second verb (VERB2). In this manner, evaluating the operation of a natural language processor is facilitated. Further, the parts of speech listed in the parts of speech list 865 facilitate constructing and analyzing Bayesian networks like that depicted in FIG. 8.
The tagging tool 850 also includes a field 870 for displaying the coverage that a user desires. Information displayed in the field 870 may represent an inference generated by an aspect of the present invention. The tagging tool 850 also includes a field 875 for displaying the coverage that a tagger employed in supervised learning would assign to the query. In this way, the tagger can manipulate data and/or values generated by a parsing and/or tagging process, and can thus affect the computed conditional probabilities associated with the informational goal being inferred. The tagger may determine to manipulate the data generated by the parsing and/or tagging process to make the data and values correspond to a prior schema associated with reasoning concerning the relevance of a part of a query. Such schemas may vary based on different language models. By way of illustration, if the coverage that the tagger infers matches the coverage that an inference engine determines that the user wants, then parameters related to machine learning may be adjusted to affirm the decision made by the inference engine to facilitate reaching such a desired decision during future analyses. By way of further illustration, if the coverage that the tagger infers does not match the coverage that an inference engine determines that the user wants, then parameters related to machine learning may be adjusted to reduce the likelihood that such an undesired decision may be made in future analyses.
The tagging tool 850 also includes a topic field 880 that can be employed to display the part of speech that an aspect of the present invention has determined infers the topic of the query. Again, the tagger may manipulate the value represented in the field 880 and thus provide feedback to the machine learner that will affect future inferences concerning topic. Similarly, the tagging tool 850 includes a focus field 885 that identifies the part of speech that an aspect of the present invention has determined infers the focus of the query. The tagger may manipulate the value represented in the field 885 and thus provide feedback to a machine learning process.
The tagging tool 850 also includes buttons that can be employed to process the query on a higher level than the field-by-field description provided above. For example, the tagging tool 850 includes a wrong parse button 890 that can be employed to indicate that the parse of the query was incorrect. Similarly, the tagging tool 850 includes a bad query button 895 that can be employed to selectively discard a query, so that the analysis of the query is not reflected in an inference model. However, bad queries may optionally be included while non-queries are discarded, for example.
In view of the exemplary systems shown and described above, a methodology, which may be implemented in accordance with the present invention, will be better appreciated with reference to the flow diagrams of FIGS. 10, 11, and 13. While, for purposes of simplicity of explanation, the methodologies may be shown and described as a series of acts, it is to be understood and appreciated that the present invention is not limited by the order of the acts, as some acts may, in accordance with the present invention, occur in different orders and/or concurrently with other acts from that shown and described herein. Moreover, not all illustrated acts may be required to implement a methodology in accordance with the present invention.
Turning now to FIG. 10, a flow chart illustrates a learning time method for applying supervised learning and Bayesian statistical analysis to produce an inference model. At 900, general initializations occur. Such initializations include, but are not limited to, allocating memory, establishing pointers, establishing data communications, acquiring resources, setting variables and displaying process activity. At 910, a training query is input. At 930 the query is tagged, which can include parsing the query. For example, different parts of speech may be identified, and different candidate inferences may be offered by training components associated with the present invention. As discussed in association with FIG. 9, such candidate inferences may be manipulated by a tagger to change the result of the analysis of the query being tagged. At 940, a decision model can be updated based on the results of the analysis and tagging of 930. At 950 a determination is made concerning whether more training queries are to be presented to the method. If the determination at 950 is YES, then processing returns to 910 where the next training query is input. If the determination at 950 is NO, then processing continues at 995.
At 995, a determination is made concerning whether more testing queries are going to be presented to the method. If the determination at 995 is NO, then processing concludes. If the determination at 995 is YES, then processing continues at 960 where a testing query is input. At 970, sample output based on the query is produced. The output can include, but is not limited to, an answer to the query, parse data associated with the query, linguistic data associated with the query, and potential updates to one or more data structures in one or more decision models. At 980, the sample output produced at 970 is analyzed to determine inference accuracy, for example. At 990, based on data and/or statistics associated with the analysis of 980 a flag can be set to indicate that the decision model should be further updated. For example, an accuracy rate below fifty percent may indicate that further training of the decision model is warranted or additional factors should be incorporated in the inference model.
Turning now to FIG. 11, a flow chart illustrates a run time method for producing a response to a query where the response can benefit from predicted informational goals retrieved from a decision model. At 1000, general initializations occur. Such initializations include, but are not limited to, allocating memory, establishing pointers, establishing data communications, acquiring resources, setting variables and displaying process activity. At 1010 a query is input. The query may be generated, for example, by a human using a browser application or by a computer process performing automated information retrieval (e.g., clipping service). At 1020 the query is parsed into parts and linguistic data is generated. At 1030, one or more decision models are accessed using data generated by the parsing of 1020. By way of illustration, one or more parts of speech and/or linguistic data may be employed to select one or more decision models to access, and those parts of speech may then be employed to access one or more data structures in the decision model. By way of further illustration, a first noun may be employed to select a first decision model, and that first noun may then be employed to begin a traverse of a decision tree associated with the first decision model to retrieve a conditional probability that an informational goal can be inferred from the presence of the noun. For example, the first noun may be employed to advance the traverse one level in the tree and then another linguistic feature (e.g., a type of head verb) can be employed to facilitate advancing to the next level and so on.
At 1040, the one or more conditional probabilities can be examined to determine which, if any, informational goals can be inferred from the query. At 1050, based at least in part on the informational goals, if any, inferred at 1040, the run time method can produce an output. The output can include, but is not limited to, an answer responsive to the new query, a rephrased query, a query that can be employed in query by example processing or an error code. At 1060 a determination is made concerning whether any more queries are to be presented to the method. If the determination at 1060 is YES, then processing can continue at 1010. If the determination at 1060 is NO, then processing can conclude.
In order to provide additional context for various aspects of the present invention, FIG. 12 and the following discussion are intended to provide a brief, general description of one possible suitable computing environment 1110 in which the various aspects of the present invention may be implemented. It is to be appreciated that the computing environment 1110 is but one possible computing environment and is not intended to limit the computing environments with which the present invention can be employed. While the invention has been described above in the general context of computer-executable instructions that may run on one or more computers, it is to be recognized that the invention also may be implemented in combination with other program modules and/or as a combination of hardware and software. Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, one will appreciate that the inventive methods may be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like, each of which may be operatively coupled to one or more associated devices. The illustrated aspects of the invention may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
FIG. 12 illustrates one possible hardware configuration to support the systems and methods described herein. It is to be appreciated that although a standalone architecture is illustrated, that any suitable computing environment can be employed in accordance with the present invention. For example, computing architectures including, but not limited to, stand alone, multiprocessor, distributed, client/server, minicomputer, mainframe, supercomputer, digital and analog can be employed in accordance with the present invention.
With reference to FIG. 12, an exemplary environment 1110 for implementing various aspects of the invention includes a computer 1112, including a processing unit 1114, a system memory 1116, and a system bus 1118 that couples various system components including the system memory to the processing unit 1114. The processing unit 1114 may be any of various commercially available processors. Dual microprocessors and other multi-processor architectures also can be used as the processing unit 1114.
The system bus 1118 may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of commercially available bus architectures. The computer 1112 memory includes read only memory (ROM) 1120 and random access memory (RAM) 1122. A basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within the computer 1112, such as during start-up, is stored in ROM 1120.
The computer 1112 further includes a hard disk drive 1124, a magnetic disk drive 1126, e.g., to read from or write to a removable disk 1128, and an optical disk drive 1130, e.g., for reading a CD-ROM disk 1132 or to read from or write to other optical media. The hard disk drive 1124, magnetic disk drive 1126, and optical disk drive 1130 are connected to the system bus 1118 by a hard disk drive interface 1134, a magnetic disk drive interface 1136, and an optical drive interface 1138, respectively. The drives and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, etc. for the computer 1112, including for the storage of broadcast programming in a suitable digital format. Although the description of computer-readable media above refers to a hard disk, a removable magnetic disk and a CD, it should be appreciated that other types of media which are readable by a computer, such as zip drives, magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, and the like, may also be used in the exemplary operating environment, and further that any such media may contain computer-executable instructions for performing the methods of the present invention.
A number of program modules may be stored in the drives and RAM 1122, including an operating system 1140, one or more application programs 1142, other program modules 1144, and program non-interrupt data 1146. The operating system 1140 in the illustrated computer can be any of a number of available operating systems.
A user may enter commands and information into the computer 1112 through a keyboard 1148 and a pointing device, such as a mouse 1150. Other input devices (not shown) may include a microphone, an IR remote control, a joystick, a game pad, a satellite dish, a scanner, or the like. These and other input devices are often connected to the processing unit 1114 through a serial port interface 1152 that is coupled to the system bus 1118, but may be connected by other interfaces, such as a parallel port, a game port, a universal serial bus (“USB”), an IR interface, etc. A monitor 1154, or other type of display device, is also connected to the system bus 1118 via an interface, such as a video adapter 1156. In addition to the monitor, a computer typically includes other peripheral output devices (not shown), such as speakers, printers etc.
The computer 1112 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer(s) 1158. The remote computer(s) 1158 may be a workstation, a server computer, a router, a personal computer, microprocessor based entertainment appliance, a peer device or other common network node, and typically includes many or all of the elements described relative to the computer 1112, although, for purposes of brevity, only a memory storage device 1160 is illustrated. The logical connections depicted include a local area network (LAN) 1162 and a wide area network (WAN) 1164. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.
When used in a LAN networking environment, the computer 1112 is connected to the local network 1162 through a network interface or adapter 1166. When used in a WAN networking environment, the computer 1112 typically includes a modem 1168, or is connected to a communications server on the LAN, or has other means for establishing communications over the WAN 1164, such as the Internet. The modem 11168, which may be internal or external, is connected to the system bus 1118 via the serial port interface 1152. In a networked environment, program modules depicted relative to the computer 1112, or portions thereof, may be stored in the remote memory storage device 1160. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
Referring now to FIG. 13, a system 1200 illustrates an answer generator 1210 and associated information retrieval methodology in accordance with an aspect of the present invention. It is noted that the system 1200 can be employed within or as part of the systems and processes that have been previously described in relation to FIGS. 1-12.
The system 1200 employs inferences about the probability distribution over informational goals, the parts of speech containing the focus of attention of a question or query, and such attributes as age and most appropriate level of detail,—as inferred from evidential information drawn from the words and linguistic structure of the query at hand, and other inputs (described below), including history of queries and profile information about a user.
These inferences can be utilized to:
(1) Post-filter a set of search results to automatically select results that are drawn from the appropriate genre of information (e.g., scientific article versus high-level, children-oriented article from a kids science site);
(2) Reformulate a search query to a search engine, adding terms and controls that identify the appropriate topic or genre (kids encyclopedia overviews of topics vs. scientific journal article) of article (e.g., in a search engine, automatically adding terms that are valuable for discovering structure of scientific journal articles (or other type), e.g., using the terms topic terms+Abstract and/or +References to determine the genre “science articles” that have a standard structure of an abstract and a standard list of academic references at the end of the article versus “+” to find out more about” that might appear in kids-oriented articles;
(3) Dynamically craft an answer by extracting the appropriate text and/or graphics and/or media from one or more articles, using automated procedures for extracting information based on the informational goals, appropriate level of details, age, focus of attention, and so forth;
It is noted that the present invention can couple processes for identifying informational goals, age, and appropriate level of detail with special representations of text and thus, automatically perform prototypical summarization versus scaling of an article. For example, the system 1200 can combine the inferences about appropriate level of detail with an autosummarizer for text which are well known and thus expand or contract detail with a parameter controlled by the level of detail from short, concise to longer, more verbose versions. For example, inferences can be combined relating to the level of detail and age with content that are written in a manner that is elementary in the beginning but, proceeds in a more and more sophisticated manner toward the end. In another example, the system 1200 can combine the inferences about level of detail and age with articles that are encoded in a manner where concepts are represented hierarchically and each level of the hierarchy is marked by level of detail, where valid sequences can be constructed by walking the hierarchy in a breadth-first manner at different levels of the hierarchy, and where level of the hierarchy of concepts being employed is controlled by age and the level of detail. One manner in which to achieve this is to leverage the hierarchicalization of concepts as represented by a Rhetorical Structure Theoretic encoding of content, as RST is known by the natural language processing community.
Other inferences in accordance with the present invention can be employed to:
(4) Drive dialog in pursuit of refining the probability distribution over states of informational goals, age, most appropriate level of detail, and/or focus of attention of a question, for example;
(5) Drive dialog in pursuit of a more appropriate query, seeking input from users on confirmation about the validity of reformulated queries, per their informational goals. Such dialog can be driven by automated procedures driven by formal decision-theoretic value-of-information methods, or more qualitative, heuristic procedures taking as inputs probability thresholds on the such summaries as the maximum likelihood of states of interest and the distribution of probabilities (e.g., variance—spread versus spikes) over states of interest (e.g., over ages, over most appropriate level of detail, over informational goals, and so forth).
The answer generator 1210 retrieves, organizes and directs information to a user based in part upon a user input at 1214 that can be part of a query (e.g., typed, spoken, symbolic), such as a grouping of words, speech and/or symbols directed to a search engine to receive information on a topic. A language processor 1220 receives/processes the user input 1214 and passes processed input to an analyzer at 1224, wherein inference analysis, probability models, classifiers, and/or probability thresholds are employed to infer/determine the user's informational goals.
The analyzer 1224 utilizes modeled and/or determined attributes of the user in order to increase the likelihood of satisfying informational goals of the user. The goals relate to the type of information sought by the user as indicated by the user input 1214 and can depend, at least in part, on an age of a user, a physical location of a user, one or more relationships in which the user is engaged and an application being employed by the user, for example. The attributes describe characteristics of the user such as age, ability, level of sophistication, and capability, for example, and provide possible indications of the user's proclivity to process information.
It is noted that probability distributions can be inferred over the values of attributes and/or goals by the analyzer 1224 based upon an analysis of the processed user input 1214 and in accordance with the probability/inference determinations and models described previously in relation to FIGS. 1 through 12. As an example, the linguistic components and structure of a query such as “Boiler specifications for Civil War vessels” may indicate that the user is technically oriented, having an undergraduate degree, a level of adulthood and thus, generally indicating a higher level of sophistication. A query such as “What is the capital of New York,” or “What are the three branches of government” may indicate a lower level of sophistication, age or ability.
It is to be appreciated however, that other determinations can be employed. For example, the “What are the three branches of government” query may have been received from a newly arrived, and highly educated immigrant studying for a naturalization exam. Thus, the analyzer 1224 can also employ stored inference models of the user that are adapted over time. These models can be adapted from past user activities, wherein the activities (e.g., past queries/topics of interest) can be monitored and accumulated via a monitor 1230 that stores past user input 1214 (processed from the language processor) and/or past inferences from the analyzer 1224 and utilizes the stored data to train the models. It is to be appreciated that explicit data can also be employed to train the inference models within the analyzer 1224 (e.g., manually input user profile). As one example, a user interface or training wizard can be employed to solicit data from the user in order to facilitate building a profile relating to attributes of the user. As will be described in more detail below, a dialog component 1234 can be employed when uncertainty is involved in determining the user's attributes and/or goals.
The answer generator 1210 processes the user input 1214 in the form of a query and generates crafted responses 1240 and/or dialog/feedback to the user via the dialog component 1240. The answer generator 1210 can also be adapted to produce at least one of an answer responsive to a new query, a rephrased query, and a query that can be reformulated into several variants and shared with users for selection or other feedback (e.g., having the user select from a menu of possible query types). The user's query, which can provide clues relating to the attributes and/or goals, can also be analyzed in accordance with inference models and/or classifiers (e.g., Support Vector Machines (SVM), probabilistic models such Bayesian networks, or simpler naïve-Bayes models, decision tree, similarity-based, vector-based, and/or other learning models or combinations thereof) in order to further clarify the attributes and goals. In addition, clarifying dialog or feedback can be directed to the user from the dialog component 1234 to further determine the attributes and/or goals if uncertainty or ambiguity is involved.
As an example of an uncertainty or ambiguity situation, a probability threshold can be established within the analyzer 1224 that invokes the dialog component 1234 if a probability determination relating to attributes and/or goals is below a predetermined threshold. Such a threshold can be adjusted by the user, preset by system designers, or determined dynamically by heuristics, or, more formally, by employing a decision-theoretic analysis that considers the costs and benefits of asking a clarifying question. Given the example described above, “What are the three branches of government,” and given a probability threshold established at 75% certainty, and if it is determined that the user's query yields a certainty below 75% probability in determination of the maximum likelihood informational goal and/or state of some other key attribute, then the dialog component 1234 can direct output to the user at 1240 (e.g., Graphical User Interface and Display) designed to elicit a clarifying comment, utterance, and/or selection from the user at 1214.
If uncertainty is involved when analyzing the user's query, output 1240 from the dialog component 1234 can be crafted in a manner such that possible answers to the query are generated which can be more subtle in form than an explicit request for clarifying data from the user, although it is to be appreciated that explicit requests can be generated. For example, instead of responding, “How old are you” or “Were you born in the US” in a query involving “What are the three branches of government”, possible answers relating to the query can be generated at 1240 (e.g., written dialog, images, symbolic data such as a sequence of sign language symbols, and/or spoken dialog). Possible example answers to the query can include: “I want to complete a school civics lesson;” “I want to see a picture of the Capital and the White House;” and “I am interested in other topics relating to an immigration exam.” It is to be appreciated that a plurality of such possible answers can be generated in accordance with the present invention. Depending on the user's selection of a possible clarifying answer via input 1214, inferences can be drawn from the selection which further define the attributes and facilitate focused information retrieval in line with the user's goals (e.g., if “I want to complete a school civics lesson,” is selected, it may be inferred that the user is potentially at about a sixth grade level of sophistication, may be a native born citizen, and may prefer some written description involving the government).
Based upon the analysis and/or dialog described above, the answer generator 1210 automatically invokes a focused search and retrieval of information, wherein the search is dynamically limited by the determined attributes. For example, this can include reformatting the user's raw query from 1214 into a form of a focused query at 1250 that is directed to a traditional search engine and/or data base at 1254 (e.g., automatically modifying “I am looking for Mustang pictures,” to “horses and ‘mustang pictures’ and children” based upon a clarifying determination or modeled behavior such as past information retrieval activities indicating an interest in horses and Nickelodeon, but not cars). It is noted that query phraseology can also be employed in attribute determination. For example, in the raw query example noted above, from, “I am looking for Mustang pictures,” it may be inferred that the user is of a potentially lower level of sophistication or ability by entering an ambiguous phrase that may be interpreted in more than one possible manner. Thus, if a dialog is invoked because of an uncertain and/or ambiguous probability determination being below the predetermined probability threshold described above, then the invocation of the dialog itself or other considerations can be utilized to determine and/or refine the attributes and associated models.
After the focused query 1250 has been transmitted to the search engine 1254, one or more information items 1260 such as files, documents, images, sound files, links to other sites and so forth are received by a filter 1264. When the information items 1260 have been collected, post processing in the filter 1264 and automated procedures in the analyzer 1224 can occur on the retrieved information and in further view of the attributes. The processed information is then directed to the user in the form of a formatted answer or response at 1240, which has been automatically tailored to the user's characteristics and informational goals and can include varying a length, precision and/or detail of the response 1240 based, at least in part, on the inferred informational goals and/or attributes.
Post processing can include filtering the received information items 1260 for particular types of received content at 1264. For example, this can include analyzing the received information items 1260 and filtering out adult content from children and/or pruning non-related items to the informational goal such as given the example above, pruning references and/or documents relating to “Mustang Casino” having a horse logo. The processing at 1224 can include reordering the information items 1264 before presentation and in line with the determined attributes (e.g., for a sophisticated user presenting written documents before images). Other processing can include at least one of a ranking process, an ordering process, a text formatting process, a diagramming process (e.g., symbolic sequence of images when providing an answer to the user's informational goal, providing a sequence of sounds) and/or include a text focusing process (e.g., highlighting, coloring, bolding, italicizing, magnifying relevant material).
The analyzer 1224 can perform a plurality of automated procedures before directing a subset of the information items 1260 to the user via the dialog component 1234 and responses 1240. One such automated procedure can include tailoring a level of detail in the answer or response at 1240 to the determined attributes of the user. As an example, the information items 1260 can be analyzed to automatically determine a level of detail within one or more information items associated with the returned focused query results from the search engine 1254. For example, such automated analysis can include determining sentence structure, sentence length, phrasing, common word regularity/non-regularity, document length, document content and document type. As an example, a scientific journal, encyclopedia or technical manual is likely to have longer words, sentences, and/or uncommon words or phrases as compared to a cookbook, a children's document, and an image.
When the level of detail has been determined in the retrieved information items 1260, the subset of filtered and/or processed information items 1260 most closely matching the attributes of the user are presented to the user as a display or other type output (e.g., audio data, symbolic/pictorial sequence) and in furtherance of the informational goal. It is noted that other aspects of the present invention can include building a new search engine at 1270 and/or selecting a particular type of search engine at 1280 based upon the processes and models described above. As one example, the search engine 1270 (or engines) can be constructed to focus on sites that are related to the user's attributes (e.g., direct engine crawler activities to sites relating to highly sophisticated users, direct crawler to refresh from children's sites only). In addition, particular types of engines can be selected at 1280, the engine types selected can be based upon the analysis of the user's query, models, and/or dialog as described above, wherein the user input 1214 is then passed to the selected engine—processed or unprocessed by the answer generator 1210. In addition, the answer generator 1210 can invoke such operations as a guided search process, a guided retrieval process, and/or a new text composition process in accordance with the attribute and goal analysis described above (e.g., providing step-by-step output displays leading the user to achieve desired informational goal). Furthermore, applications can be constructed that utilize the determinations provided by the answer generator 1210. For example, such applications can include targeted advertising, other link recommendations, age determinations, and/or demographic modeling.
What has been described above includes examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art may recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term “includes” is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.

## Claims

1. An automated information retrieval system, comprising:
A user interface for receiving a query;
an analyzer to process said query based upon at least one attribute related to a user, the analyzer infers one or more informational goals of the user from the query, the one or more informational goals of the user inferred by parsing the query into parts of speech and structural features and employing data obtained by parsing the query to access one or more decision trees in an inference model, the one or more decision trees store conditional probability distribution over the one or more informational goals given the parse data and a physical location of the user;
an answer generator that produces one or more responses to the query, the one or more responses are based, at least in part, on the one or more informational goals of the user inferred from the query, and the one or more responses vary in at least one of: length, precision, and detail based on at least one of the inferred informational goals and the attribute; and
an inference clarifier that automatically clarifies an inference about at least one of the informational goals before producing the one or more responses by initiating a dialog with the user when the at least one of the inferred informational goals has a likelihood below a predefined probability threshold, wherein at least one of the user attribute or the inference model is refined upon an occurrence of the inference clarification.

2. The system of claim 1, the answer generator produces at least one of an answer responsive to a new query, a rephrased query, or a query that can be employed in query by example process.

3. The system of claim 1, the one or more responses are driven by at least one of a ranking process, an ordering process, a text formatting process, a diagramming process or a text focusing process.

4. The system of claim 1, the informational goals depend, at least in part, on at least one of, an age of a user, one or more relationships in which the user is engaged, or an application being employed by the user.

5. The system of claim 1, the at least one attribute describes characteristics of the user including at least one of age, ability, level of sophistication, or capability as possible indications of the user's proclivity to process information.

6. The system of claim 1, the analyzer determines the level of detail of for an answer to the query based on at least one of an age of a user, the physical location of a user, one or more relationships in which the user is engaged, an application being employed by the user, or the at least one attribute.

7. The system of claim 1, the inferred informational goals can be employed to perform at least one of targeted advertising, link recommendations, age determinations, and demographic modeling.

8. The system of claim 1, where one or more inferred informational goals are employed to adapt at least one of a guided search process, a guided retrieval process, a post-search filtering process and a new text composition process.

9. The system of claim 1, where the inference clarifier further comprises a user interface to facilitate clarifying the inference associated with at least one of the informational goal, the at least one attribute, or the query.

10. The system of claim 1, the answer generator reformats the query from the user into a focused query directed to at least one search engine.

11. The system of claim 1, at least one of the answer generator and the analyzer are adapted to a search engine, the search engine is directed to retrieval activities associated with at least one of the informational goals or the attribute.

12. The system of claim 10, the reformatted query is employed to select a subset of search engines to process the query based in part on the informational goals and the attribute.

13. The system of claim 1, further comprising one or more processing components to process at least one of words, phrases, symbolic gestures, or speech from the user.

14. The system of claim 1, further comprising one or more formatting components to output at least one of words, phrases, symbolic gestures, or speech to the user.

15. The system of claim 1, the informational goals inferred from the query comprise information need, coverage wanted, coverage would give, topic and focus.

16. A method for automatically answering queries, comprising:
receiving a query from a user;
employing language processing to parse the query into component parts of speech and logical forms;
employing parse data produced by parsing the query to access a decision model, the decision model storing conditional probabilities associated with informational goals given the query within one or more decision trees;
inferring one or more informational goals from the decision model and a physical location of the user;
generating an answer related to the query and the one or more inferred informational goals;
automatically clarifying at least one inference associated with the one or more informational goals prior to generating the answer, via a dialog with the user when the inference has a probability below a predefined threshold; and
refining one or more of at least an attribute associated with the user or the decision model based upon occurrence of the automatic clarification of the at least one inference.

17. The method of claim 16, generating an answer related to the query and the one or more inferred informational goals comprises:
retrieving from a knowledge base a rephrased query, the query rephrasing based, at least in part, on the one or more inferred informational goals and one or more sample queries.

18. The method of claim 16, the inferred informational goals accurately reflect, at least seventy five percent of the time, actual informational goals of a consumer offering a question with less than seven phrases.

19. The method of claim 16, where the inferred informational goals reflect actual informational goals of a consumer offering a question based upon a probability threshold.

20. The method of claim 16, inferring the one or more informational goals further comprises considering at least one of an age of a user, one or more relationships in which the user is engaged or an application being employed by the user.

21. The method of claim 20, where inferring the one or more informational goals further comprises inferring one or more levels of detail for an answer to the query, the levels of detail determined in part on at least one attribute of the user.

22. The method of claim 21, further comprising performing automated analysis that includes at least one of determining sentence structure, sentence length, sentence phrasing, common word regularity, common word non-regularity, a document length, a document content, or a document type.

23. The method of claim 16, further comprising adapting one or more of a guided search process, a guided retrieval process, a post-search filtering process, or a new text composition process.

24. A computer readable medium storing computer executable instructions operable to perform a method for answering questions, the method comprising:
inputting a question;
employing language processing to parse the question into component parts of speech and logical forms;
employing parse data produced by parsing the question to access a decision model, the decision model storing conditional probabilities associated with informational goals given the query within one or more decision trees;
employing the decision model and a physical location of a user to infer one or more informational goals;
clarifying one or more of the inferences about the informational goals when at least one of the inferences has a likelihood below a probability threshold by conducting a dialog with the user;
determining that one or more of a user attribute or the decision model need refining based on occurrence of the dialog with the user; and
subsequently producing an answer related to the question and the one or more inferred informational goals.

25. A system for answering a question posed to an automated question answerer comprising:
means for initializing a model representing the likelihood that a certain type of answer is desired, the model being generated from probability distributions over a set of goals given a question and a physical location of a user, and stored in one or more data repositories;
means for parsing the question to identify parts of speech and structural features within the question, and employing the identified parts of speech and structural features to access one or more decision trees within the model to infer one or more of the goals;
means for automatically adapting the model over time;
means for determining one or more answers to the question based on likelihoods retrieved from accessing the model; and
means for conducting a dialog with a user to clarify one or more inferences made regarding the set of goals prior to determining the one or more answers when the likelihoods of at least one of the inferences is below a predefined thresholds wherein an initiation of the clarifying dialog determines that at least one of a user attribute or the model should be refined.

26. The system of claim 25, means for manually adapting the model.

27. A method to automatically clarify informational goals, comprising:
employing language processing to parse a query into observable linguistic features;
performing a probabilistic analysis on observable linguistic data received from parsing the query by assessing at least a conditional probability distribution over a set of one or more informational goals given the parse data and a physical location of a user, the conditional probability distribution stored in one or more decision trees, the one or more decision trees make up an inference model;
establishing a probability threshold related to an uncertainty in the analysis;
invoking a dialog with a user when the probabilistic analysis of at least one of the informational goals yields a determination below the probability threshold;
refining one or more of a user attribute or the decision model based on an occurrence of the dialog with the user; and
searching for information based upon an answer selected in response to the dialog.

28. The method of claim 27, modifying an information search further comprises:
analyzing the selected answer;
determining at least one attribute related to a user from at least one of the selected answer or an inference model; and
automatically generating a focused query to a search engine that is limited by the determined attribute.

29. The method of claim 28, further comprising:
receiving information items from the focused query;
determining a level of detail for the information items; and
presenting a subset of the information items to a user based upon matching the level of detail with at least one attribute associated with a user.

30. The method of claim 29, further comprising at least one of automatically filtering and pruning the information items before presentation to the user.

31. An automated information processing method, comprising:
processing inferences about a probability distribution over informational goals given a query, a physical location of a user, and parts of speech containing a focus of attention of the query in accordance with attributes of a user and most appropriate level of detail, wherein the probability distribution is stored in one or more data structures that are comprised in an inference model, wherein parsing the query into the parts of speech facilitates accessing the data structures in the inference model;
employing the inferences in at least one of a post-filter process, a reformulation process, a process for dynamically crafting an answer to the query; and
a process for driving a dialog in pursuit of refining the probability distribution, and a process for driving dialog in pursuit of a more appropriate query in order to satisfy the informational goals before crafting the answer when at least one of the inferences about the informational goals has a likelihood below a predefined probability threshold wherein one or more of at least an attribute associated with the user or the inference model is refined based upon occurrence of the dialog with the user.

32. The method of claim 31, the attributes relate to an age of the user and a level of detail suitable for the user, the attributes are inferred from evidential information drawn from words and linguistic structure of the query.

33. The method of claim 31, the attributes are inferred from at least one of a history of queries or profile information about the user.

34. The method of claim 31, the post filter process further comprising:
filtering a set of search results to automatically select results that are drawn from an appropriate genre of information.

35. The method of claim 31, the reformulation process further comprising at least one of:
reformulating a search query to a search engine;
adding terms and controls that identify the appropriate topic or genre of an article; or
automatically adding terms in a search engine that are valuable for discovering a structure of an article.

36. The method of claim 35, further comprising at least one of:
analyzing at least one of topic terms, an abstract, or a reference to determine a genre of articles that have a standard structure of an abstract and a standard list of academic references at the end of the article; or
determining more about topics that appear in children-oriented articles.

37. The method of claim 31, the process of dynamically crafting an answer to the query further comprises:
extracting at least one of an appropriate text, graphics, or media from one or more articles; and
using automated procedures for extracting information based on at least one of the informational goals, age, or focus of attention of the user.

38. The method of claim 31, the process of for driving a dialog in pursuit of refining the probability distribution further comprises:
driving the dialog over states of at least one of informational goals, age, appropriate level of detail, or focus of attention of the query.

39. The method of claim 31, the process of driving a dialog in pursuit of a more appropriate query further comprises at least one of:
seeking input from users on confirmation about the validity of reformulated queries, per the user's informational goals;
performing automated procedures driven by formal decision-theoretic value-of-information methods; or
performing heuristic procedures taking as inputs probability thresholds on such summaries as a maximum likelihood of states of interest and a distribution of probabilities over states of interest.

40. The method of claim 31, further comprising providing an autosummarizer for text to control a level of detail in an article from shorter versions to more verbose versions.

41. The method of claim 40, further comprising employing the level of detail and age to generate content that is provided in a manner that is elementary in the beginning but proceeds in a more sophisticated manner toward the end.

42. The method of claim 40, further comprising employing inferences about level of detail and age with articles that are encoded in a manner where concepts are represented hierarchically and respective levels of the hierarchy are marked by level of detail, wherein valid sequences can be constructed by walking the hierarchy in a breadth-first manner at different levels of the hierarchy, and further wherein the level of the hierarchy of concepts being employed is controlled by age and the level of detail.

43. The method of claim 42, further comprising determining the hierarchy via a Rhetorical Structure Theoretic encoding of content.