Information Extraction and Integration Bing Liu Department of Computer Science University of Illinois at Chicago (UIC)

Slides:



Advertisements
Similar presentations
eClassifier: Tool for Taxonomies
Advertisements

Chapter 10: Information Integration. Bing Liu, UIC ACL-07 2 Introduction At the end of last topic, we identified the problem of integrating extracted.
1 Initial Results on Wrapping Semistructured Web Pages with Finite-State Transducers and Contextual Rules Chun-Nan Hsu Arizona State University.
The Semantic Web-Week 22 Information Extraction and Integration (continued) Module Website: Practical this week:
IEPAD: Information Extraction based on Pattern Discovery Chia-Hui Chang National Central University, Taiwan
RoadRunner: Towards Automatic Data Extraction from Large Web Sites Valter Crescenzi Giansalvatore Mecca Paolo Merialdo Presented by Lei Lei.
Xyleme A Dynamic Warehouse for XML Data of the Web.
NaLIX: A Generic Natural Language Search Environment for XML Data Presented by: Erik Mathisen 02/12/2008.
Aki Hecht Seminar in Databases (236826) January 2009
1 CIS607, Fall 2005 Semantic Information Integration Presentation by Dayi Zhou Week 4 (Oct. 19)
ODE: Ontology-assisted Data Extraction WEIFENG SU et al. Presented by: Meher Talat Shaikh.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Traditional Information Extraction -- Summary CS652 Spring 2004.
Structured Data Extraction Based on the slides from Bing Liu at UCI.
Web Mining. Two Key Problems  Page Rank  Web Content Mining.
Extracting Structured Data from Web Page Arvind Arasu, Hector Garcia-Molina ACM SIGMOD 2003.
Toward Making Online Biological Data Machine Understandable Cui Tao Data Extraction Research Group Department of Computer Science, Brigham Young University,
1 Matching DOM Trees to Search Logs for Accurate Webpage Clustering Deepayan Chakrabarti Rupesh Mehta.
R OAD R UNNER : Towards Automatic Data Extraction from Large Web Sites Valter Crescenzi Giansalvatore Mecca Paolo Merialdo VLDB 2001.
1 Information Integration and Source Wrapping Jose Luis Ambite, USC/ISI.
Chapter 5: Information Retrieval and Web Search
Chapter 10: Information Integration and Synthesis.
Chapter 9: Structured Data Extraction Supervised and unsupervised wrapper generation.
Web Information Extraction 3 rd Oct Information Extraction (Slides based on those by Ray Mooney, Craig Knoblock, Dan Weld, Perry, Subbarao Kambhampati,
Learning Table Extraction from Examples Ashwin Tengli, Yiming Yang and Nian Li Ma School of Computer Science Carnegie Mellon University Coling 04.
ANHAI DOAN ALON HALEVY ZACHARY IVES Chapter 9: Wrappers PRINCIPLES OF DATA INTEGRATION.
Mining and Summarizing Customer Reviews
Web Mining ( 網路探勘 ) WM09 TLMXM1A Wed 8,9 (15:10-17:00) U705 Structured Data Extraction ( 結構化資料擷取 ) Min-Yuh Day 戴敏育 Assistant Professor 專任助理教授 Dept.
Unsupervised Learning. CS583, Bing Liu, UIC 2 Supervised learning vs. unsupervised learning Supervised learning: discover patterns in the data that relate.
Accurately and Reliably Extracting Data from the Web: A Machine Learning Approach by: Craig A. Knoblock, Kristina Lerman Steven Minton, Ion Muslea Presented.
Bootstrapping Information Extraction from Semi-Structured Web Pages Andy Carlson (Machine Learning Department, Carnegie Mellon) Charles Schafer (Google.
Chapter 9: Structured Data Extraction Supervised and unsupervised wrapper generation.
Extracting Relations from XML Documents C. T. Howard HoJoerg GerhardtEugene Agichtein*Vanja Josifovski IBM Almaden and Columbia University*
Introduction to Web Mining Spring What is data mining? Data mining is extraction of useful patterns from data sources, e.g., databases, texts, web,
Automatically Extracting Data Records from Web Pages Presenter: Dheerendranath Mundluru
Michael Cafarella Alon HalevyNodira Khoussainova University of Washington Google, incUniversity of Washington Data Integration for Relational Web.
1 A Hierarchical Approach to Wrapper Induction Presentation by Tim Chartrand of A paper bypaper Ion Muslea, Steve Minton and Craig Knoblock.
Clustering Supervised vs. Unsupervised Learning Examples of clustering in Web IR Characteristics of clustering Clustering algorithms Cluster Labeling 1.
Basic Machine Learning: Clustering CS 315 – Web Search and Data Mining 1.
Presenter: Shanshan Lu 03/04/2010
XML Schema Integration Ray Dos Santos July 19, 2009.
Chapter 9: Structured Data Extraction Supervised and unsupervised wrapper generation.
A Scalable Machine Learning Approach for Semi-Structured Named Entity Recognition Utku Irmak(Yahoo! Labs) Reiner Kraft(Yahoo! Inc.) WWW 2010(Information.
Information Extraction for Semi-structured Documents: From Supervised learning to Unsupervised learning Chia-Hui Chang Dept. of Computer Science and Information.
1 Internet Research Third Edition Unit A Searching the Internet Effectively.
LOGO 1 Corroborate and Learn Facts from the Web Advisor : Dr. Koh Jia-Ling Speaker : Tu Yi-Lang Date : Shubin Zhao, Jonathan Betz (KDD '07 )
LOGO 1 Mining Templates from Search Result Records of Search Engines Advisor : Dr. Koh Jia-Ling Speaker : Tu Yi-Lang Date : Hongkun Zhao, Weiyi.
Internet Research – Illustrated, Fourth Edition Unit A.
1 Enabling web browsers to augment web sites’ filtering and sorting functionalities David Huynh · Rob Miller · David Karger MIT Computer Science & Artificial.
Information Extraction and Integration Bing Liu Department of Computer Science University of Illinois at Chicago (UIC)
School of Computer Science 1 Information Extraction with HMM Structures Learned by Stochastic Optimization Dayne Freitag and Andrew McCallum Presented.
Introduction to Data Mining by Yen-Hsien Lee Department of Information Management College of Management National Sun Yat-Sen University March 4, 2003.
Chapter 9: Structured Data Extraction Supervised and unsupervised wrapper generation.
Making Holistic Schema Matching Robust: An Ensemble Approach Bin He Joint work with: Kevin Chen-Chuan Chang Univ. Illinois at Urbana-Champaign.
Chapter 9: Structured Data Extraction Supervised and unsupervised wrapper generation.
Discovering Complex Matchings across Web Query Interfaces: A Correlation Mining Approach Bin He Joint work with: Kevin Chen-Chuan Chang, Jiawei Han Univ.
Instance Discovery and Schema Matching With Applications to Biological Deep Web Data Integration Tantan Liu, Fan Wang, Gagan Agrawal {liut, wangfa,
Semantic Web Technologies Readings discussion Research presentations Projects & Papers discussions.
Statistical Schema Matching across Web Query Interfaces
Data mining (KDD) process
Web Information Extraction
Web Data Extraction Based on Partial Tree Alignment
Chapter 10: Information Integration and Synthesis
Restrict Range of Data Collection for Topic Trend Detection
Supervised and unsupervised wrapper generation
Chapter 9: Structured Data Extraction
Kriti Chauhan CSE6339 Spring 2009
Web Page Cleaning for Web Mining
Panagiotis G. Ipeirotis Luis Gravano
Tantan Liu, Fan Wang, Gagan Agrawal The Ohio State University
Presentation transcript:

Information Extraction and Integration Bing Liu Department of Computer Science University of Illinois at Chicago (UIC)

Bing Liu, UIC 2 Introduction The Web is perhaps the single largest data source in the world. Much of the Web (content) mining is about  Data/information extraction from semi-structured objects and free text, and  Integration of the extracted data/information Due to the heterogeneity and lack of structure, mining and integration are challenging tasks. This talk gives an overview.

Bing Liu, UIC 3 Road map Structured data extraction  Wrapper induction  Automatic extraction Information integration Summary

Bing Liu, UIC 4

5

6

7 Wrapper induction Using machine learning to generate extraction rules.  The user marks the target items in a few training pages.  The system learns extraction rules from these pages.  The rules are applied to extract target items from other pages. Many wrapper induction systems, e.g.,  WIEN (Kushmerick et al, IJCAI-97),  Softmealy (Hsu and Dung, 1998),  Stalker (Muslea et al. Agents-99),  BWI (Freitag and McCallum, AAAI-00),  WL 2 (Cohen et al. WWW-02).  IDE (Liu and Zhai, WISE-05)  Thresher (Hogue and Karger, WWW-05)

Bing Liu, UIC 8 Stalker: A wrapper induction system (Muslea et al. Agents-99) E1:513 Pico, Venice, Phone E2:90 Colfax, Palms, Phone (800) E3: st St., LA, Phone E4: 403 La Tijera, Watts, Phone: (310) We want to extract area code. Start rules: R1: SkipTo(() R2: SkipTo(- ) End rules: R3: SkipTo()) R4: SkipTo( )

Bing Liu, UIC 9 Learning extraction rules Stalker uses sequential covering to learn extraction rules for each target item.  In each iteration, it learns a perfect rule that covers as many positive items as possible without covering any negative items.  Once a positive item is covered by a rule, the whole example is removed.  The algorithm ends when all the positive items are covered. The result is an ordered list of all learned rules.

Bing Liu, UIC 10 Rule induction through an example Training examples: E1:513 Pico, Venice, Phone E2:90 Colfax, Palms, Phone (800) E3: st St., LA, Phone E4: 403 La Tijera, Watts, Phone: (310) We learn start rule for area code. Assume the algorithm starts with E2. It creates three initial candidate rules with first prefix symbol and two wildcards:  R1: SkipTo(()  R2: SkipTo(Punctuation)  R3: SkipTo(Anything) R1 is perfect. It covers two positive examples but no negative example.

Bing Liu, UIC 11 Rule induction (cont …) E1:513 Pico, Venice, Phone E2:90 Colfax, Palms, Phone (800) E3: st St., LA, Phone E4: 403 La Tijera, Watts, Phone: (310) R1 covers E2 and E4, which are removed. E1 and E3 need additional rules. Three candidates are created:  R4: SkiptTo( )  R5: SkipTo(HtmlTag)  R6: SkipTo(Anything) None is good. Refinement is needed. Stalker chooses R4 to refine, i.e., to add additional symbols, to specialize it. It will find R7: SkipTo(- ), which is perfect.

Bing Liu, UIC 12 Limitations of Supervised Learning Manual Labeling is labor intensive and time consuming, especially if one wants to extract data from a huge number of sites. Wrapper maintenance is very costly:  If Web sites change frequently  It is necessary to detect when a wrapper stops to work properly.  Any change may make existing extraction rules invalid.  Re-learning is needed, and most likely manual re- labeling as well.

Bing Liu, UIC 13 Road map Structured data extraction  Wrapper induction  Automatic extraction Information integration Summary

Bing Liu, UIC 14 The RoadRunner System (Crescenzi et al. VLDB-01) Given a set of positive examples (multiple sample pages). Each contains one or more data records. From these pages, generate a wrapper as a union- free regular expression (i.e., no disjunction). The approach To start, a sample page is taken as the wrapper. The wrapper is then refined by solving mismatches between the wrapper and each sample page, which generalizes the wrapper.

Bing Liu, UIC 15

Bing Liu, UIC 16 Compare with wrapper induction No manual labeling, but need a set of positive pages of the same template  which is not necessary for a page with multiple data records not wrapper for data records, but pages.  A Web page can have many pieces of irrelevant information. Issues of automatic extraction Hard to handle disjunctions Hard to generate attribute names for the extracted data. extracted data from multiple sites need integration, manual or automatic.

Bing Liu, UIC 17 The DEPTA system (Zhai & Liu WWW-05) Data region1 Data region2 A data record

Bing Liu, UIC 18 Align and extract data items (e.g., region1) image 1 EN inch LCD Monitor Black/Dark charcoal $299.99Add to Cart (Delivery / Pick-Up ) Penny Shopping Compare image 2 17-inch LCD Monitor $249.99Add to Cart (Delivery / Pick-Up ) Penny Shopping Compare image 3 AL inch LCD Monitor, Black $269.99Add to Cart (Delivery / Pick-Up ) Penny Shopping Compare image 4 SyncMaster 712n 17- inch LCD Monitor, Black Was: $ $299.99Save $70 After: $70 mail-in- rebate(s) Add to Cart (Delivery / Pick-Up ) Penny Shopping Compare

Bing Liu, UIC Mining Data Records (Liu et al, KDD-03; Zhai and Liu, WWW-05) Given a single page with multiple data records (a list page), it extracts data records. The algorithm is based on  two observations about data records in a Web page  a string matching algorithm (tree matching ok too) Considered both  contiguous  non-contiguous data records

Bing Liu, UIC 20 The Approach Given a page, three steps: Building the HTML Tag Tree  Erroneous tags, unbalanced tags, etc  Some problems are hard to fix Mining Data Regions  Spring matching or tree matching Identifying Data Records Rendering (or visual) information is very useful in the whole process

Bing Liu, UIC 21 Building tree based on visual cues … 4 … … 8 … 9 10 left righttopbottom tr td td td The tag tree table

Bing Liu, UIC 22 Mining Data Regions Region Region 1 Region 3

Bing Liu, UIC 23 Identify Data Records A generalized node may not be a data record. Extra mechanisms are needed to identify true atomic objects (see the papers). Some highlights:  Contiguous  non-contiguous data records. Name 1 Description of object 1 Name 2 Description of object 2 Name 3 Description of object 3 Name 4 Description of object 4 Name 1Name 2 Description of object 1 Description of object 2 Name 3Name 4 Description of object 3 Description of object 4

Bing Liu, UIC Extract Data from Data Records Once a list of data records are identified, we can align and extract data items in them. Approaches (align multiple data records):  Multiple string alignment Many ambiguities due to pervasive use of table related tags.  Multiple tree alignment (partial tree alignment) Together with visual information is effective Most multiple alignment methods work like hierarchical clustering,  Not effective, and very expensive

Bing Liu, UIC 25 Tree Matching (tree edit distance) Intuitively, in the mapping  each node can appear no more than once in a mapping,  the order between sibling nodes are preserved, and  the hierarchical relation between nodes are also preserved. c b a p c h e p da d AB

Bing Liu, UIC 26 The Partial Tree Alignment approach Choose a seed tree: A seed tree, denoted by Ts, is picked with the maximum number of data items. Tree matching: For each unmatched tree Ti (i ≠ s),  match Ts and Ti.  Each pair of matched nodes are linked (aligned).  For each unmatched node nj in Ti do expand Ts by inserting nj into Ts if a position for insertion can be uniquely determined in Ts. The expanded seed tree Ts is then used in subsequent matching.

Bing Liu, UIC 27 p p a b e d c e b d c e p New part of T s e a b x p p TsTs TiTi a e b a TsTs TiTi Insertion is possible Insertion is not possible Illustration of partial tree alignment

Bing Liu, UIC 28 d x … b p c k g n p b dx … b p k c x … b p dh c k g n p b n x … b p cdhk No node inserted T2T2 T3T3 T2T2 g TsTs New T s d hk c p b c, h, and k inserted T s = T 1 T 2 is matched again A complete example

Bing Liu, UIC 29 Output Data Table …xbncdhkg T1T1 …111 T2T T3T DEPTA does not work with nested data records. NET (Liu & Zhai, WISE-05)extracts data from both flat and nested data records.

Bing Liu, UIC 30 Some other systems and techniques IEPAD (Chang & Lui WWW-01), DeLa (Wang & Lochovsky WWW-03)  These systems treat a page as a long string, and find repeated substring patterns.  They often produce multiple patterns (rules). Hard to decide which is correct. EXALG(Arasu & Garcia-Molina SIGMOD-03), (Lerman et al, SIGMOD-04).  Require multiple pages to find patterns.  Which is not necessary for pages with multiple records. (Zhao et al, WWW-04)  It extracts data records in one area of a page.

Bing Liu, UIC 31 Limitations and issues Not for a page with only a single data record Does not generate attribute names for the extracted data (yet!) extracted data from multiple sites need integration. It is possible in each specific application domain, e.g.,  products sold online. need “product name”, “image”, and “price”. identify only these three fields may not be too hard.  Job postings, publications, etc …

Bing Liu, UIC 32 Road map Structured data extraction  Wrapper induction  Automatic extraction Information integration Summary

Bing Liu, UIC 33 Web query interface integration Many integration tasks,  Integrating Web query interfaces (search forms)  Integrating extracted data  Integrating textual information  Integrating ontologies (taxonomy)  … We only introduce integration of query interfaces.  Many web sites provide forms to query deep web  Applications: meta-search and meta-query

Bing Liu, UIC 34 Global Query Interface united.comairtravel.comdelta.comhotwire.com

Bing Liu, UIC 35 Synonym Discovery ( He and Chang, KDD-04 ) Discover synonym attributes Author – Writer, Subject – Category Holistic Model Discovery authornamesubject category writer S2: writer title category format S3: name title keyword binding S1: author title subject ISBN Pairwise Attribute Correspondence S2: writer title category format S3: name title keyword binding S1: author title subject ISBN S1.author  S3.name S1.subject  S2.category V.S.

Bing Liu, UIC 36 Schema matching as correlation mining Across many sources: Synonym attributes are negatively correlated  synonym attributes are semantically alternatives.  thus, rarely co-occur in query interfaces Grouping attributes with positive correlation  grouping attributes semantically complement  thus, often co-occur in query interfaces

Bing Liu, UIC Positive correlation mining as potential groups 2. Negative correlation mining as potential matchings Mining positive correlations Last Name, First Name Mining negative correlations Author = {Last Name, First Name} 3. Matching selection as model construction Author (any) = {Last Name, First Name} Subject = Category Format = Binding

Bing Liu, UIC 38 A clustering approach to schema matching (Wu et al. SIGMOD-04) 1:1 mapping by clustering Bridging effect  “a2” and “c2” might not look similar themselves but they might both be similar to “b3” 1:m mappings  Aggregate and is-a types User interaction helps in:  learning of matching thresholds  resolution of uncertain mappings X

Bing Liu, UIC 39 Find 1:1 Mappings via Clustering Interfaces: After one merge: …, final clusters: {{a1,b1,c1}, {b2,c2},{a2},{b3}} Initial similarity matrix: Similarity functions  linguistic similarity  domain similarity

Bing Liu, UIC 40 Find 1:m Complex Mappings Aggregate type – contents of fields on the many side are part of the content of field on the one side Commonalities – (1) field proximity, (2) parent label similarity, and (3) value characteristics

Bing Liu, UIC 41 Complex Mappings (Cont’d) Is-a type – contents of fields on the many side are sum/union of the content of field on the one side Commonalities – (1) field proximity, (2) parent label similarity, and (3) value characteristics

Bing Liu, UIC 42 Instance-based matching via query probing (Wang et al. VLDB-04) Both query interfaces and returned results (called instances) are considered in matching. It assumes  a global schema (GS) is given and  a set of instances are also given. Uses each instance value (V) in GS to probe the underlying database to obtain the count of V appeared in the returned results.  These counts are used to help matching.

Bing Liu, UIC 43 Query interface and result page Search Interface Result Page … Format ISBN Publish Date Publisher Author Title Data Attributes

Bing Liu, UIC 44 Road map Structured data extraction  Wrapper Induction  Automatic extraction Information integration Summary

Bing Liu, UIC 45 Summary Give an overview of two topics  Structured data extraction  Information integration Some technologies are ready for industrial exploitation, e.g., data extraction. Simple integration is do-able, complex integration still needs further research.