39
Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Embed Size (px)

Citation preview

Page 1: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Surajit ChaudhuriVenkatesh Ganti

Dong Xin

Microsoft Research

Exploiting Web Search to Generate Synonyms for Entities

Page 2: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Motivation Given a list of target objects (e.g.,

product titles)

Example queries Popularity: frequency of a product

mentioned in blogs, reviews, forums? Sentiment: number of positive reviews? Price: min price offered in shopping

sites?2

Product Titles

Canon EOS Digital Rebel XTi SLR Digital Camera

Lenovo ThinkPad X61 Tablet

Page 3: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Identifying Products from Documents

Documents

Product Titles

Canon EOS Digital Rebel XTi SLR Digital Camera

Lenovo ThinkPad X61 Tablet

DocId Product Titles

Pos

1 EOS Digital Rebel XTi

1

160 ThinkPad X61

92

… … …

The EOS Digital Rebel XTi is the product of Canon's…

The EOS Digital Rebel XTi is the product of Canon's…

Output: Product titles and positions

3

Dictionary of Product Titles

Extract Product

Titles from Documents

Page 4: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Challenge: Approximate Match

Documents

Dictionary

Canon EOS Digital Rebel XTi SLR Digital Camera

Lenovo ThinkPad X61 Tablet

Sony Handycam DCR SR42 Digital Camcorder

The Canon EOS Rebel XTi remains a very good first

dSLR…

The Canon EOS Rebel XTi remains a very good first

dSLR…

The EOS Digital Rebel XTi is the product of Canon's

extensive in-house development…

The EOS Digital Rebel XTi is the product of Canon's

extensive in-house development…

New ThinkPad X61 Tablet models are available with

Intel® Centrino® Pro processor…

New ThinkPad X61 Tablet models are available with

Intel® Centrino® Pro processor…

Match?

4

Page 5: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Conventional Approach

Using string similarity

5

DictionaryCanon EOS Digital Rebel XTi SLR Digital Camera

Sony Handycam DCR SR42 Digital Camcorder

The Rebel XTi remains a very good first dSLR…

The Rebel XTi remains a very good first dSLR…

The Canon EOS Digital Rebel Camera is the product of Canon's extensive in-house

development…

The Canon EOS Digital Rebel Camera is the product of Canon's extensive in-house

development…

Page 6: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Correlation Across Documents

e Canon EOS Digital Rebel XTi SLR Digital Camera

Related Documents

s Rebel XTi

The Rebel XTi is a newly designed Canon EOS Digital Camera …

The Rebel XTi is a newly designed Canon EOS Digital Camera …

Aggregate evidence from multiple documents

6

The Rebel XTi offers an unbeatable combination of …

The Rebel XTi offers an unbeatable combination of …

Page 7: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Class of Synonyms

Subset Synonyms A synonym is a subset of an

entity Is-Synonym(subset, entity)=true

ExamplesEntity Subset Synonym?

Canon EOS Digital Rebel XTi SLR Digital Camera

EOS XTi Yes

Canon EOS Digital Rebel XTi SLR Digital Camera

Canon EOS Digital Camera

No

7

Page 8: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Our ApproachEntity Database

Canon EOS Digital Rebel XTi SLR Digital Camera

Pre-computationUse correlations to identify synonyms

Entity Extraction

Documents Extracted Entities

8

Web

Expanded Entity Lists with Synonyms

Canon EOS Digital Rebel XTi SLR Digital Camera

Canon Rebel Xti

EOS Rebel Xti

Exact Match on

synonyms

Page 9: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Outline

Problem Definition Algorithms Experimental Results Related Work and

Conclusions

9

Page 10: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Synonym Characterization

Compute corr-score for (s, e)

The Rebel XTI is a newly designed Canon EOS Digital Camera. It has a newly designed 10.1 MP …

The Rebel XTI is a newly designed Canon EOS Digital Camera. It has a newly designed 10.1 MP …

s=“Rebel XTI”e=“Canon EOS Digital Rebel XTi SLR Digital Camera”

Context(s,d)

)),,(( edscontextSim

||

|),(|

e

edscontext

Fraction (weighted sum) of tokens in the context of s appearing in e

For those just taking family snapshots, the Rebel XTI is the …

For those just taking family snapshots, the Rebel XTI is the …

S1=0.75

S2=0.25

10Σsi > θ ?

Page 11: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Retrieving Related Docs using Web Search

11

Page 12: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Is-Synonym(s,e)

Verify whether the subset s is a synonym of an entity e

Procedure Issue s as a query to web

search API Retrieve top-k snippets as

related docs Compute a corr-score of (s,e)

for each documents Aggregate the corr-scores

and compare with a threshold

Page 13: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Problem Statement Input

A set of entities E Web Search API

Output For each e є E, find all subsets

s of e, such that Is-Synonym(s,e)=true

Objective Minimize the number of

verification (issuing Is-Synonym(s,e))

Page 14: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Outline

Problem Statement Algorithms Experimental Results Related Work and

Conclusions

14

Page 15: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Candidate Space

15

Page 16: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Subset-Superset Monotonicity

16

Page 17: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Subset-Superset Monotonicity

17

Page 18: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

The Frontier

18

Minimal Synonyms

Maximal Non-synonyms

Page 19: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

The Frontier

Minimum cost synonym-generation Only verify subsets s in the

frontier

Let OPT(e) be the number of subsets in the frontier of e

Page 20: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Greedy Algorithms

Entity e

Select a subset s

Subset candidates

Is-Synonym(s, e)

Prune remaining subsets

Page 21: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Single Entity: Depth-first Search

21

Number of verification in DFS is at most |e|OPT(e)

Page 22: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Single Entity: Max-benefit Search

22

#Prune_T=3

#Prune_F=2Benefit = {min, max, avg} (#T, #F)

Page 23: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Multiple Entities

Exploit structural similarity between entities Sony Vaio F150 Laptop Sony Vaio P530 Laptop Sony Vaio Z550 Laptop …

Page 24: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio F150 Laptop)

(Sony Vaio F150) (Sony Vaio Laptop) (Sony F150 Laptop) (Vaio F150 Laptop)

(Sony Laptop)(Sony Vaio) (Sony F150) (Vaio Laptop) (F150 Laptop)(Vaio F150)

()

(Sony) (Vaio) (F150) (laptop)

Known Results for Previous Entities

24

Page 25: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio P530 Laptop)

(Sony Vaio P530) (Sony Vaio Laptop) (Sony P530 Laptop) (Vaio P530 Laptop)

(Sony Laptop)(Sony Vaio) (Sony P530) (Vaio Laptop) (P530 Laptop)(Vaio P530)

()

(Sony) (Vaio) (P530) (laptop)

Predicting Synonyms for New Entity

25

(Sony Vaio P530) is likely a synonym because (Sony Vaio F150) is a synonym.

Page 26: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Structural Similarity

Enable one-to-one mapping between subsets across entities Entities have the same

number of tokens Corresponding tokens are

either the same token or tokens with common property

Page 27: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Rule-based Grouping

Normalization Rules Regular expressions

[A-Z][0-9]+ LetterNumber Categories

{red, yellow, green, blue, …} Color

Entities with the same normalized name form a group

Page 28: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio LN Laptop)

(Sony Vaio LN) (Sony Vaio Laptop) (Sony LN Laptop) (Vaio LN Laptop)

(Sony Laptop)(Sony Vaio) (Sony LN) (Vaio Laptop) (LN Laptop)(Vaio LN)

()

(Sony) (Vaio) (LN) (laptop)

Group Profile

28

LetterNumber

Page 29: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

(Sony Vaio LN Laptop)

(Sony Vaio LN) (Sony Vaio Laptop) (Sony LN Laptop) (Vaio LN Laptop)

(Sony Laptop)(Sony Vaio) (Sony LN) (Vaio Laptop) (LN Laptop)(Vaio LN)

()

(Sony) (Vaio) (LN) (laptop)

Accumulating Statistics within Groups

29

T: Number of seen entities where the subset is a synonym

F: Number of seen entities where the subset is not a synonym

Page 30: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Revisit: Max-benefit Search

30

#Prune_T=3

#Prune_F=2Benefit = {min, max, avg} (#T, #F)

(Sony Vaio P530 Laptop)

(Sony Vaio P530) (Sony Vaio Laptop) (Sony P530 Laptop) (Vaio P530 Laptop)

(Sony Laptop)(Sony Vaio) (Sony P530) (Vaio Laptop) (P530 Laptop)(Vaio P530)

()

(Sony) (Vaio) (P530) (laptop)Statistics in Group ProfileT: 5F: 1

Benefit = #T=3

Page 31: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Outline

Problem Statement Algorithms Experimental Results Related Work and

Conclusions

31

Page 32: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Experimental Setting

Data 10oK product names from

msnshopping computers, gps, cameras,

bicycles, shoes, etc.

Web Search API www.live.com

32

Page 33: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Quality of Synonyms

0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

CorrelationJaccard

Recall

Pre

cis

ion

Page 34: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Number of Verifications

Multi

-Entit

y

DFS-TopDown

DFS-Botto

mUp

Benef

it-M

AX

Benef

it-M

IN

Benef

it-AVG

0

50000

100000

150000

200000

250000

300000

#VerificationNaïve Method

Opt Solution

Page 35: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Outline

Problem Statement Algorithms Experimental Results Related Work and

Conclusions

35

Page 36: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Related Work Approximate record matching

(Koudas et al, 2006) Measuring similarity based on strings,

attribute values or link structures Evidence from documents (or web

search results) not considered

Distributional semantics in natural language processing (Manning et al, 1999, Turney 2002) Measuring correlation across

documents Efficient computation not addressed

36

Page 37: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Summary

We developed efficient methods to generate synonyms for entities Exploiting web search API Leveraging superset-subset

monotonicity

The generated synonyms can be used for Approximate match in entity

extraction Fuzzy matching in data cleaning

37

Page 38: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Project Background

Web SearchStructured

Data Search

Enriched Search

Relationships

Exploiting Web Search Engines to Search Structured Databases [WWW 09]

Project website:Search “Microsoft Research, Data Exploration”

38

Page 39: Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research Exploiting Web Search to Generate Synonyms for Entities

Questions!

39