Document

advertisement
Kevin C. Chang
About the collaboration -- Cazoodle
Coming next week: Vacation Rental Search
2
How do you greet people in your culture?
What have you been
searching lately?
3
What have you been searching lately?








The university and areas of Kevin Chang?
The email of Marc Snir?
Customer service phone number of Amazon?
What profs are doing databases at UIUC?
The papers and presentations of SIGMOD 2007?
Due date of SIGMOD 2008?
Sale price of “Canon PowerShot A400”?
“Hamlet” books available at bookstores?
4
HugeLibrary.
The Web is a Big
Supermarket!
5
Queries can be any things, too!
Search Engine
6
Are there certain
“regularities” to exploit?
7
Let’s try out…
8
Survey 1: How likely does a query follow a pattern?
 9 out of 10 samples share a pattern with others!
9
Survey 2: How likely do queries in a domain follow
patterns w.r.t. pre-specified attributes?
Over 28,000 manually labeled queries:
 Some domains have as high as 90+% patterned queries.
10
Survey 3: How many patterns are there?
 Hundreds of patterns needed to cover 80% queries.
11
Simple concept: What is Query Template?

(this paper) Sequence of keywords and attributes





#celebrity affairs
#category jobs in #location
#movie showtimes in #zipcode
…
(In general) Patterns that can be induced from queries

e.g., regular expressions.
12
How would such
templates be useful?
13
We advocate Rich Query Interpretation.
t = “#category jobs in #location” for Job
q = “accounting jobs in chicago”
By matching query q to template t:

1) Intent Classifier: recognize intended domain.
 q  Job

2) Query Parser: recognize associated attributes.
 #category = “accounting”, #location = “chicago”
14
Rich query interpretation is useful.
Tailored responses by query patterns:

Finding results directly  No longer 10 blue links.

Ranking results  Relevant to attributes desired.

Dispatching verticals  Bring verticals into search.

Matching ads  More likely to click.
15
Query: Finding flights
16
Query: Finding movie showtimes
17
Query: Finding weather
18
But much more patterns can be leveraged!
19
Now, how to
systematically
discover such templates?
20
Problem: Query Template Discovery

Given:

Query log L


Domain schema D



e.g., (#category, #location, #title) with vocabulary.
Incomplete schema can be handled, too.
Seed knowledge (queries, sites, templates, or mix)


e.g., we use MSN query log 2006.
E.g., 5 queries; or 2 sites; or 2 templates.
Output: “Good” templates T* = {t1, t2, …}



t1 = #location jobs
t2 = #location #category positions
……..
21
Step 1:
Define quality metrics.
22
How to measure quality of templates?

Some templates are more “popular.”


“#city1 #city2”, “#make #model”
Some templates are more “accurate.”

“#city1 #city2 flights”, “#location #make used cars”
F
Precision:
Recall:
23
Step 2:
From seeds, infer templates
with good quality.
24
1) Can P and R be “inferred”? (or, estimated.)

Probabilistic Recall:

Probabilistic Precision:
25
2) What relationships can we use to infer?
Log
Queries Q
q1: jobs in chicago
q2: jobs in boston
q3: jobs in microsoft
q4: jobs in motorola
q5: marketing jobs in motorola
q6: 401k plans
q7: illinois employment statistics
Sites S
s1: monster.com
s2: motorola.com
s3: us401k.com
Templates T
t1: jobs in #location
t2: jobs in #company
t3: #category jobs in #company
t4: #location employment statistics
QST “Quest” Graph
10
s1
5
4
2
q1
q2
q3
s2
s3
12
4
q4
1
1
q6
q7
1
t1
1
t2
1
t3
1
q5
2
4
1
t4
3) How to infer on this graph?
Duality of Random Walk:
When we walk back and forth, we are inferring
precision and recall, respectively.

R(t) is forward random walk from seeds.

P(t) is backward random walk to seeds.
27
Recall is forward random walk from seeds.
D
R0(x)
x
F
q
Iq
Iqt
t
Recall is just like (personalized) PageRank.
28
Precision is backward random walk to seeds.
D
P0(x)
x
F
q
Iqt
It
t
Precision is harmonic energy minimization.
29
Experimental results

Quest is effective in finding templates by inferred P and R,
achieving 90% on actual F-measures.

Top results:
30
And they did the real work…
Ganesh Agarwal
Govind Kabra
Thank You!
31
Download