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

Exploiting Web Search to Generate Synonyms for Entities

  • Upload
    eamon

  • View
    70

  • Download
    0

Embed Size (px)

DESCRIPTION

Exploiting Web Search to Generate Synonyms for Entities. Surajit Chaudhuri Venkatesh Ganti Dong Xin Microsoft Research. Motivation. Given a list of target objects (e.g., product titles) Example queries Popularity: frequency of a product mentioned in blogs, reviews, forums? - PowerPoint PPT Presentation

Citation preview

Page 1: 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: 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 TitlesCanon EOS Digital Rebel XTi SLR Digital CameraLenovo ThinkPad X61 Tablet…

Page 3: Exploiting Web Search to Generate Synonyms for Entities

Identifying Products from Documents

Documents

Product TitlesCanon EOS Digital Rebel XTi SLR Digital CameraLenovo 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…

Output: Product titles and positions

3

Dictionary of Product Titles

Extract Product

Titles from Documents

Page 4: Exploiting Web Search to Generate Synonyms for Entities

Challenge: Approximate Match

Documents

DictionaryCanon EOS Digital Rebel XTi SLR Digital CameraLenovo ThinkPad X61 TabletSony Handycam DCR SR42 Digital Camcorder…

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…

New ThinkPad X61 Tablet models are available with

Intel® Centrino® Pro processor…

Match?

4

Page 5: Exploiting Web Search to Generate Synonyms for Entities

Conventional Approach Using string similarity

5

DictionaryCanon EOS Digital Rebel XTi SLR Digital CameraSony Handycam DCR SR42 Digital Camcorder…

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…

Page 6: 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 …

Aggregate evidence from multiple documents

6

The Rebel XTi offers an unbeatable combination of …

Page 7: 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: Exploiting Web Search to Generate Synonyms for Entities

Our ApproachEntity DatabaseCanon EOS Digital Rebel XTi SLR Digital Camera…

Pre-computationUse correlations to identify synonyms

Entity ExtractionDocuments Extracted

Entities

8

Web

Expanded Entity Lists with SynonymsCanon EOS Digital Rebel XTi SLR Digital CameraCanon Rebel XtiEOS Rebel Xti…

Exact Match on

synonyms

Page 9: Exploiting Web Search to Generate Synonyms for Entities

Outline Problem Definition Algorithms Experimental Results Related Work and

Conclusions

9

Page 10: 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 …

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

Context(s,d)

)),,(( edscontextSim

|||),(|

eedscontext

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

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

S1=0.75

S2=0.25

10Σsi > θ ?

Page 11: Exploiting Web Search to Generate Synonyms for Entities

Retrieving Related Docs using Web Search

11

Page 12: 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: 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: Exploiting Web Search to Generate Synonyms for Entities

Outline Problem Statement Algorithms Experimental Results Related Work and

Conclusions

14

Page 15: 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: 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: 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: 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 SynonymsMaximal Non-synonyms

Page 19: 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: Exploiting Web Search to Generate Synonyms for Entities

Greedy AlgorithmsEntity e

Select a subset s

Subset candidates

Is-Synonym(s, e)

Prune remaining subsets

Page 21: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Exploiting Web Search to Generate Synonyms for Entities

Outline Problem Statement Algorithms Experimental Results Related Work and

Conclusions

31

Page 32: 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: 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

Prec

isio

n

Page 34: Exploiting Web Search to Generate Synonyms for Entities

Number of Verifications

Multi-Entity

DFS-TopDown

DFS-Botto

mUp

Benefi

t-MAX

Benefi

t-MIN

Benefi

t-AVG

0

50000

100000

150000

200000

250000

300000

#VerificationNaïve Method

Opt Solution

Page 35: Exploiting Web Search to Generate Synonyms for Entities

Outline Problem Statement Algorithms Experimental Results Related Work and

Conclusions

35

Page 36: 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: 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: Exploiting Web Search to Generate Synonyms for Entities

Project Background

Web Search Structured 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: Exploiting Web Search to Generate Synonyms for Entities

Questions!

39