Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa...

23
Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar Srivatsa, Sue Kase, Michelle Vanni

Transcript of Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa...

Page 1: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Exploiting Relevance Feedbackin Knowledge Graph Search

Xifeng YanUniversity of California at Santa Barbara

with Yu Su, Shengqi Yang, Huan Sun, Mudhakar Srivatsa, Sue Kase, Michelle Vanni

Page 2: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

2

Desktop search Mobile search

Transformation in Information Search

Hi, what can I help you with?

New York-New York hotelAnswer:

Read Lengthy Documents? Direct Answers Desired!

“Which hotel has a roller coaster in Las

Vegas?”

Page 3: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Strings to Things

3

Page 4: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Knowledge Graphs

4

tagged

listen

watchfollowVideo

Photo

music

Business

Univeristy

join

follow

Yellowstone NP

Photo: bison

Mammal

Football Team

class

City

Country

Page 5: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Broad Applications

5

Customer Service

Healthcare

Business IntelligenceEnterprise search

Robotics

RoboBrain[Saxena et al., Cornell & Stanford]

Intelligent Policing

Page 6: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

6

“find all patients diagnosed with eye tumor”

“Semantic queries by example”,

Lipyeow Lim et al., EDBT 2014

Certainly, You Do Not Want to Write This!

Page 7: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Search Knowledge Graphs

Structured search: Exact schema item + structure Precise and expressive Information overload: too complex schema

Keyword search: Free keywords, no structure User-friendly Low expressiveness

7

Page 8: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Graph Query

8

Find professors at age of 70, who works at Toronto and joined Google recently. Toronto

Prof., 70 yrs.

GoogleUniv. of Toronto

Google

DNNResearch

Geoffrey Hinton(1947-)

Graph queryNatural language queryA result (match)

Page 9: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Users freely post queries, without any knowledge on data graphs.

SLQ finds results through a set of transformations.

Prof., ~70 yrs

GoogleUT

Query

Geoffrey Hinton (Professor, 1947)

University of Toronto

DNNresearch

Google

A Match

Acronym transformation: ‘UT’ ‘University of Toronto’ Abbreviation transformation: ‘Prof.’ ‘Professor’ Numeric transformation: ‘~70’ ‘1947’ Structural transformation: an edge a path

Schema-less Graph Querying (SLQ, VLDB 2014)

99

Page 10: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

10

Features

Node matching features:

Edge matching features:

Matching Score

Evaluate a Candidate Match: Ranking Function

10

( ( ) | ) exp( ( , ( )) ( , ( )))Q Q

V Ev V e E

P Q Q F v v F e e

Geoffrey Hinton (Professor, 1947)

University of Toronto DNNresearch

Google

Prof., ~70 yrs

GoogleUT

QQuery:

?

Candidate Match: ( )Q

( , ( )) ( , ( ))V i ii

F v v f v v ( , ( )) ( , ( ))E j j

j

F e e g e e

Page 11: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Query-specific Ranking via Relevance Feedback

Generic ranking: sub-optimal for specific queries By “Washington”, user A means Washington D.C., while user

B might mean University of Washington

Query-specific ranking: tailored for each query But need additional query-specific information for further

disambiguation Where to get? From users!

11

Relevance Feedback:Users indicate the (ir)relevance of a handful of answers

Page 12: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Problem Definition

12

: A graph query

G: A knowledge graph

( ) : A candidate match to

( ( ) | , ) : A generic ranking function

: A set of positive/relevant matches of

: A set of negative/non-relevant matches of

Q

Q Q

F Q Q

Q

Q

M

M

Graph Relevance Feedback (GRF):Generate a query-specific ranking function for based on and

~

F QM M

Page 13: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

13

Page 14: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Query-specific Tuning

The represents (query-independent) feature weights. However, each query carries its own view of feature importance

Find query-specific that better aligned with the query using user feedback

14

*

* *

( ) ( )* *

( ( ) | , ) ( ( ) | , )

( ) (1 )( ) ( , )Q Q

F Q Q F Q Q

g R

M M

M M

User Feedback

Regularization

Page 15: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Type Inference

Infer the implicit type of each query node The types of the positive entities constitute a

composite type for each query node

15

Query Positive Feedback

CandidateNodes

Page 16: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Context Inference

Entity context: neighborhood of the entity The contexts of the positive entities constitute a

composite context for each query node

16

Query Positive Entities Candidates

Page 17: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

The Next Action with the New Ranking Function

17

It’s a query-dependent decision Many underlying factors may affect this decision Lead to a trade-off between answer quality and runtime

Re-searching Re-rankingHow Search the data graph again Re-rank the initial answer list

Pros Find new relevant answers, probably higher accuracy

Save time

Cons Time-consuming May lose some good answers

Page 18: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

A Predictive Solution

Build a binary classifier to predict the optimal action for each query

Key: Training set construction Feature extraction

Query, match and feedback features Convert each query into a 18-dimensional feature vector

Label assignment Assign a label to each query in the training set

18

specifies the preference between answer quality and runtime.

Page 19: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Experiment Setup

Base graph query engine: SLQ (Yang et at., 2014) Knowledge graph: DBpedia (4.6M nodes, 100M edges) Graph query sets: WIKI (50) and YAGO (100)

19

Wikipedia List Page Graph QueryStructured

Information need

Links between Wikipedia and DBpedia

Ground Truth

… …

WIKI

Page 20: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Experiment Setup

Base graph query engine: SLQ (Yang et at., 2014) Knowledge graph: DBpedia (4.6M nodes, 100M edges) Graph query sets: WIKI (50) and YAGO (100)

20

YAGO Class Graph QueryStructured

Information need

Links between YAGO and DBpedia

Ground Truth

YAGO

Naval Battles of World War II

Involving the United States

Battle of MidwayBattle of the Caribbean

… …

Instances

… …

Page 21: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Overall Performance

21

(a) WIKI (b) YAGO

Exp 1. Overall performance of different GRF variants

Page 22: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

Answer Quality vs. Runtime

22

Exp 3. Tradeoff between answer quality and runtime

Page 23: Exploiting Relevance Feedback in Knowledge Graph Search Xifeng Yan University of California at Santa Barbara with Yu Su, Shengqi Yang, Huan Sun, Mudhakar.

23