Delta learning system for using expert advice to revise diagnostic expert system fault hierarchies

Abstract: A computer system takes as input an initial fault hierarchy KB 0 and a set of annotated session transcripts C = {〈π j , r j 〉} and is given a specified set of revision operators T = { i } where each  i ∈ T maps a fault hierarchy KB to a slightly different hierarchy  i ( KB ). This revised fault hierarchy  i ( KB ) is called a neighbor of KB , and the set of all neighbors of KB , N( KB )={ i ( KB ) }, is KB 'S neighborhood. The computer system uses T to hill climb from the initial fault hierarchy KB 0 , through successive hierarchies, KB 1 ... KB m , with successively higher empirical accuracies over C. The final hierarchy, KB m , is a local optimum in the space defined by the revision operators. At each stage, to go from a fault hierarchy KB i to its neighbor KB i+1 , the present invention must evaluate KB i ' s accuracy over C, as well as the accuracy of each KB ' ∈ N( KB i ). If any KB ' is found to be more accurate than KB i , this KB * hierarchy becomes the new standard, labeled KB i+1 , and the theory revision process iterates, seeking a neighbor of this KB i+1 , that is more accurate than KB i+1 over the set of examples C , and so forth. Otherwise, if no KB ' is more accurate than KB i , the hill climbing process will return this KB i , and terminate.

Description: Background of the Invention Field of the Invention The present invention relates to a "theory revision" system that identifies a sequence of revisions which produces a theory with highest accuracy and more particularly, to a system that uses a given set of annotated session transcripts and a given set of possible theory-to-theory revision operators to modify a given theory, encoded as a fault hierarchy, to form a new theory that is optimally accurate. Description of the Prior Art Many expert systems use a fault hierarchy to propose a repair for a device based on a set of reported symptoms test values. Unfortunately, such systems may return the wrong repair if their underlying hierarchies are incorrect. A theory revision system uses a set, C, of "labeled session transcripts" (each transcript includes answers to the tests posed by the expert system and the correct repair as supplied by a human expert) to modify the incorrect fault hierarchy, to produce a new hierarchy that will be more accurate. Typical revision systems compare the initial hierarchy, KB , with each of its neighbors in N(KB) = { KB k }, where each KB k is formed from KB by performing a single simple revision, such as deleting a connection between a pair of fault nodes, or altering the order in which some fault nodes are considered. These revision systems will climb from KB to a neighboring KB* ∈ N(KB) if KB *'s empirical accuracy over C is significantly higher than KB 's. ARTIFICIAL INTELLIGENCE, vol. 35, no. 2, June 1988, pages 197-226, XP000052393 GINSBERG A ET AL: 'AUTOMATIC KNOWLEDGE BASE REFINEMENT FOR CLASSIFICATION SYSTEMS' discloses an automatic knowledge base refinement for classification systems. This refinement is carried out (normally for medical diagnosis) by first selecting which given diagnosis is to be refined, refining rules used to arrive at the diagnosis and then incorporating the refinement with the best results in the knowledge base. There are many theory revision systems described in the machine learning literature. They all use the same basic idea of using a set of transformations to convert one theory to another. Most of these systems focus on Horn clause knowledge bases or decision trees. These representations are not particularly suited to deployed application systems. By contrast, the Delta system uses a fault hierarchy representation which is widely deployed. Further, the modifications suggested by existing theory revision systems could result in theories which would be rejected by domain experts. By contrast, the Delta system suggests modifications which preserve the structure of the fault hierarchy, and thus are more likely to be acceptable to domain experts. Finally, these systems assume that the training data (i.e., the annotated session transcripts), used to decide which knowledge base is most accurate, will include answers to all relevant tests. This is not realistic in many standard situations, where each training instance includes only the minimal amount of information required to reach an answer, relative to a particular theory. In contrast, the Delta system is designed to evaluate any theory's accuracy, even with incomplete data. Summary of the Invention The present invention as defined in the appended claims is a computer system, known as Delta, which takes as input an initial fault hierarchy KB 0 and a set of annotated session transcripts C = {〈π j ,r j 〉}, where π j includes the answers to all tests presented to the expert system, and the correct repair r j is supplied by a human expert. The present invention is given a specified set of revision operators T = { j } where each  i ∈ T maps a fault hierarchy KB to a slightly different hierarchy  i ( KB ). This revised fault hierarchy  i ( KB ) is called a neighbor of KB , and the set of all neighbors of KB , N( KB )={ i ( KB )}, is KB 's neighborhood. The present invention uses T to hill climb from the initial fault hierarchy KB 0 , through successive hierarchies, KB 1 ... KB m , with successively higher empirical accuracies over C; the final hierarchy, KB m , is a local optimum in the space defined by the revision operators. At each stage, to go from a fault hierarchy KB k to its neighbor KB i+1 , the present invention must evaluate KB i 's accuracy over C, as well as the accuracy of each KB ' ∈ N( KB k ). If any KB' is found to be more accurate than KB k , this KB* hierarchy becomes the new standard, labeled KB k+1 , and the theory revision process iterates, seeking a neighbor of this KB k+1 , that is more accurate than KB k+1 over the set of examples C , and so forth. Otherwise, if no KB' is more accurate than KB k , the hill climbing process will return this KB k , and terminate. If the labeled session transcripts C = {〈π j ,r j 〉} are complete (that is, each c j ∈ C contains answers to every possible test in KB ) then it is straightforward to evaluate KB's empirical accuracy over C . In practice, however, C is typically incomplete, as each π j contains only a small subset of the test values in KB . The theory revision system of the present invention provides a way of evaluating the empirical accuracy of KB, and each KB' ∈ N( KB ), even when C is incomplete. Brief Description of the Drawings Figure 1 illustrates an overall theory revision task that utilizes the present invention. Figure 2 illustrates the structure of a fault hierarchy ( KB 0 ) used by one embodiment of the present invention. Figure 3 illustrates the EvalKB and EvalNode Subroutines of one embodiment of the present invention. Figure 4 illustrates the AccKB and EvalNode* Subroutines of one embodiment of the present invention. Figure 5 illustrates the PartialMatch and ProbCorrectPath Subroutines of one embodiment of the present invention. Figure 6 illustrates the Delta and ComputeBest Subroutines of one embodiment of the present invention. Figure 7 illustrates the initial KB before and the subsequent KB after hierarchies used by one embodiment of the present invention. Figure 8 illustrates the ComputeNeighborhood and associated Subroutines of one embodiment of the present invention. Figure 9 illustrates the information required by any single step in the theory revision process. Detailed Description of the Invention Figure 1 illustrates the overall theory revision task. Given a knowledge base 11 KB and user feedback (a set of training examples, each a session transcript 12 annotated by a correct answer) a theory revision system 13 produces a new knowledge base KB' which exhibits better performance over the training examples. In more detail, sesssion transcripts 12 are collected after deploying the expert system 14 to field users 15. Each transcript 12 will include answers to the tests requested by the expert system 14 as well as the repair suggested by the expert system 14. When appropriate (such as when the sugggested repair is incorrect), a domain expert 16 will annotate these transcripts to indicate missing tests and appropriate repairs. The theory revision system 13 (such as the present invention) uses these annotated transcripts as training data to suggest revisions to the knowledge base 11. Finally, the domain expert 16 evaluates these revisions to decide whether to incorporate them into the knowledge base 11 which can then be redeployed. Many currently deployed expert systems use a fault hierarchy to propose a repair for a device, based on a set of reported symptoms. Unfortunately, due to modifications of the basic devices, new distribution of faults as the device ages and the installation of new devices, as well as errors in the original knowledge base, these proposed repairs may not always be the correct repair. A "theory revision" system uses a set of "labeled session transcripts" to modify the incorrect fault hierarchy to produce a new hierarchy that is more accurate. As no efficient algorithm is guaranteed to find the globally-optimal hierarchy, many projects implement their theory revision systems as a hill-climbing process that climbs, in a series of steps, to a hierarchy whose accuracy is locally optimal. On each step, each such system computes the empirical accuracy, relative to the given set C of labeled session transcripts, of the current hierarchy KB and each of KB 's "neighbors", N(KB) = {KB k } , where each neighbor KB k ∈ N(KB) is a slight modification of KB . The theory revision system then selects the neighbor KB* ∈ N(KB) with the highest empirical accuracy and if KB *'s accuracy is greater than KB 's, the theory revision process iterates. It then compares this KB* with each of its neighbors and climbs to any neighbor that is better. If the labeled session transcripts C = {〈π j ,r j 〉}, are complete (that is, each c j ∈ C contains answers to every possible test in KB ) then it is straightforward to evaluate KB 's empirical accuracy over C. In practice, however, C is typically incomplete, as each π j contains only a small subset of the test values in KB. The theory revision system of the present invention provides a way of evaluating empirical accuracy of a fault hierarchy and each of its neighbors, relative to a given set of labeled session transcripts, even when the transcripts are incomplete. The following defines the structures of both fault hierarchies and of problem instances and then describes how a fault-hierarchy-based expert system works: by evaluating a hierarchy in the context of an instance to produce a repair. Each fault hierarchy KB = 〈N, E, TS, R, t(·) , r(·) , child(·,·) 〉 is a directed-acyclic forest 〈 N,E 〉, whose nodes, N , represent faults, and whose edges, E , connect faults to subordinate faults. Each node n ∈ N is labeled with a test t(n)=t or t(n)=-t , where t ∈ TS . In addition, each leaf node is also labeled with a "repair", r(n)=r ∈ R . The arcs under each internal node are ordered; child (n,i) refers to the " i th child of n ". To simplify the notation, let the k : N → Z + function map each node to its number of children, and let the 1:N → Z + function map each node to its number of parents. For example, consider the hierarchy shown in Figure 2, where the test associated with the node χ is T χ . Hence, the test associated with the A node is T A , etc. The r χ expression is the repair labeling the associated leaf node χ. Hence, the repair associated with the node D, whose test is T D , is r D . A's children are, in order, C , D and E . Hence child(A, 1)=C, child(A, 2)=D and child(A, 3)=E . Here, k(A) =3. Similarly parent (A, 1) = Z, and 1 (A) = 1. When run, the expert system that uses the KB hierarchy, called S KB , will ask the user a series of questions. These questions correspond to a depth-first, left-to-right, no-backtrack traversal of (part of) the KB structure. Here, S KBo begins at the root, and asks the question associated with that node; here "Is T z true?". If the user answers "yes", S KBo descends to consider Z 's children, in left-to-right order - here next asking "Is T A true?". If the user responds "Yes", S KBo will descend to A's children. If the user answers T C with "No", S KBo will continue to C 's sibling D , and ask about T D . Assuming the user responds "Yes" here, S KBo will return the repair associated with that leaf node, D, here r D . On the other hand, if the user had responded "No" to T D , S KBo would have continued to ask about T E . If this answer was "Yes", S KBo would return r E . Otherwise, if this answer was also "No", S KBo would return the "No-Repair-Found" answer, r i . N.b., S KBo will not then continue to B ; answering T A with "Yes" means the user will only consider tests and repairs under this node. Ignoring the details of the actual user-interaction, each "total problem instance" is an assignment π : TS → {+,-} that maps each test to one of {+,-}, where "+" means the test was confirmed (passed), and "-" means the test was disconfirmed (failed). Given an instance π, S KB will return a repair r ∈ R, written as EVALKB( KB , π) = r. This r is the value returned by EVALNode( root(KB) , π), using the EVALNode subroutine shown in Figure 3, where n root = root(KB) is KB 's root. On calling EVALNode, it is assumed that the test associated with n root has already been confirmed, i.e., that π(t(n root )) = +. This test t ( n root ) is viewed as the symptom or triggering information. S KB only considered using this subtree after it observed this test value. It is also assumed that the root's test has been confirmed when dealing with the Acc KB subroutine defined below. The accuracy of the hierarchy KB for the instance π is where the correct answer to the instance is r cor E R. (This r cor repair is often supplied by a human expert.) In general, such a pair 〈π, r cor 〉 will be referred to as a "labeled (total) problem instance". Over a set of labeled instances (a.k.a. session transcripts) C = {〈π i ,r i 〉} i , KB 's (empirical) accuracy is The average accuracy is this value divided by the number of examples, | C |. These computations assume that S KB is always able to obtain answers to all relevant tests. This is not always true in the theory revision context. Here, the theory revision system may only know some of the required answers. To allow us to consider the results an expert system might produce in such contexts, we use a "partial problem instance" π : TS → {+,-,?} where "π( t ) = ?" means that the value of the test t is not known. Each such partial instance π really corresponds to some total instance π', where certain test values are not observed. To state this more precisely, say that the total problem instance π': TS → {+,-} is a completion of π if π' agrees with π whenever π( t ) is categorical (i.e., is not "?"): π' completes π iff [π( t ) ≠ ? ⇒ π' ( t ) = π( t )] Hence the total instance π T1 = { T Z / +, T A / +, T B / -, T C / -, T D / +, T E / +, T F / - } is a completion of the partial instance π P1 = { T Z / +, T A / +, T B / ?, T C / -, T D / +, T E / ?, T F / ? }. Let Complete(π) = {π': TS → {+,-}| π' completes π} refer to the set of total instances that complete a given partial instance. In general, the probability Pr [π'|π] that the observed partial instance π corresponds to the total instance π'∈ Complete (π) depends on the probability that each unobserved test t (i.e. where π( t ) = "?") has the specified value π'( t ). Here, the probability that the observed π P1 corresponds to the actual total π T1 depends on the probabilities that T B = -, T E = + and T F = -. It will be assumed that these tests are independent (of each other and other context) which means this conditional probability can be expressed in terms of the probability function p:TS→ [0,1], where p ( t ) is the probability that the unobserved test t would succeed, if only it had been run and reported. Notice that each π' ∈ Complete (π) has an associated repair, r π' = EVALKB( KB ,π'); we can therefore use the p (·) values to compute the probability that S KBo will return each r π' , given the observed values π. In general, we will need to compute the probability that S KBo will return the correct repair r cor , Pr [ S KBo returns r cor |π observed]. Using the observation that this quantity corresponds to acc ( KB, 〈π, r cor 〉) when π is a total instance, acc (·,·) can be extended to be this probability value in general (even when π is a partial instance). (The p (·) function is implicit in this acc ( KB, 〈π, r cor 〉) description.) The ACCKB subroutine illustrated in Figure 4 computes this probability for a partial problem instance π. The first step of Acckb is to call the EvalNode* subroutine (Figure 4) which differs from the EvalNode subroutine (Figure 3), in one important way. If the answers for all relevant tests are provided in the training example, the EvalNode* subroutine returns the repair which would be returned by EvalNode (i.e., by S KB ). In this event, AccKB returns 1 or 0 depending on whether EvalNode* has returned the correct repair. However, if EvalNode* encounters a test whose value is not provided in π, it terminates returning the value '?'. In this event, AccKB invokes the PartialMatch subroutine described in Figure 5. At this point it is necessary to introduce the notion of a path in a knowledge base. Let H(KB) be the set of all paths in a knowledge base. Then, a path, h ∈ H(KB), has the same syntax as a training instance, i.e., h = <π, r>, and satisfies the conditions, EvalNode*(root(KB),π) = r ∈ R, and every test in π is reached at least once by EvalNode*. In other words, π is a minimal set of tests and values such that S KB will return the repair r, and removing any single test from π will result in EvalNode* returning '?'. (We do not consider any paths that terminate in r i , "No Repair Found.") For instance, 〈{T Z /+, T A /+, T C /-, T D /+}, r D 〉 is a path of the knowledge base shown in Figure 2, as is 〈{T Z /+, T A /-, T B /+, T E /+}, r E 〉. However, 〈{T Z /+, T A /+, T B /+, T C /-, T D /+}, r D 〉 is not a path (as it includes the extra test T B ), nor is 〈{T Z /+, T A /+, T D /+}, r D 〉 (as it is missing test T B ), nor 〈{T Z /+, T A /-, T C /-, T D /+}, r D 〉 (T A must be + for S KB to return r D ), nor 〈{T Z /+, T A /+, T C /-, T D /+}, r E 〉 (wrong repair). Note that if the same test occurs twice on the same path (two nodes may have the same test, or one's test may be the negation of the other), then the test is mentioned only once in the path; needless to say, the test must have the same result for both nodes. If a fault hierarchy KB is a tree, H(KB) will have exactly as many paths as there are leaf nodes. If KB is not a tree but is a DAG (directed acyclic graph), the number of paths (in the worst case) can be exponential in the number of nodes which have multiple parents (for example, node E in Figure 2). Fortunately, in practice, fault hierarchies tend to have few nodes with multiple parents. Note that H(KB) may have multiple paths which have the same repair, either due to KB being a DAG (as opposed to a tree), or due to more than one leaf node having the same repair. H(KB) can be easily computed by beginning at root(KB) and descending KB in a depth-first fashion and keeping track of the nodes visited. Given a training case c = 〈π,r cor 〉, the PartialMatch algorithm first selects all paths h i = 〈π i ,r i 〉 in H(KB), such that r i = r cor . Then, for each such path, the ProbCorrectPath subroutine (see Figure 5) computes the probability that π will be the same as π i . This is done by comparing each test t in π i with the value of the same test in π and determining the probability, p'(t), that the test is correctly answered. This subroutine uses to refer to the probability of a node succeeding, relative to the partial assignment π. Of course, if t' is the negation of a test, i.e. t '=¬t, then p(t') = p(¬t)=1-p(t) when π( t ') ="?". The ProbCorrectPath algorithm implicitly uses the fault hierarchy KB and the probability information p (·). The following will describe the theory revision task. The main Delta routine (Figure 6) takes as input an initial hierarchy KB 0 and a set of labeled session transcripts, C = { c J }. Delta uses a set of transformations, Θ = { k }, where each  k maps one hierarchy to another. Delta invokes the ComputeNeighborhood subroutine (Figure 8) which considers four classes of revision operators: each Delete par,n revision operator deletes the existing link between the node par and its child node n . Hence, Delete B,E (KB 0 ) is a hierarchy KB 1 that includes all of the nodes of KB 0 and all of its arcs except the arc from B to E . Hence, in KB 1 , child(B, 1) = F . Notice that this deletion implicitly redefines the child(·,·) function. each Add par,n,i revision operator adds a new link between par and n as the i th arc under par. Hence, the hierarchy KB 2 = Add A,F,2 (KB 0 ) includes all of the nodes and arcs in KB 0 and an additional arc from A to F , coming after 〈 A,C 〉 and before 〈 A,D 〉. Hence, in KB 2 , child(A, 1)=C, child(A, 2)=F, child(A, 3)=D and child(A, 4)=E . Notice Delete A,F (Add A,F,2 (KB 0 )) ≡ KB 0 . each Move par1,par2,n,i revision operator both deletes the existing link between par1 and n, and then adds a link from par2 to n , as the i th arc under par2 . Hence, Move par1,par2,n,i (KB) = Add par2,n,i (Delete par1,n (KB)) . each Switch par,n1,n2 revision operator switches the order of the links from par to n1 , and from par to n2 . Notice each Switch n1,n2,par revision operator corresponds to at most two move revision operators. Figure 7 illustrates the effects of applying the revision operator Add A,B,1 to the fault hierarchy, Kb before . Notice that each operator has an associated operator that can undo the effects of the operator. For instance applying the operator Delete A,B to KB after in Figure 7, will restore the fault hierarchy to Kb before . Let N(KB) = { (KB) |  l ∈ T} be the set of KB 's neighbors, which is computed by the ComputeNeighborhood(KB) subroutine shown in Figure 8. This subroutine in turn calls four other subroutines, each of which compute the neighborhood for one operator class (add, delete, move, switch). The CNDeleteLink(KB) subroutine (Figure 8) is the most straightforward: it accumulates all revisions that delete a link between every parent-node/child-node pair in KB. The CNAddLink(KB) subroutine (Figure 8) accumulates all revisions that add a link from any non-leaf node par to any other node n, provided par is not an existing child of n and provided adding this link does not create a cycle in KB. A fault hierarchy is said to have a cycle when its graph structure has a cycle (here there are a set of tests and values such that S KB will never terminate). This acyclicity is confirmed by ensuring that the proposed revision will not result in a link being added from a node to one of its ancestors, as computed by the IsAncestor subroutine (Figure 8). The CNMoveNode(KB) subroutine (Figure 8) accumulates all revisions that move a node n to any possible position under its parent, as well as revisions which move n to any possible positions under a different non-leaf node, provided this does not result in a cycle (Figure 8). The CNSwitchNodes(KB) (Figure 8) subroutine accumulates all revisions that interchange the positions of two child nodes under the same parent. The main Delta routine invokes the ComputeBest subroutine (Figure 6) which uses the set of labeled instances C = {〈π j ,r j } to compute acc(KB, C) and acc(KB', C) for each KB' ∈ N(KB) . It then climbs from KB to a KB* ∈ N(KB) if acc(KB*, C) > acc(KB, C) . The following will describe the theory revision system. Computing KB* implicitly requires obtaining the | C | values of { acc ( KB, c j )} Cj ∈ C to compute acc(KB, C) , and also computing the | C | x |T| values of {acc( i ( KB ), c j )} i,j to compute the |T| values of {acc( i ( KB ), C )} i , and then determining which (if any) of these values exceeds acc(KB , C). One algorithm for this task, would first load in the KB hierarchy, then use this S KB to evaluate KB( π j ) for each (π j ,r j ) ∈ C in sequence to compute first the values of acc(KB, π j ) and then their sum acc(KB,C) = Σ j acc ( KB, 〈 π j ,r j 〉). It would then build KB 1 =  1 ( KB ) by applying the first revision operator  1 to KB, then load in this hierarchy to obtain S KB1 , and once again consider the | C | instances {〈π j ,r j 〉} to compute acc(KB 1 , C) . Next, it would produce KB 2 =  2 ( KB ), and go through all |C| instances to produce acc(KB 2 , C); and so forth, for all || transformations. In essence, this involves sequentially computing each row of the matrix shown in Figure 9. The revision algorithm would then take the largest of these values acc(KB*, C ) = max i {acc (KB i , C) }, and climb to this hierarchy if acc(KB*, C) > acc(KB,C) . The Delta algorithm effectively does the above, but reduces the computations involved by noting that each revision constitutes a very small change, while different training examples constitute a big change. Delta begins by loading S KB and the first example c 1 . It then proceeds to apply the first revision operator  1 ( KB ) and computes the accuracy of  1 (KB) on c 1 . Then it undoes  1 and applies the next operator  2 and proceeds in this manner until all operators have been applied. Finally, it unloads c 1 and loads in the next example c 2 and proceeds similarly. This reduces the computation in loading KB and the c j 's multiple times, without effecting the result. It is not intended that this invention be limited to the software arrangement, or operational procedures shown disclosed. This invention includes all of the alterations and variations thereto as encompassed within the scope of the claims as follows.

Claims: A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies comprising: learning means (13) for adapting a fault hierarchy of the expert system using training example data; expert system (14) means interfaced with said learning means, and capable of receiving input from a domain expert (16), said input including evaluations of said learning means; compile means connected to said expert system means; field user (15) input means for the training example data connected to said compile means; and session transcript (12) means connected between said field user input means and said learning means (13) for use in modifying an incorrect fault hierarchy (KB) to produce a more accurate revised fault hierarchy (KB). A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies as claimed in claim 1 wherein said learning means comprises: ComputeNeighborhood means for computing a set of knowledge bases (11) which are a neighborhood of an initial knowledge base; and, ComputeBest means for computing the optimal knowledge base from the computed neighborhood based on labeled session transcripts (12) provided by said session transcript means. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 2 wherein said ComputeNeighborhood means uses a plurality of revision operators with each of said plurality of revision operators operating on the initial knowledge base within said expert system means (14) to produce the revised knowledge base. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 3 wherein said plurality of revision operators comprises: an add operator (CNAddLink) ; a delete operator (CNDeleteLink); a move operator (CNMoveNode); and, a switch operator (CNSwitchNode). A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 3 or 4 wherein: said plurality of revision operators move through a space of fault hierarchies (KB) with each of said plurality of revision operators mapping one hierarchy to a slightly different hierarchy. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in any of claims 2 to 5, wherein said ComputeBest means uses: AccKB means for computing the accuracy of the knowledge base (11) for a training example, said AccKB means comprising: EvalNode* means for evaluating a node of the knowledge base (11) with respect to an incomplete training example; and PartialMatch means for determining a probability that the specified knowledge base will return a correct repair. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 6 wherein said PartialMatch means further comprises: ProbCorrectPath means for computing the probability that problem instance π which is part of the training example will correspond to a problem instance π i representing one path through the fault hierarchy. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies as claimed in any of the preceding claims including: EvalKB means to evaluate any knowledge base (11) from a neighborhood on a collection of complete training instances by simulating a diagnostic question and answer session. A DELTA learning system for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in any of the preceding claims including: EvalKB means to evaluate any knowledge base from a neighborhood by starting at a root node using previously stored information including questions with answers until evaluation ends with a recommended repair or if no diagnosis can be found, evaluation ends with no repair found. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) by adapting a fault hierarchy (KB) of the expert system using training example data; in which learning means (13) are interfaced with expert system means; said expert system means receiving input from a domain expert (16) including evaluations of said learning means and being connected to compile means connected to field user input means connected to session transcript means (12) which is connected to said learning means, and in which learning comprises the steps of: computing a fault hierarchy neighborhood of an initial fault hierarchy by using a ComputeNeighborhood subroutine; and, computing an optimal fault hierarchy (KB) from the computer fault hierarchy neighborhood based on labeled session transcripts (12) provided by said session transcript means utilizing a ComputeBest subroutine. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies as claimed in claim 13 wherein computing a fault hierarchy neighborhood comprises the step of: utilizing a plurality of revision operators with each of said plurality of revision operators operating on a knowledge base within said expert system means and producing a revised knowledge base. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 14 wherein utilizing a plurality of revision operators comprises the steps of: utilizing an add operator; utilizing a delete operator; utilizing a move operator; and, utilizing a switch operator. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 11 or 12 wherein utilizing a plurality of revision operators comprises the step of: moving through a space of fault hierarchies (KB) with each of said plurality of revision operators mapping one fault hierarchy to a slightly different hierarchy. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 11, 12 or 13 wherein said step of computing the optimal fault hierarchy further comprises the steps of: computing the empirical accuracy of the fault hierarchy (KB) for a training example, said step of computing further comprising the steps of evaluating the fault hierarchy with respect to the training example and returning a repair, and selecting all paths in the fault hierarchy. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 14 including evaluating said fault hierarchy by simulating a diagnostic session. A computer-implemented learning method for using expert advice to revise diagnostic expert system fault hierarchies (KB) as claimed in claim 14 including evaluating said fault hierarchy by starting at a root node and asking questions; and, attaching answers to said questions to a node until evaluation ends with a recommended repair.

Inventors: DRASTAL GEORGE A, GREINER RUSSELL, RAO R BHARAT, DRASTAL, GEORGE A., GREINER, RUSSELL, RAO, R. BHARAT
Applicants: SIEMENS CORP RES INC, SIEMENS CORPORATE RESEARCH, INC.
Application year: 1997
Main classification: G06F9
IPC codes: G06N5