Feature Extraction with Description Logics Functional Subsumption
Rodrigo de Salvo Braz Dan Roth University of Illinois at Urbana-Champaign
Feature Extraction with Description Logics Functional Subsumption - - PowerPoint PPT Presentation
Feature Extraction with Description Logics Functional Subsumption Rodrigo de Salvo Braz Dan Roth University of Illinois at Urbana-Champaign A conflict ? Most machine learning algorithms use feature vectors as inputs. ? Most data is best
Rodrigo de Salvo Braz Dan Roth University of Illinois at Urbana-Champaign
? Most machine learning algorithms use
feature vectors as inputs.
? Most data is best represented as structured data. ? Feature extraction is the conversion from one to
the other (and may be most of the work).
before person name(“Mohammed Atta”) gender(male) city person date month(April) year(2001) country
Mohammed Atta met with an Iraqi intelligence agent in Prague in April 2001.
meeting participant participant location time name(Iraq) affiliation nationality after word(an) tag(DT) word(intelligence) tag(NN) word(Iraqi) tag(JJ) before before before
after after after country name(“Czech Republic”) name(Prague)
location end begin
Attributes (node labels) Roles (edge labels)
male name(john) name(mary) female tall
A
name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child
child
child spouse
Structured example
male female male child
child
female child male spouse friend name(jenny) female
Human-written feature types
1 1
feature vector
? Typically done in ad hoc fashion: ? Prevents general analysis; ? Prevents Feature Extraction/Learning unified
analysis (e.g. kernels).
? Using a language is tricky ? Type of inference. ? May be intractable if not careful.
participant time nationality meeting country name(Iraq) year(2001) city person date month(April) year(2001) country meeting participant location time name(Iraq) affiliation nationality name(Prague)
Feature type specifications by directed trees Example segment
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse spouse child child male tall female male child child female tall child child
? ? ? ?
Example Feature types
1
2 3
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child
1 3 2
spouse spouse
1
Example Feature types
child
1 3 2
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse
1 1 3 2
spouse
Example Feature types
child
2 3 1
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child
1 3 2
spouse spouse
1
Example Feature types
child
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse child male tall
Example Feature types
Nothing like this in the example!
1 3 2
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse
1 3 2
female male child child
1
Example Feature types
1 2, 3
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse
1 3 2
female tall child child
1
Example Feature types
2, 3 1
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse
1 3 2
female tall child child
1
Example Feature types
male name(john) name(mary) female tall A name(jenny) female name(jill) female name(peter) male age(40) name(margot) spouse friend student child child child child spouse spouse child male tall female male child child female tall child child
1 1 1
Example Feature types
child
spouse child friend spouse male tall female
?A description C subsumes (⊇) a description D if
?Subsumption is tractable.
C D
C = (AND (SOME spouse ANY) (SOME child male)) D = (AND (SOME spouse (SOME student ANY)) (SOME child (AND tall male)) (SOME child female))
name(kelly) female name(carol) friend child child female
(SOME child female) Feature type Example
name(john) child
(AND SOME friend (AND name(carol) SOME child (AND name(kelly) female)) SOME child name(john)) Description of node
name(kelly) female name(carol) friend child child female
(SOME child female) Feature type Example
name(john) child
name(john) Description of node
name(kelly) female name(carol) friend child child female
(SOME child female) Feature type Example
name(john) child
(AND name(kelly) female) Description of node
name(kelly) female name(carol) friend child child female
(SOME child female) (AND name(carol) SOME child (AND name(kelly) female)) Feature type Example
active feature!
name(john) child
Description of node
subject
subject
buy
dentist car dentist name(patricia) car model(accord) purchase
subject
subject
kill
name(JFK) name(castro) name(kennedy) kill
name(schwarzenegger) job governor name(schwarzneger) job actor job
?At core of subsumption algorithm is the
?We simply make that a function call:
(AND kill (SOME object JFK)) (AND (OR kill murder assassinate) (SOME object (OR JFK kennedy “John F. Kennedy” ...)))
?Function is an implicit representation. ?We may incorporate procedural knowledge: ? Typos; ? Similar sounding words; ? Context-sensitive knowledge.
? Feature Description Logics provides an
? Syntax choices render it tractable. ? Allows for FE-learning integrated approaches
? Can be made even more expressive with little