Row-less Universal Schema Patrick Verga and Andrew McCallum January - - PowerPoint PPT Presentation

row less universal schema
SMART_READER_LITE
LIVE PREVIEW

Row-less Universal Schema Patrick Verga and Andrew McCallum January - - PowerPoint PPT Presentation

Row-less Universal Schema Patrick Verga and Andrew McCallum January 15, 2000 January 15, 2000 Tech pioneer Bill Gates Tech pioneer Bill Gates stepped down today as chief stepped down today as chief Relation Types executive officer of


slide-1
SLIDE 1

Row-less Universal Schema

Patrick Verga and Andrew McCallum

slide-2
SLIDE 2

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

Relation Types

spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Melinda, Bill Steve, Microsoft Bill, Microsoft Bill, Steve Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to

structured textual

50k columns

2

slide-3
SLIDE 3

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

Entity Types

person location

  • rganization

per:worker per:scientist loc:city

  • rg:non-profit

Melinda Steve Microsoft Bill Seattle Dallas USA Hawaii Obama

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

country providence chairman president athlete politician head-of-state

structured textual

3

slide-4
SLIDE 4

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

Relation Types

structured textual

50k columns

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

4

slide-5
SLIDE 5

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

~ y

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle. Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

5

slide-6
SLIDE 6

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

6

slide-7
SLIDE 7

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

7

slide-8
SLIDE 8

Pattern Encoder

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

#######

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

####### ####### ####### ####### ####### ####### #######

8

January 15, 2000 Tech pioneer Bill Gates stepped down today as chief executive officer of Microsoft, the Seattle- headquartered software

  • giant. His long-time friend,

Steve Balmer, will take over as CEO of Microsoft. Gates will now focus on the charitable foundation he runs with his wife Melinda French Gates. Bill and Melinda were married in a ceremony in Hawaii, rather than her hometown of Dallas.

Gates moved his family into their 55,000-square-foot, $54 million house on the shore of Lake Washington, just outside Seattle.

slide-9
SLIDE 9

Joe NewEntity worked with his wife Jane NewEntity on relation extraction. Joe Jane Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

9

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

#######

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

Pattern Encoder

####### ####### ####### ####### ####### ####### #######

slide-10
SLIDE 10

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Pattern Encoder

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

####### ####### ####### ####### ####### ####### #######

10

Joe Jane

slide-11
SLIDE 11

#######

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

Pattern Encoder

Joe Jane Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### ####### ####### ####### ####### ####### ####### #######

11

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### #######

spouse

query:

#######

slide-12
SLIDE 12

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

vector

embedding distributed

representation

  • f

semantics learned

parameters

#######

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### ####### ####### ####### ####### ####### ####### #######

12

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### #######

spouse

query:

#######

Aggregation Function

slide-13
SLIDE 13

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Melinda, Bill Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### ####### ####### ####### ####### ####### ####### #######

13

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### #######

spouse

query:

#######

Aggregation Function

slide-14
SLIDE 14

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### ####### ####### ####### ####### ####### ####### #######

14

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### #######

spouse

query:

Aggregation Function

Melinda, Bill spouse per:co-worker married to

####### ####### #######

Query Independent

  • 1. Mean Pool
  • 2. Max Pool

####### ####### ####### #######

slide-15
SLIDE 15

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane

####### ####### ####### ####### ####### ####### ####### ####### #######

15

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### #######

Aggregation Function

Melinda, Bill

Query Dependent

co-founder

query:

#######

spouse per:co-worker married to

####### ####### #######

  • 0.1

0.02 5.0

  • 1. Max Column

####### ####### ####### ####### #######

slide-16
SLIDE 16

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane

####### ####### ####### ####### ####### ####### ####### ####### #######

16

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### #######

Aggregation Function

Melinda, Bill

Query Dependent

co-founder

query:

#######

spouse per:co-worker married to

####### ####### #######

  • 0.1

0.02 5.0

  • 1. Max Column
  • 2. Attention

####### ####### ####### #######

.006 .008 .986

####### ####### ####### #######

slide-17
SLIDE 17

####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######

Gates moved his family into their 55,000- square-foot, $54 million house on the shore

  • f Lake Washington, just outside Seattle.

CEO chairman president leader-of head-of head-of-state married to spouse born-in friend per:co-worker per:lives-in

  • rg:top-members
  • rg:member

~ x

~ y

Pattern Encoder

Steve, Microsoft Bill, Microsoft Bill, Steve Microsoft, Seattle Melinda, Dallas Bill, Seattle Obama, Hawaii Obama, US

Joe Jane

####### ####### ####### ####### ####### ####### ####### ####### #######

17

Joe NewEntity worked with his wife Jane NewEntity on relation extraction.

####### ####### #######

Aggregation Function

Melinda, Bill

Training

spouse per:co-worker married to

####### ####### ####### #######

slide-18
SLIDE 18

Entity Type Prediction

  • Freebase + Clueweb
  • 1.1k FB types, 5k textual types, ~140k entities
  • MAP over 707 test types
  • 100 negatives randomly generated for each positive

18

slide-19
SLIDE 19

19

/education/academic, /music/artist,


/music/group member, /people/person

/sports/pro athlete,


/sports/sports award winner, /people/person
 /award/award winner, /tv/tv actor

/baseball /baseball player /architecture /engineer /computer
 /computer scientist engineer, /book/author, sir


/projects/project focus , /people/person

Example Max Columns

slide-20
SLIDE 20

Model MAP Entity Embeddings 3.1 Mean Pool 35.5 Max Pool 31.0 Attention 54.5 Max Relation 54.7 Model MAP Entity Embeddings 54.8 Mean Pool 39.5 Max Pool 32.6 Attention 55.7 Max Column 55.4

20

Entity Type Prediction

seen 
 at train unseen 
 at train

slide-21
SLIDE 21

Relation Extraction

  • Subset of FB15k-237
  • Freebase + Clueweb

21

slide-22
SLIDE 22

Model MRR Hits@10 Entity Embeddings 5.2 11.9 Mean Pool 18.1 35.8 Max Pool 20.8 40.3 Attention 29.8 49.7 Max Relation 28.5 48.1 Model MRR Hits@10 Entitiy Pair Embeddings 31.9 51.7 Mean Pool 25.9 45.9 Max Pool 29.6 49.9 Attention 31.9 51.7 Max Column 31.7 51.9

22

Relation Extraction

seen 
 at train unseen 
 at train

slide-23
SLIDE 23

Model MRR Hits@10 Entity Embeddings 5.2 11.9 5.2 11.9 Attention 29.8 49.7 27.8 51.0 Max Relation 28.5 48.1 29.6 54.2 Model MRR Hits@10 Entity Embeddings 31.9 51.7 Entity Embeddings-LSTM 33.4 54.4 Attention 31.9 51.7 Attention-LSTM 30.0 53.4 Max Column 31.7 51.9 Max Column-LSTM 30.8 54.8

23

Relation Extraction Rowless + Columnless

seen 
 at train unseen 
 at train

slide-24
SLIDE 24

Future Work

24

  • Improvements to Attention model
  • Discern between irrelevant and counter evidence

Melinda, Bill spouse per:co-worker married to

####### ####### #######

thinks is awful

#######

hates

query:

slide-25
SLIDE 25
  • Row-less Universal Schema forgoes explicit row

representations for aggregation over observed columns

  • Performs as well as old model using fewer parameters
  • Naturally extends to unseen entities
  • Aggregation based on query-specific attention
  • utperforms query-independent aggregations


25

Summary

T h a n k y

  • u

!