A Deep Learning Approach to Computing Span
A hybrid approach using dictionary data structures and parse trees in cognitive systems accurately distinguishes factual from hypothetical statements in medical texts, enhancing the reliability of treatment recommendations.
Patent Information
- Application Number
- JP2021575889
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-06-27
- Filing Date
- 2020-06-05
- Publication Date
- 2024-09-11
- Estimated Expiration
- 2040-06-05
AI Technical Summary
Existing diagnostic systems struggle to accurately distinguish between factual and hypothetical statements in medical texts, leading to potential errors in treatment recommendations.
A mechanism using a hybrid approach with specially constructed dictionary data structures and parse trees to identify and annotate hypothetical and factual portions of medical texts, allowing cognitive systems to focus on actual events and ignore assumptions.
Improves the accuracy of treatment recommendations by ensuring they are based on actual facts, reducing the influence of hypothetical statements that may lead to errors.
Smart Images

Figure 0007549417000006 
Figure 0007549417000001 
Figure 0007549417000011
Abstract
Description
[Technical field]
[0001] The present application relates generally to improved data processing apparatus and methods, and more specifically to mechanisms for providing an approach to machine learning of hypothetical statements in text, such as medical text, judicial statements, and other corpora of text documents. [Background technology]
[0002] Decision support systems exist in many different industries where human experts need assistance in retrieving and analyzing information. An example that will be used throughout this application is diagnostic systems used in the health care industry. Diagnostic systems can be categorized as systems that use structured knowledge, systems that use unstructured knowledge, and systems that use clinical decision formulas, rules, trees, or algorithms. The earliest diagnostic systems used structured knowledge or traditional manually constructed knowledge bases. As they developed, more sophisticated probabilistic reasoning capabilities were added, and then systems using unstructured knowledge began to appear. More recently, clinical decision rules for several medical illnesses have been developed, and computer systems have been developed to help medical practitioners and patients apply these rules. Summary of the Invention
[0003] According to some embodiments of the present disclosure, a method, system, and computer program product for using a natural language processor is disclosed, including importing highlighted and unhighlighted training texts, each including a training node, one-hot encoding the training texts, training a projection model with the training texts, processing the highlighted training texts with the projection model, and training a classifier model with the processed highlighted training texts. Also included are importing new texts including new nodes, one-hot encoding the new texts, processing the new texts with the projection model, and using the classifier model to determine if one of the new nodes is in a desired class.
[0004] According to some embodiments of the present disclosure, a method and system for training a natural language processor is disclosed, including importing highlighted training texts, each of which includes a training node, converting the training texts into a training translation table, training a one-hot encoder with the training translation table, and one-hot encoding the training translation table to generate training vectors. Also included are training a projection model with the training vectors, processing the highlighted training vectors with the projection model to generate processed highlighted training vectors, and training a classifier model with the processed highlighted training vectors, where the classifier model determines whether the node is in a desired class.
[0005] Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which: [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a schematic diagram illustrating one exemplary embodiment of a healthcare cognitive system in a computer network. [Diagram 2] 1 is a block diagram illustrating an example of a data processing system in which aspects of the illustrative embodiments may be implemented; [Diagram 3] FIG. 1 is an exemplary diagram illustrating the interaction of components of a healthcare cognitive system according to one exemplary embodiment. [Figure 4] FIG. 2 illustrates an example parse tree data structure representation of an example note composed by a medical professional that may be part of a patient's electronic medical record (EMR), according to one exemplary embodiment. [Diagram 5] FIG. 13 illustrates another example parse tree data structure for a sentence in which nodes corresponding to ignore triggers are disambiguated according to one exemplary embodiment. [Figure 6A] FIG. 2 is a diagram illustrating another example parse tree data structure for a sentence, describing the nodes and connecting edges of the sentence, according to an exemplary embodiment. [Figure 6B] FIG. 1 shows an example of two tables of a parse tree along two traversals. [Figure 6C] FIG. 13 shows an example of a comparison table of two scans in tabular form and their corresponding one-hot encoded vectors. [Figure 7] 4 is a flow diagram illustrating an example of a method for finding spans of a parse tree data structure. [Figure 8] 1 is a flow diagram illustrating a method of using parse trees to train a natural language processing (NLP) system to operate on natural language text. [Figure 9] 1 is a flow diagram illustrating an NLP learning machine operating on natural language text. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] When performing natural language processing of a portion of text, such as medical and legal texts, it is often important to be able to distinguish between portions of the text that are directed to actual statements of fact and portions of the text that contain hypothetical statements. For example, in the case of natural language processing performed on medical texts and to improve patient care, it is often very important to be able to distinguish between actual events that are important for more accurate treatment suggestions and hypothetical portions of the text that may represent possibilities that may lead to errors in the diagnosis and treatment of the patient. In most cases, medical notes contain both facts that describe what actually happened and plans (also called assumptions) that indicate what was discussed with the patient but did not actually happen. For example, a patient's electronic medical record (EMR) may have a lab report that indicates that a particular lab test was performed, and that the lab test had a particular result. This would be an example of an actual fact event that occurred with the patient. In addition, a doctor may have his own notes in the patient's EMR that indicate possible procedures or events that the doctor discussed with the patient (e.g., "We recommended that the patient get a mammogram."). These possible procedures or events did not actually happen, but represent possible plans for the patient. Although patients and issues are discussed, they are hypothetical in nature since it is not known at the time that the procedure or event will occur.
[0008] For cognitive systems, such as the IBM Watson® cognitive system available from International Business Machines Corporation, Armonk, New York, actual facts are often the most important part of such medical texts because treatment recommendations are based on actual events and facts. However, actions planned or not taken, possible events, etc. (i.e., assumptions) may also be recorded in medical texts even though they do not represent actual events or facts. To increase the accuracy of such cognitive systems, it would be useful to be able to distinguish between parts of the text content that represent assumptions and parts of the text content that represent actual facts and events, so that the treatment recommendations generated by the cognitive system are based on the parts that represent actual facts and events.
[0009] Exemplary embodiments provide mechanisms for taking electronic text, documents, or other portions of textual content and analyzing the textual content to distinguish between portions of the text that are directed to hypotheses and portions of the text that are directed to actual facts or events that have actually occurred. For purposes of the following description, exemplary embodiments are provided that are directed to implementation in the context of medical text and cognitive treatment recommendation systems. However, these exemplary embodiments should not be taken in a limiting context. In particular, it should be recognized that various other embodiments may be implemented with respect to any type of text in various domains other than medical text without departing from the spirit and scope of the present invention. Thus, for example, the mechanisms described hereinafter may be implemented with respect to judicial text or any other type of text that may include hypotheses and factual portions, and where the distinction between the hypotheses and factual portions of the text is then used to perform analytical, cognitive, or other processing of the text to produce results.
[0010] In the context of an embodiment of a treatment recommendation system in which the mechanisms of the exemplary embodiments distinguish between factual and hypothetical portions of text, the mechanisms of the exemplary embodiments may ingest various types of medical text and apply the mechanisms of the exemplary embodiments to these medical texts. These medical texts may include, for example, patient electronic medical records (EMRs), where healthcare providers (e.g., doctors, nurses, hospitals, medical laboratories, pharmacies, and health insurance companies) may contribute content for inclusion in the EMR. Thus, medical text from each of these sources may include both facts (e.g., actual occurrences, events, or outcomes) and assumptions (e.g., plans or other possibilities that have not actually occurred).
[0011] In some cases, a single statement or medical text may contain both facts and assumptions, such as the example statement "Since she is node positive and has no comorbidities, we recommend neoadjuvant therapy." In these cases, it is desirable to know the fact that the patient is node positive and has no comorbidities when making a treatment recommendation for the patient. However, it is also very important for the treatment recommendation system to know that the patient did not actually receive neoadjuvant therapy, without also interpreting the neoadjuvant therapy portion of the statement as a fact. Rather than thinking that the patient did in fact receive neoadjuvant therapy, the system should be able to determine that this portion of the statement represents a recommendation for future planning (i.e., an assumption), and not a fact of an event that occurred. The system can then ignore this portion of the statement, or simply process it differently than the rest of the statement.
[0012] To distinguish between parts of medical text that describe actual facts and parts of text that are directed to hypotheses, the exemplary embodiment provides a mechanism for implementing a generalizable approach that does not make assumptions about sentence structure. The exemplary embodiment uses two sets of dictionary data structures. The first is a set of dictionary data structures directed to identifying terms and phrases that correspond to hypothesis parts of the content, which the treatment recommendation cognitive system may ignore when performing treatment recommendation analysis. The second is a second set of dictionary data structures directed to distinguishing terms and phrases that are related to fact parts of the content, which should be used as a basis for performing such treatment recommendation analysis. In addition, a parse tree is used, which includes an enhanced representation of the text content to which the dictionary is applied. Annotations (e.g., hypothesis or fact annotations) are spanned by looking at the subtrees rooted by the matching dictionary entries. For example, when a node of the parse tree matches a hypothesis term or phrase in the hypothesis dictionary data structure, the subtree rooted by the matching hypothesis term or phrase may be annotated as a hypothesis. The approach implemented by the mechanisms of the exemplary embodiments facilitates adjustments for previously unseen cases, such as with a different or updated dictionary of hypothesis terms / phrases.
[0013] Exemplary embodiments may operate in a back-end portion of a treatment recommendation system where natural language processing of medical text occurs. In the back-end system, the medical text may be analyzed using a number of natural language processing models, including one or more models implementing one or more exemplary embodiments of the present disclosure. The result of such analysis is a set of annotated medical text that may be used by the treatment recommendation cognitive system for both machine learning and actual application to a particular patient's EMR to provide treatment recommendations for that particular patient.
[0014] Before embarking on a more detailed discussion of various aspects of the exemplary embodiments, it should first be appreciated that throughout this description, the term "mechanism" is used to denote components of the present disclosure that perform various operations, functions, and the like. When the term "mechanism" is used herein, it may be an implementation of a function or aspect of the exemplary embodiments in the form of an apparatus, a procedure, or a computer program product. In the case of a procedure, the procedure is performed by one or more devices, apparatus, computers, or data processing systems, and the like. In the case of a computer program product, the logic represented by the computer code or instructions embodied in or on the computer program product is executed by one or more hardware devices to realize a function or perform an operation associated with a particular "mechanism." Thus, the mechanisms described herein may be implemented as specialized hardware, software running on general-purpose hardware, software instructions stored on a medium such that the instructions are readily executable by specialized or general-purpose hardware, a procedure or method for performing a function, or any combination of the above.
[0015] The present disclosure and claims may use the terms "a," "at least one of," and "one or more of" in reference to particular features and components of the exemplary embodiments. It should be recognized that these terms and phrases are intended to state that there is at least one of the particular feature or component in a particular exemplary embodiment, but that there may be more than one. That is, these terms / phrases are not intended to limit the description or claims to the presence of a single feature / component, nor to require the presence of a plurality of such features / components. To the contrary, these terms / phrases require only at least a single feature / component, and multiple such features / components may be within the scope of the description and claims.
[0016] Furthermore, it should be appreciated that the use of the term "engine" when used herein with respect to describing embodiments and features of the present disclosure is not intended to limit any particular implementation to the accomplishment and / or execution of operations, steps, processes, etc., that are attributable to and / or performed by the engine. An engine may be, but is not limited to, software, hardware, or firmware, or any combination thereof, that performs the specified functions, including but not limited to any use of a general-purpose or specialized or both processor in combination with appropriate software that is loaded or stored in machine-readable memory and executed by the processor. Furthermore, any name associated with a particular engine, unless otherwise specified, is for convenience of reference and is not intended to limit to a particular implementation. In addition, any functionality attributed to an engine may be equally performed by multiple engines, either incorporated into or combined with the functionality of another engine of the same or different type, or both, or distributed across one or more engines in various configurations.
[0017] In addition, to further illustrate examples of implementation of the exemplary embodiments and to aid in understanding the mechanisms of the exemplary embodiments, it should be appreciated that the following disclosure uses a number of different examples for the various components of the exemplary embodiments. These examples are intended to be non-limiting and do not exhaust the various possibilities for implementing the mechanisms of the exemplary embodiments. In light of this disclosure, it will be apparent to those skilled in the art that there are many other alternative implementations for these various components that may be used in addition to or in place of the examples provided herein without departing from the spirit and scope of the invention.
[0018] The invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions for causing a processor to perform aspects of the invention.
[0019] A computer-readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: Portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves having recorded instructions, and the like, and any suitable combination of the foregoing. Computer-readable storage media as used herein should not be construed to refer to transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a wave guide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted through wires.
[0020] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each computing / processing device or may be downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions to a computer readable storage medium in the respective computing / processing device for storage.
[0021] The computer readable program instructions for carrying out the operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, or C++, and procedural programming languages such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection to the external computer may be made (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer-readable program instructions by using state information of the computer-readable program instructions to personalize the electronic circuitry to perform aspects of the invention.
[0022] Aspects of the invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0023] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus cause the implementation of the functions / operations specified in the block or blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored includes an article of manufacture containing instructions implementing aspects of the functions / operations specified in the block or blocks of the flowcharts and / or block diagrams.
[0024] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable apparatus, or other device to perform a series of operational steps to generate a computer-implemented process, such that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.
[0025] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions that includes one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the drawings. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or these blocks may sometimes be executed in the reverse order depending on the functionality involved. In addition, it will be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be realized by a special-purpose hardware-based system that performs the specified functions or operations or executes a combination of special-purpose hardware and computer instructions.
[0026] As described above, the present disclosure provides a mechanism for analyzing medical text to distinguish between hypothetical portions of the text and factual portions of the text, and further annotating such portions of the text so that they can be included or excluded from further consideration by the treatment recommendation cognitive system when performing machine learning and / or treatment recommendation operations. The mechanism of the exemplary embodiment improves the accuracy of the treatment recommendation cognitive system by informing the system of portions that the system can accurately rely on as indicating actual facts, as opposed to what may be facts (i.e., assumptions) that should not be relied upon by the system. In this manner, the treatment recommendation cognitive system can base its final treatment recommendation on factual events and not be erroneously influenced by hypothetical portions of the medical text.
[0027] The mechanism of the exemplary embodiment uses a hybrid approach involving the use of both a set of specially constructed dictionary data structures and a parse tree data structure. The set of specially constructed dictionary data structures includes a set of assumption dictionary data structures that specify terms or phrases that indicate assumptions of the content, where these terms or phrases in the set of assumption dictionary data structures are referred to herein as "ignorance triggers." The set of specially constructed dictionary data structures further includes a set of fact dictionary data structures that specify terms or phrases that indicate facts of the content, where these terms or phrases in the set of fact dictionary data structures are referred to herein as "confirmation triggers." The ignore triggers and confirmation triggers, combined with a systematic view of portions of the textual content (e.g., documents, paragraphs, sentences, phrases, etc.) obtained from the parse tree, allow for a more generalizable approach.
[0028] The combination of the ignore and confirm triggers with the analytic tree allows for identifying portions of the analytic tree as corresponding to hypothetical portions of the content, also referred to herein as "hypothesis spans," and other portions of the analytic tree as relating to factual portions of the content, also referred to herein as "fact spans." These various spans may be annotated as hypothetical or factual, respectively, in the metadata associated with these portions of the content. The annotated spans or portions of the content may then be processed by the treatment recommendation cognitive system to ignore portions of the content that correspond to hypothetical spans (e.g., a weighting of zero may be applied to these portions of the content, or logic may be provided to give other evaluations to the information in the hypothetical spans as the medical professional's plan). In some exemplary embodiments, a pruned analytic tree may be generated by removing annotations contained within the hypothetical spans, which is provided to the treatment recommendation cognitive system for use in performing its treatment recommendation cognitive operations. In yet another exemplary embodiment, instead of giving the hypothesis spans a weight of zero or pruning these spans from the parse tree, the annotations inside these spans may be given a relatively lower weight than the annotations in the fact spans, thereby reducing their influence by weighting the hypothesis spans relatively lower while still allowing some influence from the hypothesis spans.
[0029] Thus, instead of these portions of content being considered by the treatment recommendation cognitive system as representing evidence on which the treatment recommendation cognitive system may base its treatment recommendations, which may result in erroneous treatment recommendations, the treatment recommendation cognitive system may recognize these portions as not indicative of facts relevant to the patient. Rather, these portions are considered to be possible facts that are not indicative of the patient's current condition and that cannot be relied upon or may be relied upon with less confidence. In contrast, in some exemplary embodiments, the treatment recommendation cognitive system operates only on the portions of the content that correspond to fact spans. In other exemplary embodiments, hypothesis spans may still be considered, but their relatively lower credibility may be quantified by giving information derived from these hypothesis spans a relatively lower weight or importance than other fact spans.
[0030] Exemplary embodiments may be used in many different types of data processing environments. To provide a context for the description of certain components and functions of exemplary embodiments, Figures 1-3 are provided hereinafter as example environments in which aspects of exemplary embodiments may be implemented. It should be understood that Figures 1-3 are merely examples and are not intended to assert or imply any limitation with respect to the environments in which aspects or embodiments of the invention may be implemented. Many modifications to the depicted environments may be made without departing from the spirit and scope of the present invention.
[0031] 1-3 are intended to illustrate an example of a cognitive system for a healthcare application (also referred to herein as a "healthcare cognitive system") that implements a request processing pipeline, such as a Question Answering (QA) pipeline (also referred to as a Question / Answer pipeline or a Question and Answer pipeline), a request processing method, and a request processing computer program product, by which the mechanisms of the exemplary embodiments are implemented. These requests may be provided as structured or unstructured request messages, natural language questions, or any other suitable format for requesting the healthcare cognitive system to perform an action. As will be described in more detail below, a particular healthcare application implemented in the example cognitive system of an embodiment of the present invention is a healthcare application for providing treatment recommendations, and thus the healthcare cognitive system may be referred to herein as a treatment recommendation cognitive system.
[0032] Of course, while the healthcare cognitive system is illustrated in the examples below as having a single request processing pipeline, in practice it may have multiple request processing pipelines. Depending on the desired implementation, each request processing pipeline may be separately trained and / or configured to process requests related to different domains, or may be configured to perform the same or different analyses on input requests (or questions in an implementation using a QA pipeline). For example, in some cases, a first request processing pipeline may be trained to operate on input requests directed to a first medical disease domain (e.g., various types of blood diseases), while another request processing pipeline may be trained to respond to input requests in another medical disease domain (e.g., various types of cancer). In other cases, for example, multiple request processing pipelines may be configured to provide different types of cognitive functions or to support different types of healthcare applications, e.g., one request processing pipeline may be used for patient diagnosis, another request processing pipeline may be configured for treatment recommendations, another request processing pipeline may be configured for patient monitoring, etc.
[0033] Additionally, each request processing pipeline may have its own associated corpus or corpora to consume and operate on (e.g., in the above example, one corpus is for blood disease domain documents and another corpus is for cancer diagnosis domain related documents). In some cases, each of the request processing pipelines may operate on the same domain of input questions, but may have different configurations (e.g., different annotators or differently trained annotators such that different analyses and possible responses are generated). The healthcare cognitive system may provide additional logic to route input questions to the appropriate request processing pipeline based, for example, on the stated domain of the input request, to combine and evaluate the final results generated by the processing performed by the multiple request processing pipelines, and other control and interaction logic to facilitate the use of multiple request processing pipelines.
[0034] As noted above, one type of request processing pipeline in which the mechanisms of the exemplary embodiments may be used is a question answering (QA) pipeline. The following description of the exemplary embodiments of the present invention uses a QA pipeline as an example of a request processing pipeline that may be augmented to include mechanisms according to one or more exemplary embodiments. It will be appreciated that, although the embodiments of the present invention will be described in the context of a cognitive system implementing one or more QA pipelines that operate on input questions, the exemplary embodiments are not so limited. Alternatively, the mechanisms of the exemplary embodiments may operate on requests that are not posed as "questions" but are instead formatted as requests for the cognitive system to perform cognitive operations on a specified set of input data using one or more associated corpora and specific configuration information used to configure the cognitive system. For example, instead of asking the natural language question "Which diagnosis applies to patient P?", the cognitive system may receive a request such as "Generate a diagnosis for patient P." It will be appreciated that the mechanisms of the QA system pipeline may operate on requests in a manner similar to input natural language questions with minor modifications. In some cases, if desired for a particular implementation, the request may be converted into a natural language question for processing by the QA system pipeline.
[0035] As will be discussed in more detail below, the exemplary embodiments may integrate with, augment, and extend the functionality of these QA pipeline (or request processing pipeline) mechanisms of the healthcare cognitive system with respect to annotating ingested medical text and performing actions on these ingested medical texts. This may result in healthcare-based actions that distinguish between assumptions and facts of the medical text. In particular, in some exemplary embodiments, the medical text may include a patient EMR, and the healthcare-based actions may include providing treatment recommendations based on the patient's EMR. In this manner, the healthcare cognitive system provides a decision support system directed toward treatment recommendations.
[0036] In view of the above, before describing how the mechanisms of the exemplary embodiments are integrated into and augment the mechanisms of such cognitive systems and request processing pipelines or QA pipelines, it is important to first understand how cognitive systems and question and answer creation in cognitive systems implementing QA pipelines are implemented. Of course, the mechanisms described in Figures 1-3 are merely examples and are not intended to state or imply any limitations regarding the type of cognitive system mechanisms in which the exemplary embodiments are implemented. Many modifications to the example cognitive system shown in Figures 1-3 may be implemented in various embodiments of the present invention without departing from the spirit and scope of the present invention.
[0037] In summary, a cognitive system is a specialized computer system, or set of computer systems, that is comprised of hardware and / or software logic (software executed in combination with hardware logic) to mimic human cognitive functions. These cognitive systems apply human-like characteristics to the communication and manipulation of ideas, which, when combined with the inherent strengths of digital computing, can solve problems with high accuracy and resilience at scale. Cognitive systems extend and expand human skills and cognition by performing one or more computer-implemented cognitive actions that approximate human thought processes and allow people and machines to interact in a more natural manner. Cognitive systems include artificial intelligence logic, for example, natural language processing (NLP)-based logic, and machine learning logic, which may be provided as specialized hardware, software executed in hardware, or any combination of specialized hardware and software executed in hardware. The logic of a cognitive system enables cognitive behavior(s), examples of which include, but are not limited to, question answering, identification of related concepts in different parts of a corpus of content, intelligent search algorithms such as Internet web page search, medical diagnosis and treatment recommendations, and other types of recommendation generation (e.g., recommending matters that may be of interest to a particular user or possible new contacts).
[0038] IBM Watson (a registered trademark of IBM Corporation) is one example of such a cognitive system, which can process human-readable language and discern inferences between text passages with similar accuracy and at much faster and larger scale than humans. In general, such cognitive systems can perform one or more of the following functions, but are not limited to: navigating the complexities of human language and understanding; Ingest and process vast amounts of structured and unstructured data; generating and evaluating hypotheses; Weighing and evaluating responses based only on relevant evidence; Providing situation-specific advice, insight and guidance; Learning by improving knowledge with each iteration and interaction through the machine learning process; Enabling decision-making at the point of impact (e.g., contextual guidance), Scale proportionally to the task. Extending and expanding human skills and cognitive capabilities; Identifying resonant human-like attributes and characteristics from natural language; Inferring various language-specific or language-independent attributes from natural language; Recollection (e.g., memorization and retrieval) of data points (images, text, audio) with a high degree of relevance; Predict and sense with situational awareness that mimics experience-based human cognition; and Responding to questions based on natural language and specific evidence.
[0039] In one embodiment, cognitive systems provide mechanisms for answering questions posed to these cognitive systems using a question answering pipeline or system (QA system) and / or processing requests that may or may not be posed as natural language questions. A QA pipeline or system is an artificial intelligence application running on data processing hardware that responds to questions related to a given subject domain posed in natural language. A QA pipeline receives input from a variety of sources, including input over a network, a corpus of electronic documents or other data, data from a content creator, information from one or more content users, and other such input from other possible sources of input. A data storage device stores the corpus of data. A content creator creates content for documents for use by the QA pipeline as part of the corpus of data. A document may include any file, text, article, or source of data for use in the QA system. For example, a QA pipeline may have access to a body of knowledge about a domain or subject area (e.g., the financial domain, the medical domain, the legal domain, etc.), and this body of knowledge (knowledge base) may be organized in various configurations (e.g., a structured repository of domain-specific information such as an ontology, or a collection of unstructured data about the domain, or a collection of natural language documents about the domain).
[0040] A content user inputs a question into a cognitive system that realizes the QA pipeline. The QA pipeline then responds to the input question by evaluating documents, sections of documents, or portions of data in the corpus, with the content of the corpus of data. When a process evaluates the semantic content of a given section of documents, the process may query such documents from the QA pipeline using various conventional methods (e.g., submitting a query to the QA pipeline as a qualified question, which is then interpreted by the QA pipeline and providing a response that includes one or more answers to the question). Semantic content is content based on the relationships between symbolic expressions, e.g., words, phrases, symbols, and signs, and what they represent, their explicit meaning, or their implicit meaning. In other words, semantic content is the content of an interpretation of an expression, e.g., by using natural language processing.
[0041] As described in more detail below, the QA pipeline receives input questions, parses the questions to extract key features of the questions, constructs queries using the extracted features, and then applies those queries to the corpus of data. Based on the application of the query to the corpus of data, the QA pipeline generates a set of hypotheses or candidate responses to the input question by looking through the corpus of data for portions of the corpus of data that have some likelihood of containing a useful response to the input question. The QA pipeline then uses various inference algorithms to perform a deep analysis of the language of the input question and the language used for each portion of the corpus of data found upon application of the query. There may be hundreds or thousands of inference algorithms applied, each of which performs a different analysis (e.g., comparison, natural language analysis, or lexical analysis, etc.) to generate a score. For example, some inference algorithms may look at term and synonym matches in the language of the input question and the found portion of the corpus of data. Other inference algorithms may look at time or spatial features in the language, and others may evaluate the source of the portion of the corpus of data to evaluate its veracity.
[0042] The scores obtained from the various inference algorithms indicate to what extent a possible response is inferred by the input question based on the particular focus area of the inference algorithm. Each result score is then weighted against a statistical model that captures how well the inference algorithm performed in establishing inferences between two similar passages for a particular domain during the training period of the QA pipeline. The statistical model is used to aggregate the level of confidence the QA pipeline has in the evidence that a possible response (i.e., a candidate response) is inferred by the question. This process is repeated for each candidate response until the QA pipeline generates a final response or a ranked set of responses to the input question by identifying candidate responses that have been found to be significantly stronger than the others.
[0043] As described above, a QA pipeline mechanism operates by accessing information or information from a corpus of data (also called a corpus of content), analyzing it, and then generating answer results based on the analysis of this data. Accessing information from a corpus of data typically involves database queries that respond to questions about what is in a structured collection of records, and searches that derive a collection of document links in response to queries against a collection of unstructured data (text, markup languages, etc.). Traditional question answering systems can generate answers based on a corpus of data and an input question, validate answers to a collection of questions against a corpus of data, correct errors in digital text using the corpus of data, and select answers to questions from a pool of possible answers (i.e., candidate answers).
[0044] Content creators, such as article authors, electronic document creators, web page authors, and document database creators, define use cases for the products, solutions, and services that will be described in their content before writing it. As a result, content creators know what questions their content is intended to answer in the particular topic to which it is addressed. By classifying the questions in each document of a corpus of data (e.g., by the role, type of information, or task related to the question), the QA pipeline can more quickly and efficiently identify documents that contain content related to a particular query. The content may also answer other questions not anticipated by the content creator that may be useful to content users. The questions and answers may be verified by the content creator to be included in the content for a given document. These capabilities contribute to improving the accuracy, system performance, machine learning, and reliability of the QA pipeline. The content creators or automated tools, etc., annotate or otherwise generate metadata to provide information usable by the QA pipeline to identify these question and answer attributes of the content.
[0045] A QA pipeline operating on such content generates responses to the input questions using multiple centralized analysis mechanisms that evaluate the content to identify the most likely responses (i.e., candidate responses to the input questions), which are output as a ranked list of candidate responses ranked by their relative scores or confidence measures calculated during the evaluation of the candidate responses, as a single final response having the highest ranking score or confidence measure or that best matches the input question, or as a combination of the ranked list and the final response.
[0046] FIG. 1 shows a schematic diagram of one exemplary embodiment of a cognitive system 100 implementing a request processing pipeline 108, which in some embodiments may be a question answering (QA) pipeline, in a computer network 102. For purposes of this disclosure, it is assumed that the request processing pipeline 108 is implemented as a QA pipeline that operates on structured and / or unstructured requests in the form of input questions. The cognitive system 100 is implemented in one or more computing devices 104 (including one or more processors and one or more memories, and possibly any other computing device components, including buses, storage devices, and communication interfaces, etc., as are generally known in the art) connected to the computer network 102. The network 102 includes a plurality of computing devices 104 that communicate with each other and with other devices or components via one or more wired and / or wireless data communication links, each communication link including one or more of wires, routers, switches, transmitters, or receivers, etc. Cognitive system 100 and network 102 enable question processing and answer generation (QA) functions for one or more cognitive system users via respective computing devices 110-112. Other embodiments of cognitive system 100 may be used with other components, systems, subsystems, or devices, or combinations thereof, than those illustrated herein.
[0047] The cognitive system 100 is configured to implement a QA pipeline 108 that receives input from a variety of sources. For example, the cognitive system 100 receives input from a network 102, a corpus of electronic documents 106, a cognitive system user (not shown), or other data and other input sources, or a combination thereof. In one embodiment, some or all of the inputs to the cognitive system 100 are routed through the network 102. Various computing devices 104 on the network 102 include access points for content creators and QA system users. Some of the computing devices 104 include devices for databases that store the corpus of data 106 (shown as a separate entity in FIG. 1 for illustrative purposes only). Portions of the corpus of data 106 may also be provided in one or more other network-attached storage devices, one or more databases, or other computing devices not explicitly shown in FIG. 1. In various embodiments, network 102 may include local network connections and remote connections such that cognitive system 100 may operate in environments of any size, including local and global (e.g., the Internet).
[0048] In one embodiment, a content creator creates content for a document in the corpus of data 106 for use by the cognitive system 100 as part of the corpus of data. A document includes any file, text, article, or source of data for use in the cognitive system 100. A QA system user accesses the cognitive system 100 via a network connection or an Internet connection to the network 102 and enters a question into the cognitive system 100, which is answered by content in the corpus of data 106. In one embodiment, the question is formulated using natural language. The cognitive system 100 parses and interprets the question via the QA pipeline 108 and provides a response to the cognitive system user (e.g., via the cognitive system user device 110) that includes one or more answers to the question. In some embodiments, the cognitive system 100 provides responses to the user in a ranked list of candidate responses, while in other exemplary embodiments, the cognitive system 100 provides a single final response or a combination of a final response and a ranked list of other candidate responses.
[0049] The cognitive system 100 implements a QA pipeline 108, which includes multiple stages for processing an input question and a corpus of data 106. The QA pipeline 108 generates an answer to the input question based on processing the input question and the corpus of data 106. The QA pipeline 108 is described in further detail below with respect to FIG.
[0050] In some exemplary embodiments, the cognitive system 100 may be an IBM Watson® cognitive system available from International Business Machines Corporation of Armonk, New York, augmented with features of the exemplary embodiments described hereinafter. As outlined above, the QA pipeline of the IBM Watson® cognitive system receives an input question, which it then analyzes to extract key features of the question, which it then uses to construct a query that is applied to a corpus of data. Based on the application of the query to the corpus of data, a set of hypotheses or candidate responses to the input question is generated by scanning the corpus of data for portions of the corpus of data that have some likelihood of containing a useful response to the input question. The QA pipeline of the IBM Watson® cognitive system then uses various inference algorithms to perform a deep analysis of the language of the input question and the language used for each portion of the corpus of data found upon application of the query.
[0051] The scores from the various inference algorithms are then weighted against a statistical model that aggregates the level of confidence that the IBM Watson® cognitive system QA pipeline has in the evidence that a possible response (i.e., a candidate response) is inferred by the question. This process is repeated for each candidate response to generate a ranked list of candidate responses, which may then be provided to the user who submitted the input question, or a final response may be selected from the ranked list and provided to the user. Further information about the IBM Watson® cognitive system QA pipeline may be obtained, for example, from IBM's website, IBM Redbooks®. For example, information about the QA pipeline for IBM Watson cognitive systems can be found in Yuan et al., “Watson and Healthcare,” IBM developerWorks, 2011, and Rob High, “The Era of Cognitive Systems: An Inside Look at IBM Watson and How it Works,” IBM Redbooks, 2012.
[0052] As noted above, input from a client device to the cognitive system 100 may come in the form of a natural language question, although example embodiments are not so limited. Alternatively, the input question may be formatted or structured as virtually any suitable type of request, which may be parsed and analyzed using structured and / or unstructured input analysis, including but not limited to the natural language parsing and analysis mechanisms of a cognitive system such as IBM Watson, to provide a basis for cognitive analysis and provide the results of that cognitive analysis. In the case of a healthcare-based cognitive system, this analysis may involve processing, for example, patient EMRs and medical guidance documentation from one or more corpora to provide the results of the cognitive system that are healthcare-directed.
[0053] In the context of the present disclosure, the cognitive system 100 may provide cognitive functionality to assist in healthcare-based operations. For example, depending on the particular implementation, the healthcare-based operations may include patient diagnosis, treatment recommendation systems, medical practice management systems, personalized patient care plan generation and monitoring, or evaluation of patient EMRs for various purposes, such as to identify patients suitable for medical tests or specific types of medical treatments. Thus, the cognitive system 100 may be a healthcare cognitive system 100 that operates in a medical or healthcare type domain and may process requests for such healthcare operations via the request processing pipeline 108 input as structured or unstructured requests, natural language input questions, or the like.
[0054] In one exemplary embodiment, the cognitive system 100 is a treatment recommendation system that analyzes a patient's EMR with respect to medical guidelines and other medical documentation in a corpus or corpora of information to generate treatment recommendations regarding how to treat the patient's medical disease or condition. In other exemplary embodiments, the domain may be a legal domain and the cognitive system 100 may provide cognitive analysis of assumptions and factual statements regarding legal cases and legal texts. For example, the cognitive system 100 may provide recommendations based on victim, witness, or complaint records, and distinctions between assumptions in statements, etc. For example, the statement "The victim's phone was in the car. It is believed that the victim left her phone in the car" may be analyzed using mechanisms of an exemplary embodiment to distinguish between the fact that the victim's phone was in the car and the assumption that the victim himself / herself actually left the phone in the car. Recommendations or other cognitive or algorithmic actions may then be made based on the distinction between the factual and assumption portions.
[0055] Referring again to the implementation of the treatment recommendation cognitive system as shown in FIG. 1, the cognitive system 100 is further augmented by the features of the exemplary embodiment by including logic implemented in specialized hardware, software executed in the hardware, or any combination of specialized hardware and software executed in the hardware, to implement a medical text ingestion engine 120, which may be accomplished using, for example, the server 104. The medical text ingestion engine 120 itself implements a parse tree engine 122, an assumption span analyzer 124, and a medical text annotator 126. Additionally, as will be described hereinafter, the assumption span analyzer 124 has an associated assumption dictionary data structure 127 and a fact dictionary data structure 128 that are used by the assumption span analyzer 124 to identify assumptions and fact spans within the parse tree.
[0056] The medical text ingestion engine 120 may operate on any medical text content present in the corpus 130 to annotate the medical text as part of the ingestion operation. The ingestion operation generates an in-memory representation of the medical text for use by the cognitive system 100 in performing its cognitive operations, such as, for example, healthcare-based cognitive operations using the pipeline 108. These medical texts may include medical guideline documents, medical policy statements, health insurance guidelines, or any other medical information in which factual and / or assumption statements may exist. In some exemplary embodiments, the medical texts in the corpus 130 may include a patient registry in which patient EMRs for one or more patients are stored. These patient EMRs may include information obtained from a variety of different sources of medical information for a patient, including physician-generated EMRs, institution-generated EMRs (e.g., from medical practices, hospitals, urgent care facilities, etc.), pharmacy-generated records, medical laboratory records, etc. This information may be compiled together into a patient-specific EMR or set of patient-specific EMRs. Alternatively, this information may be stored separately in a separate data structure associated with the patient identifier.
[0057] As noted above, medical text may include both factual and hypothetical portions of content. The medical text ingestion engine 120 operates to retrieve such medical text from the corpus 130, for example, in response to a received request or as part of a general ingestion operation that occurs prior to receipt of a specific request. For example, the cognitive system 100 may receive a request to generate a treatment recommendation for a specified patient. In response, the cognitive system 100 may request that the medical text ingestion engine 120 retrieve an EMR for the specified patient from the corpus 130. Alternatively, multiple EMRs for multiple patients in the patient registry of the corpus 130 may be ingested as part of an initialization or periodic process of the medical text ingestion engine 120. In either case, the medical text ingestion engine 120 operates on the medical text of the patient EMR, or possibly other medical text, to distinguish between hypothetical portions of the medical text's content (hypothetical statements or phrases) and factual portions of the content. The medical text is thereby annotated by annotating metadata associated with the medical text. This annotated medical text may be provided to the cognitive system 100 as an in-memory representation of the medical text, and the cognitive system 100 may perform its cognitive actions thereon.
[0058] To generate the annotated medical text, the medical text is received or retrieved from the corpus 130 by the medical text ingestion engine 120. The medical text is then parsed by the parse tree engine 122 using a logical parsing technique to generate a parse tree. Regardless of the particular parsing technique used by the parse tree engine 122, the resulting parse tree data structure generated by the parse tree engine 122 based on its analysis of the medical text provides a structural representation of a portion of the textual content of the medical text (e.g., a sentence in the medical text). The parse tree provides a hierarchical visualization of the portion of the textual content (e.g., a sentence) and allows inference of relationships between tokens (i.e., words or phrases that correspond to the nodes of the parse tree).
[0059] The hypothesis span analyzer 124 implements a hybrid technique for searching the parse tree data structure for tokens that match the ignore or confirm triggers specified in the hypothesis dictionary data structure 127 (ignore triggers) and fact dictionary data structure 128 (confirm triggers). The hypothesis dictionary data structure 127 specifies terms and phrases that indicate hypothesis statements or hypothetical parts of statements. The fact dictionary data structure 128 specifies terms and phrases that indicate fact statements or parts of statements. Again, a hypothesis is something that has not actually happened, such as a specification of an action, event, state or condition, or other possible occurrence that has not actually happened. A fact, on the other hand, is something that has actually happened (i.e., a specification of an event, action, state or condition, or other type of occurrence that has actually happened). In the context of medical texts, assumptions often relate to future plans or possible conditions / outcomes related to the treatment of a patient, which may or may not occur. On the other hand, facts relate to the current or past condition of a patient, current or past procedures performed on the patient, and other patient condition or condition information and event information that has actually occurred.
[0060] For example, the hypothesis dictionary data structure 127 may include an entry that identifies the term "discussed" as an ignore trigger. That is, in the context of this example, the term "discussed" when used in medical text, such as, for example, a patient's EMR, is defined as indicating a possible future event because the term often indicates a physician discussing with a patient possible treatments or possible conditions or states of the patient that have not actually occurred yet (e.g., "I discussed with the patient about performing a nipple-sparing mastectomy"). That is, an instance of the term "discussed" is a trigger to ignore the portion of the medical text associated with the term "discussed." Of course, a large set of ignore trigger terms and phrases, such as, for example, "recommended," "suggested," and "planned," may be identified as indicating assumptions and may be included in the hypothesis dictionary data structure 127.
[0061] Similarly, the fact dictionary data structure 128 may include an entry identifying the term "revealed" as a confirmation trigger. That is, in the context of this example, the term "revealed" when used in medical text, such as a patient's EMR, is defined as indicating an actual patient event, state, or condition that occurred (e.g., "The biopsy revealed the tumor to be malignant"). That is, an instance of the term "revealed" is a trigger for confirming a portion of medical text as relating to a factual statement or a factual portion of a statement. Of course, a large set of confirmation trigger terms and phrases, such as "resulted," "results," and "patient has," may be identified as indicating a factual statement or portion of a statement, and may be included in the fact dictionary data structure 128.
[0062] The hypothesis span analyzer 124 uses the hypothesis dictionary data structure 127 and the fact dictionary data structure 128 to search the parse tree data structure generated by the parse tree engine 122 to identify instances in the parse tree data structure of tokens associated with nodes matching either the ignore trigger or the definite trigger. The parse tree data structure is searched for both sets of triggers, and then a corresponding span of text is identified based on the parse tree and the matching nodes. A span is identified as a subtree of a node that matches a particular trigger. That is, a hypothesis span is the subtree portion of the parse tree data structure that corresponds to a node that matches the ignore trigger. A fact span is the subtree portion of the parse tree data structure that corresponds to a node that matches the definite trigger. In some cases, a fact span may be found within a hypothesis span, in which case it is assigned to a fact portion of the text by extracting the fact span from the hypothesis span and considering it to be associated with the definite trigger. The operations performed by the hypothesis span analyzer 124 are described in more detail below.
[0063] The hypothesis span analyzer 124 identifies the assumptions and fact spans in the parse tree data structure generated by the parse tree engine 122 and provides this information to the medical text annotator 126. The medical text annotator 126 processes the assumption spans to create annotations (metadata) based on subtrees of the parsed medical text that indicate which parts of the medical text are related to assumption statements or assumption parts of statements and which parts of the medical text are related to fact statements or fact parts of statements. The medical text annotator 126 performs noun-verb disambiguation on trigger terms based on a comparison of the tuples found in the assumption spans and their use in the parse tree patterns. In other words, the output of the hypothesis span analyzer 124 is used by the medical text annotator 126 to find ways to deal with the annotations in the assumption spans (e.g., ignore all annotations related to the assumption spans or convert annotations related to the assumption spans to other annotations, etc.). These annotations may be provided in addition to other annotations generated by other annotators operating on the medical text and may be stored in metadata associated with the medical text. This metadata may be stored as a separate but related data structure, or may be stored as part of a data structure that contains medical textual content (e.g., as part of a patient EMR data structure). Of course, once this operation has been performed on a portion of the patient EMR data structure, the operation does not need to be performed again because the metadata specifically identifies which portions of the EMR data structure are assumptions and which portions are different. However, the mechanisms of the example embodiments may be run again on the patient EMR when new content is added to the patient EMR, changes are made to the dictionaries 127-128, etc.
[0064] The resulting annotated medical text data structure may be provided to the cognitive system 100 for use in performing cognitive operations on the medical text. In some exemplary embodiments, these cognitive operations use the assumption / fact annotations to determine how much to weight each portion of the medical text as part of the cognitive operations. For example, in some exemplary embodiments, portions of the medical text associated with assumption annotations in the metadata of the medical text may be essentially ignored by associating a weight of zero with those portions of the medical text, while portions of the medical text associated with fact annotations are given a predefined weight that may be modified by other weights for other aspects of the medical text depending on the particular implementation. In some exemplary embodiments, the metadata itself may include a pruned parse tree representation of the medical text, where the pruned parse tree corresponds to the original parse tree, but subtrees corresponding to assumption spans of text have been removed or pruned from the parse tree, causing the cognitive system to ignore those portions of the medical text when performing its cognitive operations.
[0065] In one exemplary embodiment, the cognitive action performed by cognitive system 100 is a treatment recommendation cognitive action that ignores portions of the medical text that are associated with assumption annotations and bases treatment recommendations only on portions of the medical text that are associated with factual annotations or on portions that are not specifically associated with assumption annotations (e.g., other portions of the medical text that are not associated with either assumption annotations or factual annotations and are therefore indeterminate).
[0066] Of course, while both hypothesis and fact dictionary data structures 127-128 are shown in the illustrated embodiment, the exemplary embodiments do not require both types of data structures to be present in order to perform their operations. Conversely, in some exemplary embodiments, only the hypothesis dictionary data structure 127 may be used such that any portion of the parse tree that does not match an ignore trigger shown in the hypothesis dictionary data structure 127 or that is part of a subtree associated with a node that matches an ignore trigger may be considered relevant to the fact portion of the content. Thus, in this embodiment, only searches are performed for ignore triggers and everything else in the parse tree is considered a fact.
[0067] Thus, the exemplary embodiments provide a mechanism for distinguishing between hypothetical portions of a textual statement and factual portions of a textual statement. Based on this distinction, appropriate annotations are applied to portions of the textual statement, which may then be used to modify cognitive actions taken based on the text. In particular, hypothetical portions of a textual statement may be given relatively less weight or consideration than factual portions of the textual statement, or in some cases may be ignored entirely when taking cognitive actions on the text.
[0068] As mentioned above, the present disclosure can provide certain improvements in the way cognitive systems operate. Such cognitive systems are implemented in one or more data processing systems or computing devices. FIG. 2 is a block diagram of an example data processing system in which aspects of the exemplary embodiments are implemented. Data processing system 200 is an example computer, such as server 104 or client 110 of FIG. 1, in which computer usable code or instructions are located that implement processes for the exemplary embodiments of the present disclosure. In one exemplary embodiment, FIG. 2 represents a server computing device, such as server 104, that implements a cognitive system and a QA system pipeline (such as cognitive system 100 and QA system pipeline 108 shown in FIG. 1) that has been augmented to include additional features of the exemplary embodiments described hereinafter.
[0069] In the illustrated example, data processing system 200 uses a hub architecture that includes a North Bridge and Memory Controller Hub (NB / MCH) 202 and a South Bridge and Input / Output (I / O) Controller Hub (SB / ICH) 204. A processing unit 206, a main memory 208, and a graphics processor 210 are connected to NB / MCH 202. Graphics processor 210 is connected to NB / MCH 202 through an accelerated graphics port (AGP).
[0070] In the illustrated example, a local area network (LAN) adapter 212 connects to the SB / ICH 204. An audio adapter 216, a keyboard and mouse adapter 220, a modem 222, a read-only memory (ROM) 224, a hard disk drive (HDD) 226, a CD-ROM drive 230, a universal serial bus (USB) port and other communication ports 232, and a PCI / PCIe device 234 connect to the SB / ICH 204 through a bus 238 and a bus 240. PCI / PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, whereas PCIe does not. The ROM 224 may be, for example, a flash basic input / output system (BIOS). The HDD 226 and the CD-ROM drive 230 connect to the SB / ICH 204 through a bus 240. The HDD 226 and the CD-ROM drive 230 may use, for example, an integrated drive electronics (IDE) or a serial advanced technology attachment (SATA) interface. A Super I / O (SIO) device 236 connects to the SB / ICH 204.
[0071] An operating system runs on processing unit 206. The operating system coordinates and provides control of various components within data processing system 200 of FIG. 2. The client operating system may be, for example, a commercially available operating system such as Microsoft Windows®. An object-oriented programming system, for example, a Java™ programming system, may run in conjunction with the operating system to provide calls to the operating system from Java™ programs or applications running on data processing system 200.
[0072] Data processing system 200 as a server may be, for example, an IBM® eServer® System p® computer system running the Advanced Interactive Executive (AIX®) or LINUX® operating systems. Data processing system 200 may be a symmetric multiprocessor (SMP) system including multiple processors in processing unit 206. Alternatively, a single processor system may be used.
[0073] Instructions for the operating system, object oriented programming system, and applications or programs are located in a storage device, such as, for example, HDD 226, and loaded into main memory 208 for execution by processing unit 206. Processes for exemplary embodiments of the invention are performed by processing unit 206 using computer usable program code, which is located in a memory, such as, for example, main memory 208, ROM 224, or in one or more of the peripheral devices, such as, for example, 226 and 230.
[0074] A bus system, such as bus 238 or bus 240 shown in FIG. 2, may include one or more buses. Of course a bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. A communications unit, such as modem 222 or network adapter 212, may include one or more devices used to transmit and receive data. A memory may be, for example, main memory 208, ROM 224, or a cache, such as found in NB / MCH 202.
[0075] Those skilled in the art will appreciate that the hardware depicted in Figures 1 and 2 may vary depending on the implementation. Other internal hardware or peripheral devices, such as, for example, flash memory, equivalent non-volatile memory, or optical disk drives, may be used in addition to or in place of the hardware depicted in Figures 1 and 2. Additionally, the processes of the illustrative embodiments may be applied to multiprocessor data processing systems other than the SMP systems described above without departing from the spirit and scope of the present invention.
[0076] Moreover, data processing system 200 may take the form of any of a number of different data processing systems, including a client computing device, a server computing device, a tablet computer, a laptop computer, a telephone or other communications device, or a personal digital assistant (PDA). In some demonstrative embodiments, data processing system 200 may be a portable computing device configured with flash memory to provide non-volatile memory for storing, for example, operating system files and / or user generated data. In essence, data processing system 200 may be any known or later developed data processing system without architectural limitations.
[0077] 3 is an exemplary diagram illustrating the interaction of components of a healthcare cognitive system according to one exemplary embodiment. The exemplary diagram of FIG. 3 illustrates an implementation of a healthcare cognitive system 300 configured to provide treatment recommendations to a patient. However, it should be appreciated that this is merely an example implementation and that other healthcare operations may be implemented in other embodiments of the healthcare cognitive system 300.
[0078] It should further be appreciated that although Figure 3 depicts the patient 302 and user 306 in human form, interactions with and between these entities may occur using computing devices, medical devices, or the like, or a combination thereof, and thus the entities 302 and 306 may actually be computing devices (e.g., client computing devices). For example, the interactions 304, 314, 316, and 330 between the patient 302 and user 306 may occur verbally (e.g., a physician interviewing the patient) and may involve the use of one or more medical or monitoring devices, etc., to gather information that may be input into the healthcare cognitive system 300 as patient attributes 318. The user 306's interaction with the healthcare cognitive system 300 is electronic via a user computing device (not shown), such as client computing device 110 or 112 of FIG. 1, which communicates with the healthcare cognitive system 300 via one or more data communication links and possibly one or more data networks.
[0079] As shown in FIG. 3, according to one exemplary embodiment, a patient 302 provides symptoms 304 of a medical disease or condition to a user 306, such as, for example, a health care worker or technician. The user 306 may interact with the patient 302 through an exchange of questions 314 and responses 316, in which the user gathers more information about the patient 302, the symptoms 304, and the patient's 302 medical disease or condition. Of course, the questions / responses may actually represent the user 306 gathering information from the patient 302 using various medical devices (e.g., blood pressure monitors, thermometers, wearable health and activity monitoring devices associated with the patient, such as, for example, a FitBit®, wearable heart monitors, or any other medical devices that may monitor one or more medical characteristics of the patient 302). In some cases, such medical devices may be medical devices typically used in hospitals or medical centers to monitor the vital signs and medical condition of patients present in a hospital bed for observation or treatment.
[0080] In response, the user 302 submits a request 308 to the healthcare cognitive system 300, such as via a user interface of a client computing device that is configured to allow the user to submit the request to the healthcare cognitive system 300 in a format that the healthcare cognitive system 300 can parse and process. The request 308 may include or be accompanied by information identifying patient attributes 318. These patient attributes 318 may include, for example, an identifier for the patient 302 from which a patient EMR 322 for the patient may be retrieved, demographic information about the patient, symptoms 304, and other relevant information obtained from responses 316 to questions 314, or information obtained from medical devices used to monitor or collect data regarding the condition of the patient 302, etc. Any information about the patient 302 that may be relevant to a cognitive assessment of the patient by the healthcare cognitive system 300 may be included in the request 308 or the patient attributes 318, or both.
[0081] The healthcare cognitive system 300 provides a cognitive system specifically configured to perform implementation-specific healthcare-directed cognitive operations. In the illustrated example, the healthcare-directed cognitive operations are directed to providing treatment recommendations 328 to a user 306 to assist the user 306 in treating a patient 302 based on the patient-reported symptoms 304 and other information about the patient 302 gathered via a question 314 and answer 316 process and / or medical device monitoring / data collection. The healthcare cognitive system 300 operates on the request 308 and patient attributes 318 using information gathered from medical corpus and other source data 326, treatment guidance data 324, and a patient EMR 322 associated with the patient 302 to generate one or more treatment recommendations 328. The treatment recommendations 328 may be provided in a ranked order with associated supporting evidence, which is derived from the patient attributes 318 and data sources 322-326, providing reasoning as to why the treatment recommendations 328 were provided and why they were ranked in the manner that they were.
[0082] For example, based on the request 308 and the patient attributes 318, the healthcare cognitive system 300 may operate on the request to analyze the request 308 and the patient attributes 318 to determine what is being requested and the criteria identified by the patient attributes 318 on which to base the generation of the request, such as by using a QA pipeline type process as described herein, and may perform various operations to generate a query, which is sent to the data sources 322-326 to retrieve data, generate candidate treatment recommendations (or responses to the input questions), and score these candidate treatment recommendations based on supporting evidence found in the data sources 322-326. In the illustrated example, the patient EMR 322 is a patient information repository that collects patient data from various sources (e.g., hospitals, laboratories, doctors' offices, health insurance companies, pharmacies, etc.). The patient EMR 322 stores various information about an individual patient, such as patient 302, in a manner (structured, unstructured, or a mixed structured and unstructured format) that allows the healthcare cognitive system 300 to read and process the information. This patient information may include various demographic information about the patient, personal contact information about the patient, employment information, health insurance information, lab reports, physician reports from clinic visits, hospital charts, medical history information about past diagnoses, symptoms, treatments, prescription information, etc. Based on the patient 302 identifier, the patient's corresponding EMR 322 from this patient repository may be retrieved by the healthcare cognitive system 300 and searched / processed to generate treatment recommendations 328.
[0083] Treatment guidance data 324 provides a knowledge base of medical knowledge that is used to identify possible treatments for a patient based on the patient's attributes 318 and medical history information presented in the patient's EMR 322. This treatment guidance data 324 may be derived from official treatment guidelines and policies issued by medical authorities (e.g., the American Medical Association), widely accepted physician medical and reference texts (e.g., the Physician's Desk Reference), insurance company guidelines, etc. Treatment guidance data 324 may be provided in any suitable form that can be ingested by the healthcare cognitive system 300, including both structured and unstructured formats.
[0084] In some cases, such treatment guidance data 324 may be provided in the form of rules indicating criteria that must be present and / or absent for a particular patient to be eligible for a corresponding treatment to treat a particular symptom or medical disease / condition. For example, treatment guidance data 324 may include a treatment recommendation rule for decitabine treatment indicating that the strict criteria for use of such treatment are that patient 302 is 60 years old or younger, has acute myeloid leukemia (AML), and has no evidence of cardiac disease. Thus, for a patient 302 who is 59 years old, has AML, and has no evidence of cardiac disease in his or her patient attributes 318 or patient EMR, the following treatment rule conditions exist: Age <= 60 years = 59 (MET), The patient has AML = AML(MET), and Heart disease = false (MET)
[0085] Since the particular information about the patient 302 meets all of the criteria of the treatment rule, treatment with decitabine is a candidate treatment to be considered for the patient 302. However, if the patient is 69 years old, the first criterion would not be met and treatment with decitabine would not be a candidate treatment to be considered for the patient 302. Based on the ingested treatment guidance data 324, the healthcare cognitive system 300 may identify a subset of candidate treatments by evaluating various possible treatment recommendations, and this subset of candidate treatments is further considered by the healthcare cognitive system 300 by scoring such candidate treatments based on evidential data obtained from the patient EMR 322 and medical corpus and other source data 326.
[0086] For example, a data mining process may be used to mine data from sources 322 and 326 to identify evidential data that supports and / or refutes the applicability of a candidate treatment to a particular patient 302 characterized by the patient's patient attributes 318 and EMR 322. For example, for each of the criteria of a treatment rule, the results of the data mining provide a set of evidence that supports giving the treatment if the criterion is "met" and if the criterion is "not met." The healthcare cognitive system 300 processes the evidence through various cognitive logic algorithms to generate a confidence score for each candidate treatment recommendation that indicates the confidence that the corresponding candidate treatment recommendation will be effective for the patient 302. The candidate treatment recommendations may then be ranked according to their confidence scores and provided to the user 306 as a ranked list of treatment recommendations 328. In some cases, only the highest ranked or final response is returned as the treatment recommendation 328. The treatment recommendation 328 may be provided to the user 306 in a manner such that the underlying evidence evaluated by the healthcare cognitive system 300 may be made accessible, such as via a drill-down interface, so that the user 306 may identify the reason why the treatment recommendation 328 was provided by the healthcare cognitive system 300.
[0087] According to an exemplary embodiment herein, the healthcare cognitive system 300 is augmented to include a medical text ingestion engine 340, which may be, for example, the medical text ingestion engine 120 of FIG. 1. The medical text ingestion engine 340 operates on one or more of the corpora 322-326 of data to ingest the one or more corpora 322-326 and generate an in-memory representation of the medical text that the healthcare cognitive system 300 can use to perform its cognitive operations. The ingestion operation includes analysis of the medical text to identify various features of the medical text, such as parts of speech of various terms and phrases used in the medical text, ontology correlations indicating instances of concepts within the medical text, and other annotations of the medical text to generate metadata annotations that the healthcare cognitive system 300 can use to perform its cognitive operations. Other suitable processing of the corpora 322-326 may also be implemented as part of the ingestion operation, as is generally known for cognitive system ingestion mechanisms.
[0088] According to an exemplary embodiment, the medical text ingestion engine 340 is augmented to include logic for performing analysis to distinguish between hypothetical and factual portions of text in the medical text of one or more corpora 322-326. In one exemplary embodiment, the medical text ingestion engine 340 analyzes the patient EMR 322 to distinguish and annotate between hypothetical and factual portions of text. The resulting annotated medical text may then be used by the healthcare cognitive system 300 to perform cognitive actions, such as treatment recommendations, by giving appropriate weights to the hypothetical and factual portions of text (e.g., a weight of 0 for the hypothetical portions of text and a weight greater than 0 for the factual portions of text).
[0089] For example, the medical text capture engine 340 may retrieve the patient EMR 323 from the patient EMR corpus 322, which may be a patient registry or the like. The textual content of the patient EMR 323 may then be analyzed by the parse tree engine 342 to generate a parse tree data structure representing the textual content. The parse tree data structure includes nodes that represent tokens in the text, where a token is a term or phrase, and the parse tree data structure further includes edges connecting the nodes that represent relationships between the nodes. Additionally, some nodes may represent logical relationships (e.g., AND, OR, ANDNOT, etc.) between portions of the text. As will be discussed hereafter, the nodes may have associated attributes, including part-of-speech attributes, that may be used to aid the analysis in determining whether the node corresponds to an ignore or confirm trigger.
[0090] 3 is illustrated with the patient 302 interacting with a user 306, who may be a healthcare professional, such as a doctor, nurse, physician's assistant, laboratory technician, or any other healthcare worker, although the exemplary embodiment does not require this. Instead, the patient 302 may interact with the healthcare cognitive system 300 directly without needing to interact with the user 306, and the user 306 may interact with the healthcare cognitive system 300 directly without needing to interact with the patient 302. For example, in a first case, the patient 302 may request 308 a treatment recommendation 328 from the healthcare cognitive system 300 directly based on symptoms 304 provided by the patient 302 to the healthcare cognitive system 300. Furthermore, the healthcare cognitive system 300 may actually have logic to automatically pose questions 314 to the patient 302 and receive responses 316 from the patient 302 to assist in collecting data to generate the treatment recommendation 328. In the latter case, the user 306 may act solely on the information previously collected and present in the patient EMR 322 by submitting patient attributes 318 with the request 308 to obtain treatment recommendations in response from the healthcare cognitive system 300. Thus, what is shown in FIG. 3 is merely an example and should not be construed as requiring the particular interactions shown, as many modifications may be made without departing from the spirit and scope of the present disclosure.
[0091] Thus, the exemplary embodiments provide a mechanism for analyzing the natural language content of a document, e.g., a medical text, to identify portions of the text that refer to hypothetical events, states, or conditions, etc., and to distinguish between these assumptions and portions of the text that refer to actual facts. Based on the results of such analysis, corresponding annotations are provided for different portions of the text to identify them as assumptions or facts, and these annotations are then provided for use by the cognitive system in performing its cognitive operations.
[0092] As described above, in some exemplary embodiments, these cognitive operations may include a machine learning model that performs machine learning, such as machine learning to determine appropriate treatment recommendations. For example, as part of the machine learning operations performed by the machine learning model, patient EMRs for multiple patients from a patient registry of a corpus may be retrieved and used to correlate patient attributes and corresponding prescribed treatments. For example, various medical diseases, patient attributes (e.g., age, sex, height, weight, certain test results, etc.), and their corresponding medical practitioner-prescribed treatments, etc., may be identified in the patient EMR and used to generate a machine learning model of treatment recommendations. Such machine learning may correlate these medical diseases, patient attributes, and prescribed treatments and identify other supporting evidence in one or more corpora, including other medical texts, such as guidelines and position papers, to generate confidence in the treatment recommendation correlation.
[0093] For example, Figure 4 is an example of a parse tree data structure representation of an example note composed by a medical professional that may be part of a patient's EMR. In the example shown, the parse tree is for the statement "We discussed the fact that the chemotherapy would most likely put her into menopause and not allow her to have more children."
[0094] The parse tree data structure is provided to a hypothesis span analyzer 344 which analyzes each of the nodes of the parse tree data structure to identify nodes that match the ignore triggers specified by the hypothesis dictionary data structure 347 and the definitive triggers specified by the fact dictionary data structure 348. For example, the hypothesis span analyzer 344 may receive a parse tree data structure for each sentence of the medical text, or, depending on the particular implementation, may receive a parse tree for any size portion of text from the medical text read by the medical text ingestion engine 340. For each node of the parse tree data structure, a determination is made as to whether the tokens of the node correspond to the ignore triggers specified in the hypothesis dictionary data structure 347. If so, the part of speech attribute of the node is compared to the part of speech attribute of the ignore trigger to determine if there is a part of speech match, and if the match is a verb part of speech. If the part of speech attribute of the node is verb and the part of speech of the parent node of the node is verb, then the subtree of the node is selected as an ignore subtree, where the parent node of the node is the root of the ignore subtree.
[0095] To determine if a sentence is passive or active, a check is made against the part-of-speech tag of the parent node; for example, a sentence containing "was recommended" indicates a passive sentence. If the trigger is "recommended," and "recommended" is identified as a verb by the parse tree and its parent node is "was," then the hypothesis subtree starts with "was" instead of "recommended." This is to capture phrases such as "were discussed," where "discussed" is the identified node and "were" is the parent node of the identified node. If both the node and the parent node are not verbs, then a subtree of the node is selected with the node as the root of the ignore subtree.
[0096] The reason this process targets verbs is that some terms or phrases may be used as multiple parts of speech (e.g., both nouns and verbs). In some implementations, however, the hypothesis trigger terms or phrases are more likely to be used as verbs, and thus the identification of verb trigger terms is considered to indicate the hypothesis span of the text. Of course, other implementations may have a more complex analysis of parts of speech and may not depend on whether the parts of speech of node tokens and ignore triggers are verbs.
[0097] For each node in the ignored subtree, a determination is made as to whether the node corresponds to a definite trigger. When a node in the ignored subtree matches a definite trigger, the subtree of that node is selected and its definite subtree is removed from the ignored subtree. The resulting ignored subtree from which any definite subtrees have been removed is returned for annotation with ignore or assumption annotations, while the definite subtree is returned for definite or fact annotation. Trees or subtrees that do not correspond to ignored subtrees in the parse tree data structure may be similarly annotated with definite or fact annotations, or may not otherwise be annotated with definite / ignore annotations, depending on the particular implementation.
[0098] When the part of speech of the node token that matches the ignore trigger is determined to be a noun rather than a verb, additional analysis of other natural language resources corresponding to the node token may be analyzed to generate a confidence score as to whether the node token is considered to indicate a hypothesis. For example, definition information from a dictionary data structure indicating the part of speech of various uses of the token, and tense information for various uses and n-grams, etc. may be analyzed to generate a score of the likelihood that the token indicates a hypothesis span of text and thus matches the ignore trigger. This analysis is performed because the same token may represent both an ignore trigger and a definitive trigger depending on the way the token is used in the text. As an example, consider the term "considering" in the following sentence: (1) "The patient has been strongly considering right prophylactic mastectomy for maximum risk reduction." (2) "The patient has been advised considering right prophylactic mastectomy for maximum risk reduction."
[0099] In sentence 1 above, the term "consider" is an ignore trigger because it describes a hypothetical future possibility that the patient will undergo a preventive mastectomy. In sentence 2 above, the term "consider" is a definite trigger because it describes an actual event that occurred (i.e., a medical professional recommended that the patient have a preventive mastectomy). In sentence 2, noun-verb disambiguation is performed to determine whether an instance of the token "consider" is an ignore or definite trigger based on the part-of-speech and tense information associated with the token and the part-of-speech and tense information in the dictionary.
[0100] The n-grams used to disambiguate these two sentences will be different, i.e. <noun> <adverb>think about <noun-procedure>and <noun> <verb>think about <noun-procedure>Since the first sentence matches a tuple in the training set, sentence 1 will be identified as the hypothesis, whereas sentence 2 will not be identified.
[0101] Returning to Figure 4, the sentence corresponding to the parse tree 400 shown in Figure 4 illustrates a simple example of a sentence with an ignore trigger and a corresponding ignore subtree that does not include an embedded definite subtree. As shown in Figure 4, a node 402 with the token "considered" matches a corresponding ignore trigger in the hypothesis dictionary data structure 347. Taking this node 402 as the root node of the ignore subtree that includes the child nodes of node 402, the hypothesis span analyzer 344 searches the ignore subtree for any definite trigger matches in siblings or children of the "considered" node 402, which in this example do not exist. As a result, the entire tree 400 rooted by the "considered" node 402 is selected as an ignore subtree and flagged for annotation by the medical text annotator 346 with ignore or hypothetical annotations.
[0102] The annotated ignored subtree 400 may then be processed by the healthcare cognitive system 300 to perform a cognitive action with appropriate weighting given to the ignored subtree 400. In some exemplary embodiments, the weighting includes ignoring the ignored subtree 400 when performing the corresponding cognitive action. In some exemplary embodiments, the cognitive action is a machine learning action performed by a machine learning model of the healthcare cognitive system used for treatment recommendation. In some exemplary embodiments, the cognitive action is an action of providing a treatment recommendation for a user request (such as user request 308 of FIG. 3). In other exemplary embodiments, other cognitive actions may be performed that may affect the plausibility, confidence, or reliability attributed to the hypothetical span of text based on the assumption (or ignorance) annotations and factual (or confirmation) annotations generated by the mechanisms of the exemplary embodiments.
[0103] 5 is another example of a parse tree data structure for a sentence in which nodes corresponding to ignore triggers are disambiguated according to one exemplary embodiment. As shown in FIG. 5, the parse tree 500 corresponds to the statement "Undergoing a nipple-sparing mastectomy results in an insensate nipple with an up to 15% risk for partial nipple necrosis." When looking at the parse tree 500 for this sentence, it can be seen that the term "results in" is a phrase that captures all tokens that may be in the hypothesis span, which is generalizable enough without resulting in any erroneous annotations in other cases.
[0104] Comparing each token of each node of the parse tree 500 with the ignore triggers of the hypothesis dictionary data structure 347, node 502 is correctly identified as matching the ignore trigger, but in this example, the token is associated with the part of speech of "noun". Therefore, the token corresponding to node 502 is disambiguated based on lexical, tense, n-gram, ontology information, and the like. Disambiguation attempts to match the features of the token of node 502 with other parts of the sentence (i.e., other parts of the subtree of node 502 for disambiguating the linguistic use of the token). For example, the definition of the term(s) of the token may be compared with other parts of the sentence to determine whether the definition matches other parts of speech of other parts of the sentence.
[0105] For example, taking the subtree of node 502, the corresponding sentence is "A nipple-sparing mastectomy results in an insensate nipple." The corresponding dataset or n-gram of tuples showing the part-of-speech pattern of the above sentence and the corresponding tuple with the medical tailored ontology are as follows: <noun> <verb> <noun>(This is a straight sentence parsing tuple) Here is the medicine tailored ontology tuple: <noun-procedure> <verb> <noun-body-part>(This is the sentence parsing tuple tuned for the domain)
[0106] The tuples are obtained from the training set. <noun-procedure>matches the sentence "nipple-sparing mastectomy," <noun-body-part>matches "insensitive nipples" and from this dataset of tuples, it is predicted that this trigger is a verb and not a noun (XSG identifies it). Since the sentence matches the tuple, it can be concluded that this trigger must indeed be a verb and not a noun, which can be identified as a hypothetical statement.
[0107] In this example, the dictionary definition of the term "results" that may be used to disambiguate the token of node 502 is: (1) To be caused, occurring, or progressing through an action, situation, premise, etc.; to be an outcome. (2) To conclude or terminate a particular process or matter.
[0108] By analyzing this information, it may be determined that the token "results" in node 502 is used as a verb in this sentence and is therefore considered an ignore trigger indicating a hypothesis span of text. Thus, the subtree of node 502 will be identified as an ignore subtree and may be further analyzed for confirmation triggers as discussed above. That is, the parts of speech are recognized and then the definitions for the term are analyzed. Based on a set of sentence pattern matches, the definitions may help determine that the "trigger" is indeed correct. For this example, one of the sentence patterns includes "noun-outcomes or calculations". The definition of "result" includes the term "outcome". The set of these patterns provided by the subject matter expert will help determine the use of the term, which may be of various parts of speech.
[0109] As another example, consider the sentence "A mastectomy performed had good results." The corresponding tuple or n-gram for this sentence is: <noun> <verb> <adjective> <noun> Here is the medicine tailored ontology tuple: <noun-procedure> <verb-action-past-tense> <noun-outcome calculation>
[0110] Analysis of this tuple, dictionary definitions, ontology information, etc., indicates that this use of the term "result" is a noun, which is not a verb and therefore is not matched as an ignore trigger. If this tuple were not used, the term "result" could be taken as an ignore trigger when it is in fact a fact in this sentence. The matching tuples in this particular sentence are noun:mastectomy, verb:done, verb-action-past-tense:had, and noun-result / computation:good result. From the training set data, we know that this tuple relates to facts, not assumptions. Thus, by finding that this sentence matches this tuple, the mechanism of the exemplary embodiment identifies the term "result" as a definite trigger, not an ignore trigger.
[0111] To identify whether a sentence matches a particular tuple, in some exemplary embodiments, the mechanism of the exemplary embodiment may score the tuples against the sentence. For each tuple pattern, there is a maximum score for the tuple pattern match such that the maximum score is associated with the tuple when all parts of speech are found in the hypothesis span or the natural language content that contains the hypothesis span. Each matched item in the pattern is given a weight, where nouns and verbs have the highest weight, and subjects have the next highest weight. The score for the tuple pattern is the sum of the weighted values for each matched part of the tuple pattern, and when this score is higher than a threshold, it can be determined that the tuple pattern is a sufficient match and the term should be treated as a trigger (e.g., a hypothetical or definite trigger, depending on whether the tuple is for identifying a definite or definite trigger).
[0112] For example, in the above tuple pattern, the weights for the various parts of speech might be: <noun> (2) <verb> (6) <adjective> (1) <noun-procedure>(3)<verb-action past tense>(2) <noun-outcome calculation>(4), which results in a maximum score of 18. The threshold for determining a trigger is weighted highly towards correct parts of speech, so that an example threshold score may be set as 10, such that if a portion of text matches any of the tuple patterns generating a weighted score of 10 or more, it is considered a trigger. When two or more of these tuple patterns match above the corresponding threshold, a trigger determination may be made based on the number of matches.
[0113] Of course, the above process for identifying ignored and determined subtrees may be performed for each portion of text (e.g., each sentence) in the medical text, such that the entire medical text may be analyzed to identify ignored (assumption) and determined (fact) subtrees. The ignored subtrees represent assumed spans, whereas the determined subtrees represent fact spans. These assumed and fact spans may be provided to a medical text annotator (e.g., medical text annotator 346 of FIG. 3), which generates corresponding ignored (assumption) and determined (fact) annotations in the medical text metadata 325 that indicate the corresponding assumed and fact spans in the medical text (e.g., EMR 323). The medical text (e.g., EMR 323) and metadata 325 are returned to the healthcare cognitive system 300 for use in performing cognitive actions.
[0114] In some exemplary embodiments, the identification of the hypothesis spans of text corresponding to the ignored subtrees identified by the mechanism of the exemplary embodiments and the annotation of such hypothesis spans of text may be used to ignore the hypothesis spans when performing machine learning operations to learn the correlation between medical diseases, patient attributes, and treatments. Thus, when the machine learning operations encounter a portion of text annotated as being a hypothesis span of text, the portion of text is ignored and not processed as part of the machine learning operations. In some exemplary embodiments, it may be determined that the hypothesis spans of text, although hypothetical in nature, may still provide some insight into the plausibility of the correlation between medical diseases, patient attributes, and treatments, and instead of ignoring these portions of text, they may be given a relatively smaller weight in the evaluation than other portions of text determined to be related to factual content. Thus, for example, when identifying evidential support for the correlation, the hypothesis spans of text will provide a relatively smaller amount of evidential support for / against the correlation than other portions of text identified to be of a factual nature.
[0115] Similarly, cognitive operations may include actual run-time determination of a treatment recommendation for a particular identified patient, such as that described in the context of FIG. 3 above. In such cases, a similar consideration of the hypothesis span of text may be performed by the healthcare cognitive system 300 when generating the treatment recommendation 328 to be returned to the user 306. That is, depending on the particular implementation, the hypothesis span of text may be ignored or given relatively less weight when evaluating the patient EMR to determine an appropriate treatment based on other evidential information in the corpora 322-326.
[0116] Thus, an arrangement is provided in a data processing system having a processor and at least one memory, where the at least one memory has instructions that, when executed by the processor, configure the processor to perform operations corresponding to one or more of the exemplary embodiments described above. In one exemplary embodiment, these operations include: (1) receiving, by the data processing system, natural language content; (2) analyzing, by the data processing system, the natural language content to generate a parse tree, where the parse tree is a hierarchical representation of the natural language content including nodes corresponding to terms or phrases in the natural language content and edges connecting the nodes; (3) processing, by the data processing system, the parse tree data structure to identify one or more instances of hypothesis triggers in the natural language content, where the hypothesis triggers are terms or phrases that indicate hypothesis statements; and (4) performing, by the data processing system, a cognitive action based on the natural language content, where the cognitive action is performed by giving portions of the natural language content that correspond to the one or more identified instances of the hypothesis triggers a relatively lower weight than other portions of the natural language content.
[0117] In some exemplary embodiments, the operations further include generating, by the data processing system, a hypothesis pruned parse tree data structure by removing one or more subtree data structures of the parse tree data structure that correspond to the one or more instances of the hypothesis trigger, where the cognitive operation is performed based on the hypothesis pruned parse tree data structure. In yet other exemplary embodiments, performing the cognitive operation includes training, by the data processing system, a model of a natural language processing (NLP) system based on the identification of the one or more instances of the hypothesis trigger in the natural language content, and performing, by the NLP system, natural language processing of the natural language content based on the trained model.
[0118] In a further exemplary embodiment, processing the parse tree data structure further includes, for each instance of the hypothesis trigger found in the parse tree data structure, analyzing the hypothesis trigger with the dictionary data structure to determine a part-of-speech attribute of the hypothesis trigger, and using the determined part-of-speech attribute to determine a measure of whether the hypothesis trigger corresponds to the hypothesis statement. Additionally, using the determined part-of-speech attribute to determine a measure of whether the hypothesis trigger corresponds to the hypothesis statement may include generating a tuple representation of a subtree data structure corresponding to the hypothesis trigger, retrieving one or more dictionary definitions of terms present in the hypothesis trigger from the dictionary data structure, and determining a part-of-speech attribute of the hypothesis trigger based on a correlation between the tuple representation of the subtree data structure and the one or more dictionary definitions. In response to a part-of-speech attribute indicating that the hypothesis trigger is a noun, it is determined that the subtree data structure corresponding to the hypothesis trigger is not specified in the hypothesis statement.
[0119] In yet another exemplary embodiment, the NLP system is a treatment recommendation system and the cognitive operations include generating treatment recommendations based on content of the patient's electronic medical record. Further, the data processing system may be a back-end data processing system of the treatment recommendation system.
[0120] In some example embodiments, processing the parse tree data structure further includes processing the parse tree data structure to identify instances of fact triggers, where a fact trigger is a term or phrase that indicates a fact statement. Additionally, this operation may include determining whether a fact subtree exists within the hypothesis subtree and removing the fact subtree from the hypothesis subtree to generate a modified hypothesis subtree before further processing the modified hypothesis subtree.
[0121] FIG. 6A is an example of another parse tree data structure 600 for a sentence, illustrating nodes 604 and connecting edges 606 of the sentence, according to an exemplary embodiment. FIG. 6B is an example table 602 of the parse tree 600 along two traversals. FIG. 6C is an example comparison table 614 of two traversals and their corresponding one-hot encoded vectors in vector table 617 (although only a portion of table 617 is shown). FIGS. 6A-6C are based on the sentence "She is aware that if a nipple sparing mastectomy was performed, there would be no sensation, stimulation, or arousal." There are two assumption triggers in this sentence, one is "if" and the other is "would be." Now consider FIGS. 6A-6C together.
[0122] In an exemplary embodiment, the parse tree 600 includes many nodes 604, such as, for example, an if node 604A, a was node 604B, a would node 604C, a nipple node 604D, a performed node 604E, an a node 604F, a sparing node 604G, and a mastectomy node 604H. All the nodes 604 are connected by edges 606, although some nodes 604 are directly connected to other neighboring nodes 604 (see FIG. 6A ).
[0123] Each table 602 includes rows 608 and columns 610, where the rows 608 include attributes of the nodes 604. Each table 602 represents a traversal, which is a path from a trigger node (such as, for example, if node 604A) to a target node. In an exemplary embodiment, table 602A represents a traversal from if node 604A to make node 604E, and table 602B represents a traversal from if node 604A to mastectomy node 604H. In the exemplary embodiment of tables 602A and 602B, rows 608B and 608F include "part of speech," rows 608C and 608G include "distance," and rows 608D and 608H include "emphasis." In other embodiments, table 602 may include other attributes of node 604, such as, for example, “slot name” (a label associated with the edge 606 between two nodes 604, e.g., “vadj”, “object”, “top”, “subject”, etc.), “horizontal” (the horizontal direction(s) of the resulting edge 606, e.g., right and left), and “vertical” (the vertical direction(s) of the resulting edge 606, e.g., up and down).
[0124] In an exemplary embodiment, rows 608C and 608G indicate the distance from the trigger to the target. For example, in table 602B, if the trigger is node 604A, a distance of "4" may be calculated for mastectomy node 604H. However, in some embodiments, the distance is divided into bins of a predetermined or configurable width or widths. For example, if the bin is two positions wide, the value for node 604H would be "2," and if the bin is four positions wide, the value for node 604H would be "1." This feature may be used in recognition that different sentences may have substantially similar nodes, but the nodes may be at different distances from the trigger. In some embodiments, all non-distance attributes include their respective distances to distinguish at which stage of the traversal they appear. For example, if tree table 602A is created using this implementation, row 608B would be "part of speech; subconj_0; verb_1; verb_2."
[0125] Since tree table 602A represents a traversal from trigger node 604A to target node 604E, columns 610B-610D are arranged in that order. Similarly, since tree table 602B represents a traversal from trigger node 604A to target node 604H, columns 610F-610J are arranged in that order. In addition, tree table 602 may be transformed into consideration table 614. More specifically, consideration table 614 may be created by arranging the values of each traversal in a single row. More specifically, rows 608A-608D of tree table 602A are adjacent to each other in row 608J, and rows 608E-608H of tree table 602B are adjacent to each other in row 608I.
[0126] In an exemplary embodiment, vector table 617 includes vectors 618A and 618B. Vector 618A is the result of one-hot encoding row 608I in study table 614, and vector 618B is the result of one-hot encoding row 608J in study table 614. Vector table 617 is constructed as if the scan that produced rows 608I and 608J was the only scan present in the training data set. Columns 610 thereby represent all unique values present in study table 614 (i.e., all combinations of attribute types and attribute values are represented, although not all columns 610 are shown in FIG. 6C). In doing so, attribute values from study table 614 may be converted to "1" and "0" (e.g., a "mastectomy" vector is [1110111110...] and a "performed" vector is [1101001101...]). In some embodiments, the vector table 617 shown in FIG. 6C does not exist, and instead there is a collection of separate vectors and a separate map of which attribute type / value combinations are in which locations.
[0127] In an exemplary embodiment, rows 608E and 608J indicate whether the corresponding node 604 is highlighted or marked. For simplicity, the "highlighted" nodes 604 in FIG. 6A are marked with an asterisk (*). Highlighting of a particular node 604 in the parse tree 600 is done by a third party (e.g., a human or other machine / algorithm, etc.) to mark a hypothetical span 616A of the parse tree 600. As explained below, the highlighting is done for machine learning and training purposes. Although the parse tree 600 also contains another hypothetical span 616B, only span 616A is highlighted because highlighting both spans 616A and 616B would make the parse tree 600 unusable for training. This is because each node 604 is either in or out of span 616 by its grammatical relationship to a single trigger. When a run of text contains two triggers, a node that is in the span of one trigger cannot be in the span of the other trigger, and vice versa. Alternatively, if it would be beneficial to use span 616B for training, a separate parse tree (not shown) can be created in which only span 616B is emphasized.
[0128] The features of parse tree 600, table 602, consideration table 614, and vectors 618A and 618B allow structured query language (SQL) operations to be performed on parse tree 600. Thus, an inference algorithm running a machine-learned model can recognize occurrences of attribute type / value combinations from traversals encoded in the training set. Optimal labels can then be selected based on the combinations explored by the NLP system.
[0129] Although only two tree tables 602 are shown in Figure 6B and only two corresponding study tables 614 and vectors 618 are shown in Figure 6C, a complete analysis of the parse tree may include many more tables and vectors. A study table 602 may be created for each possible traversal between any trigger and any target of the parse tree 600. A vector 618 may also be created for each possible traversal between any trigger and any target of the parse tree 600.
[0130] FIG. 7 is a flow diagram of a method 700 for finding spans of a parse tree, such as using one of the parse tree data structures 400, 500, and 600 of FIGS. 4, 5, and 6A, respectively. Method 700 begins at step 702. At step 704, a trigger (e.g., a hypothesis trigger) of the parse tree is identified as the starting point, and a tree table is started with the trigger node as the second column (along with the row label) and populated with the attributes of the trigger node. At step 706, each edge originating from the previous node (which in the first iteration will be the trigger node) is traversed to the next adjacent node (which is now the "target node"). At step 708, each target node populates its tree table with its attributes as a column adjacent to the previous node.
[0131] In step 710, each tree table is transformed into a single row of a study table (e.g., as described above with respect to FIG. 6C). In some embodiments, multiple tree tables may be transformed into a single study table in step 710, such as by converting each tree table into a single row and stacking the rows in the study table. A tree table may be from multiple parallel nodes (i.e., nodes with the same distance from the trigger), such as the "that", "chemotherapy", and "and" nodes in FIG. 4, or the "was" and "would" nodes in FIG. 6A. Alternatively, a tree table may be from multiple serial nodes (i.e., nodes along a single traversal from the trigger), such as the "and", "allow", and "she" nodes in FIG. 4, or the "was" and "would" nodes in FIG. 6A.
[0132] Method 700 continues at step 714, where the availability of previously unvisited nodes (e.g., non-tabulated nodes) connected to the previous node is determined. If there are more nodes to be tabulated that are not already tabulated, the corresponding edges are traversed and those non-tabulated nodes become new target nodes. Steps 706-714 are then repeated until all new target nodes (i.e., non-tabulated nodes connected to the trigger) have been tabulated and no more nodes remain to be tabulated. The order in which the parse tree is traversed from the trigger may be determined, for example, by a breadth-first search or a depth-first search.
[0133] Once the nodes have been tabulated, method 700 continues at step 718 where the parse tree is analyzed to determine whether there are any more triggers in the parse tree. If one or more triggers remain (e.g., another hypothesis trigger), method 700 returns to step 704 to create a new span. If not, method 700 ends at step 720.
[0134] Features of method 700 allow a sentence or phrase parse tree to be systematically analyzed to find spans of nodes for a given trigger, such as by one or more modules of medical text ingestion engine 120 (shown in FIG. 1 ). This capability can be used in many different ways. For example, a clinical trial seeking participants may use an NLP processor to select candidates by evaluating their medical history by their ability to separate factual information from hypothetical subjects in the medical history. For another example, if the NLP processor is better able to separate factual information from hypothetical subjects of a question, the speed and accuracy with which the NLP processor can answer natural language questions may be increased. For another example, an NLP processor may analyze sentences and mark triggers and spans therein for use as training material for other learning machines, such as NLP processors. For another example, a social network of connected individuals may be analyzed to find attributes that meet certain criteria, such as which of the user's connections are close relatives (e.g., share a common ancestor within two generations of the user). In such an embodiment, the method of analysis may include a check to see if the node (e.g., a person) has already been analyzed to avoid loops that repeatedly analyze the same node. Additionally, in such an embodiment, the method of analysis may include a search depth limit to stop continuing the search after a certain number of jumps from a user's direct connections. This may be because the longer the chain of connections, the less likely it is that another user is a close relative.
[0135] FIG. 8 is a flow diagram of a method 800 of using parse trees to train a natural language processing (NLP) system to operate, for example, on natural language text. Method 800 may be implemented, for example, using server 104 or medical text ingestion engine 120 (as shown in FIG. 1 but with a span analyzer different from assumption span analyzer 124 discussed above), or both. In an illustrated embodiment, method 800 begins at step 802, where an NLP training machine imports training text, some of which is highlighted and some of which is unhighlighted, and converts the training text into training parse trees at step 804. At step 806, a training study table is created from the training parse tree, for example, by performing method 700 on the training parse tree. In some embodiments, when processing a training parse tree without highlighting, a tree table is created from all possible traversals of the parse tree such that every node-target pair has a tree table. This is because no trigger nodes have been previously identified in the unhighlighted parse trees, but the highlighted parse trees may be treated the same even though they have highlighted trigger nodes. In such an embodiment, the training study table also shows all node-target pairs.
[0136] In the illustrated embodiment, in step 808, a one-hot encoder is trained using the training study tables. Once this training is complete, in step 810, all training study tables are one-hot encoded. In step 812, a projection model (e.g., a deep learning space, such as a nearest neighbor feature space) is generated by analyzing the training one-hot encoded vectors, such as, for example, using principal component analysis (PCA), a generalized Hebbian algorithm, or various deep learning (i.e., neural net) techniques, such as, for example, autoencoding and / or embedding, or a combination thereof. Once this training is complete, in step 814, the training one-hot encoded vectors are processed using the projection model. More specifically, in step 814, only the processed training vectors derived from the stressed parse trees are projected. In step 816, a classifier model is trained using the training projection vectors (i.e., the training vectors derived from the stressed parse trees). Specifically, for example, the "true" mathematical vectors from step 810 can be used as positive training examples, and the "false" mathematical vectors from step 810 can be used as negative training examples. In step 818, the highlighted parse tree may also be classified using a classifier model, such that the NLP learning machine can compare the classification of each node with the highlighting (or lack of highlighting) of each node to see how often they match. The classifier model may then be adjusted to increase the number of matches between the classifications and the highlights. The classifier model is thereby improved through machine learning. This training process is performed with the NLP learning machine offline, and method 800 ends in step 820.
[0137] The features of method 800 allow an NLP learning machine to be trained to find spans (e.g., hypothesis spans) in natural language text. This can be done with a relatively small number of labeled spans and a relatively large number of unlabeled spans, thus increasing the effectiveness of the NLP learning machine compared to using only labeled spans. Of course, unlabeled spans do not require all of the time and effort that labeling spans requires, but the disclosed NLP learning machine (including projection models) can use unlabeled spans to amplify the learning effect from labeled spans. In addition, because there is no clipping of nodes from the initial consideration table creation (i.e., step 806), nodes that are not directly related to known span member nodes (e.g., sibling nodes) are still analyzed. However, because there is a check for highlighting of target nodes and labeling of spans as "true" or "false" later in the process (i.e., step 816), the NLP learning machine can still learn to clip nodes that do not belong to the spans created. Furthermore, this analysis is done without a large number of complex blacklist and whitelist rows that must be created and then maintained. Additionally, when an incomplete blacklist or whitelist or both are provided for clipping, an NLP learning machine trained by method 800 may use its own knowledge of clipping by relying on the context instead of relying on the lists.
[0138] In some embodiments, method 800 further includes step 822. This is indicated by dashed arrows extending from step 810 to step 822 and from step 822 to step 812. In such embodiments, method 800 proceeds through step 822 instead of moving directly from step 810 to step 812. In step 822, feature selection is performed based on an analysis of the labeled spans, such as, for example, a chi-squared analysis or a signal-to-noise ratio analysis or both. Feature selection may indicate which columns of the training encoding vectors are more predictive of the particular problem being solved (e.g., finding the hypothesis or negation span in new unlabeled text). However, feature selection for the hypothesis span may differ from feature selection for the negation span. Thus, feature selection may be further narrowed based on the response sought (e.g., finding the hypothesis span or finding the negation span). Feature selection may allow for removing some of the columns (i.e., parts of the text) because they are considered less predictive of the solution to the problem. For example, certain columns of the training encoding vectors may be removed before training the projection model in step 812 to find the hypothesized spans.
[0139] In this alternative embodiment, feature selection is set before the projection model is trained in step 812. This allows the projection model to be more adapted to the desired response. This may increase accuracy in obtaining results. However, if the desired response changes, it may be necessary to retrain the projection model to better adapt to the new desired response. When the data set used for training is relatively small, retraining may not be a major undertaking. However, when the training data set is large, a more general training approach that does not include step 822 may be beneficial to avoid the need for retraining (although predictions may be less accurate).
[0140] FIG. 9 is a flow diagram of a method 900 of an NLP learning machine operating on natural language text, which starts at step 902. In step 904, the NLP learning machine imports a new set of natural language text (e.g., a sentence), which is converted into a new parse tree. In step 906 (which may be similar to step 806 of FIG. 8), a new study table is created from all possible traversals of the new parse tree, such that every new node-target pair has a table. In step 908 (which may be similar to step 810 of FIG. 8), the new study table is one-hot encoded, and in step 910 (which may be similar to step 814 of FIG. 8), the new encoded vectors are processed using a projection model. In step 912, nodes from the new text are classified as being spans of the desired type, and the NLP learning machine can provide an output, such as an emphasis span, indicating which nodes are members of a span. The method 900 then ends in step 914. Thereby, using method 900, an NLP learning machine can operate online on new text from real-world sources (not shown), for example to determine factual passages from hypothesis passages.
[0141] The description of various embodiments of the present invention is provided for illustrative purposes and is not intended to be exhaustive or limiting to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications or technical improvements to the technology found in the market, or to enable other skilled in the art to understand the embodiments disclosed herein. < / adjective> < / verb> < / noun> < / verb-action-past-tense> < / noun-procedure> < / noun> < / adjective> < / verb> < / noun> < / verb> < / noun-procedure> < / noun> < / verb> < / noun> < / verb> < / noun> < / adverb> < / noun>
Claims
1. 1. A processor-implemented method, the method comprising: Importing a training text with emphasis added, the training text including a first plurality of training nodes; importing an unemphasized training text including a second plurality of training nodes; one-hot encoding the highlighted training text and the unhighlighted training text; training a projection model using the encoded highlighted training text and the unhighlighted training text; processing the encoded highlighted training text with the projection model; and training a classifier model using the processed highlighted training text; importing new text containing a number of new nodes; one-hot encoding the new text; processing the new text using the projection model; and using the classifier model to determine whether one of the new nodes is in a desired class; A method comprising:
2. The one-hot encoding comprises: generating a parse tree having a plurality of nodes; generating a first encoded vector representing a first traversal of the parse tree from a first node to a second node and a second encoded vector representing a second traversal of the parse tree from the first node to a third node; The method of claim 1 , comprising:
3. The method of claim 2, wherein the first node is a trigger node having a first attribute and a second attribute, the second node is a first target node having a third attribute and a fourth attribute, the third node is a second target node having a fifth attribute and a sixth attribute, and the first and second encoded vectors each include values corresponding to a plurality of attributes including the first attribute, the second attribute, the third attribute, the fourth attribute, the fifth attribute, and the sixth attribute.
4. The method of claim 1 , wherein the determined class is a member of a hypothetical text span.
5. The method of claim 1 , further comprising outputting new text with emphasis indicating that each of the plurality of new nodes is in the desired class.
6. The method of claim 1 , further comprising training a one-hot encoder using the highlighted and unhighlighted training text.
7. processing the processed highlighted training text with the classifier model to determine whether each node is in the desired class; comparing said determination of whether each node is in said desired class with said emphasis of each node; tuning the classifier model to increase the number of decisions that are the same as the enhancement; The method of any one of claims 1 to 6, further comprising:
8. Performing feature selection; removing portions of nodes from the encoded highlighted and unhighlighted training text based on the feature selection prior to training the projection model; The method of any one of claims 1 to 7, further comprising:
9. 1. A processor-implemented method of training, the method comprising: Importing a training text with emphasis added, the training text including a first plurality of training nodes; importing an unemphasized training text including a second plurality of training nodes; converting the highlighted training text into a highlighted training review table; converting the unemphasized training text into an unemphasized training review table; training a one-hot encoder using the enhanced training study table and the unenhanced training study table; one-hot encoding each row of the highlighted training study table to generate a highlighted training vector; one-hot encoding each row of the unenhanced training study table to generate an unenhanced training vector; training a projection model using the enhanced training vectors and the unenhanced training vectors; processing the enhanced training vectors with the projection model to generate processed enhanced training vectors; and training a classifier model using the processed stressed training vectors, the classifier model determining whether the node is in a desired class.
10. The step of generating the emphasized training vectors, 10. The method of claim 9, further comprising generating a first encoded vector representing a first traversal from a first node to a second node of a parse tree representing the highlighted training text and a second encoded vector representing a second traversal from the first node to a third node of the parse tree, wherein a first row and a second row of the highlighted training study table correspond to the first traversal and the second traversal.
11. The method of claim 10, wherein the first node is a trigger node having a first attribute and a second attribute, the second node is a first target node having a third attribute and a fourth attribute, and the third node is a second target node having a fifth attribute and a sixth attribute, and the first and second encoded vectors each include values corresponding to a plurality of attributes including the first attribute, the second attribute, the third attribute, the fourth attribute, the fifth attribute, and the sixth attribute.
12. 12. The method of claim 9, wherein the determined class is a member of a hypothesis text span or a member of a fact text span.
13. converting the highlighted training text into a highlighted parse tree for converting the highlighted training study table; converting the unemphasized training text into an unemphasized parse tree for converting the unemphasized training study table; 13. The method of any one of claims 9 to 12, further comprising:
14. processing the processed stressed training vectors with the classifier model to determine whether each node is in the desired class; comparing said determination of whether each node is in said desired class with said emphasis of each node; tuning the classifier model to increase the number of decisions that are the same as the enhancement; 14. The method of any one of claims 9 to 13, further comprising:
15. Performing feature selection; removing columns from the enhanced and unenhanced training vectors based on the feature selection prior to training the projection model; 15. The method of any one of claims 9 to 14, further comprising:
16. 1. A system for finding nodes in a span, the system comprising: A natural language processing learning machine, the natural language processing learning machine including a computing processor; and a memory coupled to the computing processor, the memory including instructions, the instructions being transmitted to the computing processor; Importing a training text with emphasis added, the training text including a first plurality of training nodes; importing an unemphasized training text including a second plurality of training nodes; one-hot encoding the highlighted training text and the unhighlighted training text; training a projection model using the encoded highlighted training text and the unhighlighted training text; processing the encoded highlighted training text with the projection model; and training a classifier model using the processed highlighted training text; importing new text containing a number of new nodes; one-hot encoding the new text; processing the new text using the projection model; and using the classifier model to determine whether one of the new nodes is in a desired class; A system that allows the user to:
17. 17. The system of claim 16, wherein the determined class is a member of a hypothetical text span.
18. The memory is connected to the computing processor.
18. The system of claim 16 or claim 17, further comprising instructions for outputting highlighted new text indicating that each of the plurality of new nodes is in the desired class.
19. 1. A system for finding nodes in a span, the system comprising: A natural language processing learning machine, the natural language processing learning machine including a computing processor; and a memory coupled to the computing processor, the memory including instructions, the instructions configured to cause the computing processor to: importing a training text with emphasis added, the training text including a first plurality of training nodes; importing an unemphasized training text including a second plurality of training nodes; converting the highlighted training text into a highlighted training review table; converting the unemphasized training text into an unemphasized training review table; training a one-hot encoder using the enhanced training study table and the unenhanced training study table; one-hot encoding each row of the highlighted training study table to generate a highlighted training vector; one-hot encoding each row of the unenhanced training study table to generate an unenhanced training vector; training a projection model using the enhanced training vectors and the unenhanced training vectors; processing the enhanced training vectors with the projection model to generate processed enhanced training vectors; training a classifier model using the processed emphasized training vectors, and the classifier model determines whether the node is in a desired class.
20. 20. The system of claim 19, wherein the determined class is a member of a hypothesis text span or a member of a fact text span.
21. A computer program product causing a processor to carry out the steps of the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Text classification method and device
CN107526785A
Autonomous knowledge analyzer
JP2015130194A
Automatic identification and extraction of medical condition and fact from electronic medical treatment record
JP2019049964A
Systems, devices, and methods for automatic detection of feelings in text
US20160321243A1
Hybrid Approach to Handling Hypotheticals in Texts
US20180075011A1
