95
Concept Hierarchy Induction by Philipp Cimiano

Concept Hierarchy Induction by Philipp Cimiano

  • Upload
    gaston

  • View
    31

  • Download
    0

Embed Size (px)

DESCRIPTION

Concept Hierarchy Induction by Philipp Cimiano. Objective. Structure information into categories Provide a level of generalization to define relationships between data Application: Backbone of any ontology. Overview. Different approaches of acquiring conceptual hierarchies from text corpus. - PowerPoint PPT Presentation

Citation preview

Page 1: Concept Hierarchy Induction by Philipp Cimiano

Concept Hierarchy Inductionby Philipp Cimiano

Page 2: Concept Hierarchy Induction by Philipp Cimiano

Objective

Structure information into categories

Provide a level of generalization to define relationships between data

Application: Backbone of any ontology

Page 3: Concept Hierarchy Induction by Philipp Cimiano

Overview

Different approaches of acquiring conceptual hierarchies from text corpus.

Various clustering techniques. Evaluation Related Work Conclusion

Page 4: Concept Hierarchy Induction by Philipp Cimiano

Machine Readable Dictionaries

Entries: ‘a tiger is a mammal’, or ‘mammals such as tigers, lions or elephants’.

exploit the regularity of dictionary entries.

the head of the first NP - hypernym.

Page 5: Concept Hierarchy Induction by Philipp Cimiano

Example

Page 6: Concept Hierarchy Induction by Philipp Cimiano

Exception

Page 7: Concept Hierarchy Induction by Philipp Cimiano

Exception

is-a (corolla, part)………..is a NOT VALID

is-a (republican, member) ……….. is a NOT VALID

is-a (corolla, flower)………..is a NOT VALID

is-a (republican, political party)………..is a NOT VALID

Page 8: Concept Hierarchy Induction by Philipp Cimiano

Exception

Page 9: Concept Hierarchy Induction by Philipp Cimiano

Alshawis solution

Page 10: Concept Hierarchy Induction by Philipp Cimiano

Results using MRDs

Dolan et al. - 87% of the hypernym relations extracted are correct

Calzolari cites a precision of > 90%

Alshawi - precision of 77%

Page 11: Concept Hierarchy Induction by Philipp Cimiano

Strengths And Weaknesses

Correct, explicit knowledge

Robust basis for ontology learning

Weakness- domain independent

Page 12: Concept Hierarchy Induction by Philipp Cimiano

Lexico-Syntactic patterns

Task: automatically learning hyponym relations from the corpora.

'Such injuries as bruises, wounds and broken bones'

hyponym (bruise, injury)

hyponym (wound, injury)

hyponym (broken bone, injury)

Page 13: Concept Hierarchy Induction by Philipp Cimiano

Hearst patterns

'Such injuries as bruises, wounds and broken bones'

Page 14: Concept Hierarchy Induction by Philipp Cimiano

Requirements

Occur frequently in many text genres.

Accurately indicate the relation of interest.

Be recognizable with little or no pre-encoded knowledge

Page 15: Concept Hierarchy Induction by Philipp Cimiano

Strengths And Weaknesses

Identified easily and are accurate

Weakness: patterns appear rarely is-a relation do not appear in Hearst style

pattern

Page 16: Concept Hierarchy Induction by Philipp Cimiano

Distribution Similarity

'you shall know a word by the company it keeps’ [Firth, 1957].

semantic similarity of words – similarity of the contexts.

Page 17: Concept Hierarchy Induction by Philipp Cimiano
Page 18: Concept Hierarchy Induction by Philipp Cimiano

Using distribution similarity

Page 19: Concept Hierarchy Induction by Philipp Cimiano

Strengths And Weaknesses

reasonable concept hierarchy.

Weakness: Cluster tree lacks clear and formal interpretation Does not provide any intentional description of

concepts Similarities may be accidental (sparse data)

Page 20: Concept Hierarchy Induction by Philipp Cimiano

Formal Concept Analysis (FCA)

Page 21: Concept Hierarchy Induction by Philipp Cimiano
Page 22: Concept Hierarchy Induction by Philipp Cimiano

FCA output

Page 23: Concept Hierarchy Induction by Philipp Cimiano

Similarity measures

Page 24: Concept Hierarchy Induction by Philipp Cimiano

Smoothing

Page 25: Concept Hierarchy Induction by Philipp Cimiano

Evaluation

Semantic cotopy (SC).

Taxonomy overlap (TO)

Page 26: Concept Hierarchy Induction by Philipp Cimiano

Evaluation Measure

Page 27: Concept Hierarchy Induction by Philipp Cimiano

100% Precision Recall

Page 28: Concept Hierarchy Induction by Philipp Cimiano

Low Recall

Page 29: Concept Hierarchy Induction by Philipp Cimiano

Low Precision

Page 30: Concept Hierarchy Induction by Philipp Cimiano

Results

Page 31: Concept Hierarchy Induction by Philipp Cimiano

Results

Page 32: Concept Hierarchy Induction by Philipp Cimiano

Results

Page 33: Concept Hierarchy Induction by Philipp Cimiano

Results

Page 34: Concept Hierarchy Induction by Philipp Cimiano

Strengths And Weaknesses

FCA generates formal concepts Provides intentional description

Weakness: Size of the lattice can get exponential in the size spurious clusters Finding appropriate labels for the cluster

Page 35: Concept Hierarchy Induction by Philipp Cimiano

Problems with Unsupervised Approaches to Clustering

Data sparseness leads to spurious syntactic similarities

Produced clusters can’t be appropriately labeled

Page 36: Concept Hierarchy Induction by Philipp Cimiano

Guided Clustering

Hypernyms directly used to guide clusteringWordNetHearst

Agglomerative clustering

Page 37: Concept Hierarchy Induction by Philipp Cimiano
Page 38: Concept Hierarchy Induction by Philipp Cimiano

Similarity Computation

Ten most similar terms of the tourism reference taxonomy

Page 39: Concept Hierarchy Induction by Philipp Cimiano

The Hypernym Oracle

Three sourcesWordNetHearst patterns matched in a corpusHearst patterns matched in the World Wide

Web Record hypernyms and amount of

evidence found in support of hypernyms.

Page 40: Concept Hierarchy Induction by Philipp Cimiano

WordNet

Collect hypernyms found in any dominating synset containing term, t

Include number of times the hypernym appears in a dominating synset

Page 41: Concept Hierarchy Induction by Philipp Cimiano

Hearst Patterns (Corpus)

Record number of isa-relations found between two terms

Page 42: Concept Hierarchy Induction by Philipp Cimiano

Hearst Patterns (WWW)

Download 100 Google abstracts for each concept and clue:

Page 43: Concept Hierarchy Induction by Philipp Cimiano

Evidence

Total Evidence for Hypernyms:

•time: 4

•vacation: 2

•period: 2

Page 44: Concept Hierarchy Induction by Philipp Cimiano

Clustering Algorithm

1. Input a list of terms

2. Calculate the similarity between each pair of terms and sort from highest to lowest

3. For each potential pair to be clustered consult the oracle.

Page 45: Concept Hierarchy Induction by Philipp Cimiano

Consulting the Oracle case 1

If term 1 is a hypernym of term 2 or vice-versa:Create appropriate subconcept relationship.

Page 46: Concept Hierarchy Induction by Philipp Cimiano

Consulting the Oracle case 2

Find the common hypernym for both terms with greatest evidence.

If one term has already been classified:

t’ = h h is a hypernym of t’ t’ is a hypernym of h

Page 47: Concept Hierarchy Induction by Philipp Cimiano

Consulting the Oracle case 3

Neither term has been classified:Each term becomes a subconcept of the

common hypernym.

Page 48: Concept Hierarchy Induction by Philipp Cimiano

Consulting the Oracle case 4

The terms do not share a common hypernym:Set aside the terms for further processing.

Page 49: Concept Hierarchy Induction by Philipp Cimiano

r-matches

For all unprocessed terms, check for r-matches (i.e. ‘credit card’ matches ‘international credit card’)

Page 50: Concept Hierarchy Induction by Philipp Cimiano

Further Processing

If either term in a pair is already classified as t’, the other term is classified under t’ as well.

Otherwise place both terms under the hypernym of either term with the most evidence.

Any unclassified terms are added under the root concept.

Page 51: Concept Hierarchy Induction by Philipp Cimiano
Page 52: Concept Hierarchy Induction by Philipp Cimiano

Evaluation

Taxonomic overlap (TO) ignore leaf nodes

Sibling overlap (SO)measures quality of clusters

Page 53: Concept Hierarchy Induction by Philipp Cimiano

Evaluation

Tourism domain:Lonely PlanetMecklenburg

Finance domain:Reuters-21578

Page 54: Concept Hierarchy Induction by Philipp Cimiano

Tourism Results—TO

Page 55: Concept Hierarchy Induction by Philipp Cimiano

Finance Results—TO

Page 56: Concept Hierarchy Induction by Philipp Cimiano

Tourism Results—SO

Page 57: Concept Hierarchy Induction by Philipp Cimiano

Finance Results—SO

Page 58: Concept Hierarchy Induction by Philipp Cimiano

Human Evaluation

Page 59: Concept Hierarchy Induction by Philipp Cimiano

Future Work

Take word sense into consideration for the WordNet source.

Page 60: Concept Hierarchy Induction by Philipp Cimiano

Summary

Hypernym guided agglomerative clustering works pretty good.Better than the “Golden Standard”Good human evaluation

Provides labels for clusters No spurious similarities Faster than agglomerative clustering

Page 61: Concept Hierarchy Induction by Philipp Cimiano

Learning from Heterogeneous Sources of Evidence

Many ways to learn concept hierarchies Can we combine different paradigms?

Any manual attempt to combine strategies would be ad hoc

Use supervised learning to combine techniques

Page 62: Concept Hierarchy Induction by Philipp Cimiano

Determining relationships with machine learning Example: Determine if a pair of words has

an “isa” relationship

Page 63: Concept Hierarchy Induction by Philipp Cimiano

Feature 1:Matching patterns in a corpus Given two terms t1 and t2 we record how

many times a Hearst-pattern indicating an isa-relation between t1 and t2 is matched in the corpus

Normalize by maximum number of Hearst patterns found for t1

Page 64: Concept Hierarchy Induction by Philipp Cimiano

Example

This provided the best F-measure with a single-feature classifier

Page 65: Concept Hierarchy Induction by Philipp Cimiano

Feature 2:Matching patterns on the web Use the Google API to count the matches

of a certain expression on the Web

Page 66: Concept Hierarchy Induction by Philipp Cimiano

Feature 3:Downloading webpages Allows for matching expressions with a more

complex linguistic structure Assign functions to each of the Hearst patterns to

be matched Use these “clues” to decide what pages to

download

Download 100 abstracts matching the query “such as conferences”

Page 67: Concept Hierarchy Induction by Philipp Cimiano

Example

Page 68: Concept Hierarchy Induction by Philipp Cimiano

Feature 4:WordNet – All senses Is there a hypernym relationship between

t1 and t2? Can be more than one path from the

synsets of t1 to the synsets of t2

Page 69: Concept Hierarchy Induction by Philipp Cimiano

Feature 5:WordNet – First sense Only consider the first sense of t1

Page 70: Concept Hierarchy Induction by Philipp Cimiano

Feature 6:“Head”- heuristic If t1 r-matches t2 we derive the relation

isa(t2,t1) e.g.

t1 = “conference”

t2 = “international conference”

isahead(“international conference”,”conference”)

Page 71: Concept Hierarchy Induction by Philipp Cimiano

Feature 7:Corpus-based subsumption t1 is a subclass of t2 if all the syntactic

contexts in which t1 appears are also shared by t2

Page 72: Concept Hierarchy Induction by Philipp Cimiano

Feature 8:Document-based subsumption t1 is a subclass of term t2 if t2 appears in

all documents in which t1 appears

# of pages where t1 and t2 occur

# of pages where t1 occurs

Page 73: Concept Hierarchy Induction by Philipp Cimiano

Example

Page 74: Concept Hierarchy Induction by Philipp Cimiano

Naïve Threshold Classifier

Used as a baseline Classify an example as positive if the

value of a given feature is above some threshold t

For each feature, the threshold has been varied from 0 to 1 in steps of 0.01

Page 75: Concept Hierarchy Induction by Philipp Cimiano

Baseline Measures

Page 76: Concept Hierarchy Induction by Philipp Cimiano

Evaluation

ClassifiersNaïve BayesDecision TreePerceptronMulti-layer perceptron

Page 77: Concept Hierarchy Induction by Philipp Cimiano

Evaluation Strategies

Undersampling Remove a number of majority class examples (non-isa

examples)

Oversampling Add additional examples to the minority class

Varying the classification threshold Try different threshold values other than 0.5

Introducing a cost matrix Different penalties for different types of misclassification

One Class SVMs Only considers positive examples

Page 78: Concept Hierarchy Induction by Philipp Cimiano

Results

Page 79: Concept Hierarchy Induction by Philipp Cimiano

Results (cont.)

Page 80: Concept Hierarchy Induction by Philipp Cimiano

Discussion

The best results achieved with the one-class SVM (F = 32.96%) More than 10 points above the baseline classifier

average (F = 21.28%) and maximum (F = 21%) strategies

More than 14 points better than the best single-feature classifier (F = 18.84%) using the isawww feature

Second best results obtained with a Multilayer Perceptron using oversampling or undersampling

Page 81: Concept Hierarchy Induction by Philipp Cimiano

Discussion

Gain insight from finding which features were most used by classifiers

Used this information to modify features and rerun experiments

Page 82: Concept Hierarchy Induction by Philipp Cimiano

Summary

Using different approaches is useful Machine learning approaches outperform naïve

averaging Unbalanced character of the dataset poses a

problem SVMs (which are not affected by the imbalance)

produce the best results This approach can show which features are the

most reliable as predictors

Page 83: Concept Hierarchy Induction by Philipp Cimiano

Related Work

Taxonomy ConstructionLexico-syntactic patternsClusteringLinguistic approaches

Taxonomy Refinement Taxonomy Extension

Page 84: Concept Hierarchy Induction by Philipp Cimiano

Lexico-syntactic patterns

Hearst Iswanska et al. – added extra patterns Poesia et al. – anaphoric resolution Ammad et al. – applying to specific domains Etzioni et al. – patterns matched on the www Cederburg and Widdows – precision improved with

Latent Semantic Analysis Others working on learning patterns automatically

Page 85: Concept Hierarchy Induction by Philipp Cimiano

Clustering

Hindle group nouns semantically derive verb-subject and verb-object dependencies from a 6

million word sample of Associated Press news stories

Pereira et al. top-down soft clustering algorithm with deterministic annealing words can appear in different clusters (multiple meanings of

words)

Caraballo bottom-up clustering approach to build a hierarchy of nouns uses conjunctive and appositive constructions for nouns derived

from the Wall Street Journal Corpus

Page 86: Concept Hierarchy Induction by Philipp Cimiano

Clustering (cont.)

The ASIUM System The Mo'K Workbench Grefenstette Gasperin et al. Reinberger et al. Lin et al. CobWeb Crouch et al. Haav Curran et al. Terascale Knowledge Acquisition

Page 87: Concept Hierarchy Induction by Philipp Cimiano

Linguistic Approaches

Linguistic analysis exploited more directly rather than just for feature extraction OntoLT - use shallow parser to label parts of speech and

grammatical relations (e.g. HeadNounToClass-ModToSubClass, which maps a common noun to a concept or class)

OntoLearn - analyze multi-word terms compositionally with respect to an existing semantic resource (Word-Net)

Morin et al. - tackle the problem of projecting semantic relations between single terms to multiple terms (e.g. project the isa-relation between apple and fruit to an isa-relation between apple juice and fruit juice)

Page 88: Concept Hierarchy Induction by Philipp Cimiano

Linguistic Approaches

Sanchez and Moreno – download first n hits for a search word and process the neighborhood linguistically to determine candidate modifiers for the search term

Sabou - inducing concept hierarchies for the purpose of modeling web services (applies methods not to full text, but to Java-documentation of web services)

Page 89: Concept Hierarchy Induction by Philipp Cimiano

Taxonomy Refinement

Hearst and Schutze Widdows Madche, Pekar and Staab Alfonseca et aL

Page 90: Concept Hierarchy Induction by Philipp Cimiano

Taxonomy Extension

Agirre et al. Faatz and Steinmetz Turney

Page 91: Concept Hierarchy Induction by Philipp Cimiano

Conclusions

Compared different hierarchical clustering approaches with respect to:effectivenessspeed traceability

Set-theoretic approaches, as FCA, can outperform similarity-based approaches.

Page 92: Concept Hierarchy Induction by Philipp Cimiano

Conclusions

Presented an algorithm for clustering guided by a hypernym oracle.

More efficient than agglomerative clustering.

Page 93: Concept Hierarchy Induction by Philipp Cimiano

Conclusions

Used machine learning techniques to effectively combine different approaches for learning taxonomic relations from text.

A learned model indeed outperforms all single approaches.

Page 94: Concept Hierarchy Induction by Philipp Cimiano

Open Issues

Which similarity or weighting measure should be chosen Which features should be considered to represent a

certain term Can features be aggregated to represent a term at a

more abstract level How should we model polysemy of terms Can we automatically induce lexico-syntactic patterns

(unsupervised!) What other approaches are there for combining different

paradigms; and how can we compare these

Page 95: Concept Hierarchy Induction by Philipp Cimiano

Questions