660 likes | 770 Views
Finding Semantic Matches Between Conceptual Graphs. Peter Yeh May 14, 2002. Talk Outline. Motivation. Matching. Rewrite Rules. Matching in a KB. Elaboration. Applications. Future Work. Related Work. Motivation.
E N D
Finding Semantic Matches Between Conceptual Graphs Peter Yeh May 14, 2002
Talk Outline • Motivation. • Matching. • Rewrite Rules. • Matching in a KB. • Elaboration. • Applications. • Future Work. • Related Work.
Motivation • Goal: Develop a matcher which can determine if two concepts are semantically alike. • Problem: Discrepancies in representation. "John's hand is in a jar filled with cookies."
Motivation • Why: A good semantic matcher has many useful applications • Rule Base: A rule firing requires a match of the consequent or antecedent. • Knowledge Acquisition: Locating relevant pieces of prior knowledge to accelerate knowledge entry. • Knowledge-Based IR: Retrieve information based on semantics. • Pattern Completion: Locate relevant pieces of knowledge to elaborate a user's concept.
Pattern Completion KB User Input
Pattern Completion A piece of prior knowledge from the KB. User Input KB
Pattern Completion The result from elaborating the user’s input
Talk Outline • Motivation. • Matching. • Rewrite Rules. • Matching in a KB. • Elaboration. • Applications. • Future Work. • Related Work.
Matching • Problem: Given two concepts, are they semantically similar? • Formally, Given: C1: A concept. C2: A concept. c: A match criterion. C1 and C2 semantically match iff C1 C2 and c is satisfied.
Matching (cont.) • A part of C1 and C2 intersect iff xx', yy', and rr'. • The general problem is called subgraph morphism in the literature and is NP complete. • We are matching labeled type graphs which is polynomial. However, the matching problem is embedded within other problems. C1 C2 I .
Match Criterion • C1 and C2 intersecting is not enough. The match criterion must also be satisfied. • Match criterion defines what type of match is being performed. • Criterions: • Exact match: C1 is either isomorphic to or a subgraph of C2. • Auto-Classification: The necessary conditions of C1 is a subgraph of C2 and the root of C1 subsumes the root of C2. • Similarity match: The intersection of C1 and C2 is not empty.
Talk Outline • Motivation. • Matching. • Rewrite Rules. • Matching in a KB. • Elaboration. • Applications. • Future Work. • Related Work.
Rewrite Rules • We need rewrite rules to handle discrepancies between two representations of the same piece of information. • Rewrite rules are of the form LHS RHS. • The LHS and RHS are closely coupled. As a result, a rewrite affects only that part of a concept which is an instantiation of the LHS. • We envision two types of rewrites: • Sound rewrite rules. • Heuristic rewrite rules.
Sound Rewrite Rules • Sound rewrites are universally true. • They are semantics preserving. • They exploit the meta-properties of relations: • transitivity, symmetry, and reflexivity. • part ascension and covers rule. • Our current set of rewrites is not exhaustive. • The methodology we use to populate our library of rewrites is • Identify a pattern. • Exhaustively fill out the pattern with all valid instantiations. • Generalize when possible.
Sound Rewrites: Transitivity • Transitivity. • 21 of our 97 relations are transitive.
Sound Rewrites: Symmetry • Symmetry. • 6 of our 97 relations are symmetric.
Sound Rewrites: Part Ascension • Part Ascension. • The set S of part-onomic relations is: • is-part-of • subevent-of • is-region-of
Sound Rewrites: Covers • Transitivity and part ascension fit a more general pattern that we call the covers rule.
Sound Rewrites: Some More Covers Rule An excerpt of some of the covers rule from our rewrite library.
Sound Rewrites: Some Statistics on Covers r r’ • We have 97 relations in our slot language* • Total number of valid xyz combinations where the range of r and the domain of r’ are the same is 2137. • Total number of valid xyz combinations where y is within the range z is 791. • Total number of covers rule is 210. • Percentages • range of r and domain of r’ the same: 9.8% • y within the range of z: 26.5% r r’
Sound Rewrites: Complex Rules • Sound rewrites can also capture complex relationships. • For example:
Sound Rewrites: Complex Rules • The representation of the previous example • This is an instantiation of the rewrite rule:
Incorporating Rewrites • With the introduction of rewrites, the match problem is redefined as: Given: C1: A concept. C2: A concept. R: A set of rewrites. c: match criterion. C1 and C2 semantically match iff by C1* C1', C1' semantically matches C2 where r R. r
An Example “A Man who blows up a trailer attached to the bumper of a car that he owns, which also has a chassis and a wheel, will cause the car to become detached.” c: Exact match
An Example: Intersection Intersection of C1 and C2.
An Example: Transitivity Applying the Transitivity rule.
An Example: Part Ascension Applying Part Ascension.
An Example: Covers defeated-by covers caused-by
An Example: Match Completed Intersection of C1 and C2 is not empty and c is satisfied
Heuristic Rewrite Rules • Heuristic rewrites differ from sound rewrites in only one way. They are not universally true. • Whether or not they hold depends on the semantics of the things involved. • Example:
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” c: Exact match. “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Apply the rule: “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Apply the rule again: “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Assume additional information about the Cable and Pedal was defined. “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Heuristic Rewrite: instrument covers is-part-of “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Heuristic Rewrite: instrument covers has-part “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Pete’s Rudder Example “The Pilot moved the rudder with the pedal.” Match between the input and the prior “The pilot pressed the pedal which causes the cable to be pull which in turn caused the rudder to move.”
Talk Outline • Motivation. • Matching. • Rewrite Rules. • Matching in a KB. • Elaboration. • Applications. • Future Work. • Related Work.
Matching in a KB • In general, we are given a concept and an existing KB. • Problem: Given a concept, find all the applicable concepts from the KB by applying the match test to each candidate. • Formally, Given: P: Prior Knowledge. I: Given concept. t: A minimum threshold. c: A match criterion. Find: A subset P' P where for all p P', p and I semantically match and match-score(I, p) t.
Controlling Search • We must look through the KB to find the relevant concepts. • This is very expensive. • Possible Solution: Index the prior knowledge in some fashion so the entire KB does not need to be examined (work in progress). • SMEs can help by: • selecting the most relevant piece of knowledge from a set of matches. • picking a starting point to search from. • providing a set of candidates to match.
Talk Outline • Motivation. • Matching. • Rewrite Rules. • Matching in a KB. • Elaboration. • Applications. • Future Work. • Related Work.
Elaboration • Problem: Given a user concept and a relevant prior, how can the two be overlaid s.t. the prior meaningfully elaborates the user concept. • More specifically, • We're aiming for a semi-automated approach to elaboration where the system suggests I' and the user can accept or modify I'. Given: I: user graph p: An applicable prior knowledge Generate: A new graph I' = I ° p.
An Example of Elaboration p: Description of Bioremediation entered by a SME. I: Definition of Conversion from the KB.
An Example of Elaboration I’ = I ° p Initial composition of bioremediation and conversion.