semantic taxonomies semantic class learning from the web
play

Semantic Taxonomies Semantic Class Learning from the Web Long-term - PowerPoint PPT Presentation

Semantic Taxonomies Semantic Class Learning from the Web Long-term goal: automatically create and populate a large- The Web can be viewed as an enormous text collection and scale semantic network by mining Web text. source for knowledge


  1. Semantic Taxonomies Semantic Class Learning from the Web • Long-term goal: automatically create and populate a large- • The Web can be viewed as an enormous text collection and scale semantic network by mining Web text. source for knowledge acquisition. • Some research focuses on extracting knowledge from • Ideally, we’d like a rich semantic ontology with many different types of semantic relationships. structured lists and tables. • The most studied type of categorical knowledge is • NLP techniques can be used to extract knowledge from hierarchical hypernym/hyponym relations. natural language text on the Web. Hypernym = superordinate semantic category • The enormity of the Web requires shallow text processing, Hyponym = subordinate semantic category typically with pattern matching, to identify and analyze relevant text snippets. Examples: mammal is a hypernym of dog dog is a hyponym of mammal dog is a hypernym of beagle Extracting Phrases Hyponym pattern mining [Hearst 1992] proposed the idea of applying hyponym The * position frequently reveals multi-word phrases that must patterns to text to find category members: be extracted. For example: The bow lute, such as the Bambara ndang, is plucked ! for artists such as Picasso Several hyponym patterns were suggested: for artists such as Pablo Picasso Hypernym such as * for artists such as Pablo Ruiz Picasso Hypernym including * for artists such as painter Pablo Picasso Hypernym especially * for artists such as 20th century painter Pablo Picasso Hyponym and/or other * Examples: The entire text snippet that matches a hyponym pattern is Works by authors such as Shakespeare ! saved and then a phrase is extracted. Scent hounds, including beagles, are good at ! Many European countries, especially Spain, ! Ideally, parsing would be helpful, but web text can be Bruises, broken bones, and other injuries ! challenging to parse.

  2. Doubly-anchored hyponym pattern The Power of the DAP [Kozareva et al., ACL 2008] By including a class member in the pattern, Kozareva proposed the idea of using a doubly-anchored ambiguities are usually resolved. hyponym pattern (DAP) that includes both a class name and one class member that begins a conjunction: For example: ClassName such as ClassMember and * languages such as English and * languages such as Java and * Examples: presidents such as Ford and * artists such as Picasso and * companies such as Ford and * dogs such as terriers and * presidents such as Bill Clinton and * countries such as France and * presidents such as Bill Gates and * Reckless bootstrapping Evaluation • Four semantic classes: Naive Approach: instantiate a DAP with one ClassName closed and one Member, extract new class members, and bootstrap via breadth-first search. countries (194 elements) U.S. states (50 elements) states such as Alabama and California open Texas fishes (gold standard is Wikipedia) Utah singers (manually reviewed) • Evaluated the performance of each class with five randomly selected seeds and reported the For proper name classes, all adjacent capitalized words are average performance. extracted. Otherwise, just one word is extracted (if it’s not capitalized).

  3. Performance of Reckless Precision of reckless bootstrapping Bootstrapping Iter. countries states singers fish 1 .80 .79 .91 .76 2 .57 .21 .87 .64 3 .21 .18 .86 .54 4 .16 - .83 .54 Problem: search needs guidance Solution: evaluate and rank the learned instances Challenges in Extracting Correct Phrases Hyponym pattern linkage graphs Adjacent Phrases HPLG=(V,E) where vertex is an instance, and v ! V e ! E for many artists such as Picasso Europe is ! is an edge between two instances Conjunctions companies such as Abercrombie and Fitch ! some birds and reptiles, such as parrots and iguanas ! Some states, such as Alabama and North Carolina , offer a list of approved health care providers ! Lexicalized Phrases some hot dogs such as Oscar Mayer are made ! v w=15 Prepositional Phrases Alabama North Carolina u many diseases in dogs including parvovirus ! Web Issues The weight w of an edge is the frequency with which u broken words ( Merce –dez ) generated v. incomplete snippets

  4. Popularity Popularity ranking measures • Measure the popularity of a term as the ability of a • in-Degree: inD ( v ) is the sum of the weights of all incoming class member to be discovered by other class edges ( u , v ), where u is a trusted member. members • Best edge: BE ( v ) is the maximum edge weight among the incoming edges ( u , v ), where u is a trusted member. 1 • Key Player Problem: = " d ( u , v ) u V KPP ( v ) # V 1 ! • The highest scoring unexplored node is learned during each iteration. d(u,v) is the shortest path between u and v • The graph can grow dynamically during the High KPP indicates strong connectivity and proximity to bootstrapping process other nodes Productivity Productivity ranking measures • Measure the productivity of a term as the ability of a class • OutDegree: outD ( v ) is the sum of all outgoing edges from member to discover other class members. v normalized by |V|-1 • TotalDegree: totD ( v ) is the sum of inDegree and • Intuition: if a term is truly a class member, then it should outDegree edges of v, normalized by |V|-1 co-occur with other class members in the pattern. st v ( ) • Betweenness: $ BE ( v ) ! = $ s v t V st " " # s t " " st is the number of shortest paths from s to t , and " st ( v ) is the number of shortest paths from s to t that pass through v • Requires a precompiled graph: • PageRank: 1. Perform reckless bootstrapping (exhaustively) ( 1 ) PR ( u ) # $ 2. Re-rank the learned terms based on graph properties. PR ( v ) ! = + $ V outD(u) u , v E "

  5. Performance Performance dynamic graph States States precompiled number of Popularity Pop&Prd Popularity Pop&Prd Prd graph learned N BE KPP inD totD BT PR N BE KPP inD totD BT PR outD instances 25 1.0 1.0 1.0 1.0 .88 .88 1.0 25 1.0 1.0 1.0 1.0 .88 .88 50 .96 .98 .98 1.0 .86 .82 1.0 50 .96 .98 .98 1.0 .86 .82 64 .77 .78 .77 .78 .77 .67 .78 64 .77 .78 .77 .78 .77 .67 • HPLGs perform much better than reckless bootstrapping! BE – best edge • outD and totD discovered all 50 U.S. states. KPP – key player problem inD – in-Degree totD – total degree But there are only 50 states, so why does the algorithm BT – betweenness learn 64? PR – Page Rank Investigating the Extra States Full Results The additional 14 learned "states” were: Singers Countries Fish Russia, Ukraine, Uzbekistan, Azerbaijan, Moldava, Pop Prd Pop Prd Pop Prd Tajikistan, Armenia, Moldavia N inD outD N inD outD N KPP outD 10 .92 1.0 50 .98 1.0 10 .90 1.0 Chicago, Boston, Atlanta, Detroit, Philadelphia, Tampa 100 .94 1.0 25 .91 1.0 25 .88 1.0 150 .91 1.0 50 .92 .97 50 .80 1.0 200 .83 .90 75 .69 .93 75 .91 .96 Authoritarian former Soviet states such as Georgia and 300 .61 .61 100 .68 .84 100 .89 .96 Ukraine ! 323 .57 .57 116 .65 .80 150 .88 .95 180 .87 .91 Findlay now has over 20 restaurants in states such as Florida and Chicago !

  6. Learning both Hypernyms and Hyponyms Error analysis [Hovy et al., EMNLP 2009] Type 1: incorrect proper name extraction • The ultimate goal is to create a semantic taxonomy that is richly organized and represents a “structure justified by Type 2: instances that formerly belonged to the evidence drawn from text”. semantic class • Also, learning from a single hypernym will always be Type 3: spelling variants limited, so how can we learn more? Type 4: sentences with wrong factual assertions • Idea: the doubly-anchored hyponym pattern can also be Type 5: broken expressions used to extract new hypernym terms. • The bootstrapping process alternates between learning a set of hyponyms and then learning a new hypernym. Step 1: Hyponym Acquisition Step 2: Hypernym Acquisition • The first step is the original bootstrapping Next, we use DAP -1 to acquire conceptual terms process for hyponym learning. that are superordinate to the hyponyms: • The learned instances are cycled back into the * such as Member1 and Member2 pattern to generate more instances: lions felines animals such as [ ] and * tigers * such as lions and tigers mammals bears predators porpoises stuffed toys snakes ! !

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend