neural text generation in stories using entity ...eaclark7/www/naacl2018slidesw… · neural text...

46
NEURAL T EXT GENERATION IN S TORIES USING E NTITY R EPRESENTATIONS AS C ONTEXT Elizabeth Clark Yangfeng Ji Noah A. Smith Paul G. Allen School of Computer Science & Engineering University of Washington NAACL 2018 1/17

Upload: others

Post on 11-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

NEURAL TEXT GENERATION IN STORIES

USING ENTITY REPRESENTATIONS

AS CONTEXT

Elizabeth Clark Yangfeng Ji Noah A. Smith

Paul G. Allen School of Computer Science & EngineeringUniversity of Washington

NAACL 2018

1 / 17

Page 2: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

MOTIVATION

Context:

Current Sentence:

All of a sudden, Emily walked towardsthe dragon.

Seth yelled at her to get back but

2 / 17

Page 3: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

MOTIVATION

Context:

Current Sentence:

All of a sudden, [Emily]1 walked towards[the dragon]2.

[Seth]3 yelled at [her]1 to get back but

2 / 17

Page 4: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

MOTIVATION

Context:

Current Sentence:

All of a sudden, [Emily]1 walked towards[the dragon]2.

[Seth]3 yelled at [her]1 to get back but[she]1 ignored [him]3.

2 / 17

Page 5: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

OVERVIEW

Can we use entity representations as a form of context toimprove text generation for stories?

Three evaluations:1. Mention generation2. Sentence selection3. Human evaluation

3 / 17

Page 6: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

SEQ2SEQ WITH ATTENTION

Seth yelled at her to get back but

hc ,1 hc ,2 hc ,3 hc ,4 hc ,5 hc ,6 hc ,7 hc ,8

Current Sentence:

Cite things here!

4 / 17

Page 7: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

SEQ2SEQ WITH ATTENTION

Seth yelled at her to get back but

hc ,1 hc ,2 hc ,3 hc ,4 hc ,5 hc ,6 hc ,7 hc ,8

· · · Emily walked towards the dragon .

. . . hp,T−5 hp,T−4 hp,T−3 hp,T−2 hp,T−1 hp,T

Current Sentence:

Previous Sentence:

4 / 17

Page 8: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

SEQ2SEQ WITH ATTENTION

Seth yelled at her to get back but

hc ,1 hc ,2 hc ,3 hc ,4 hc ,5 hc ,6 hc ,7 hc ,8

· · · Emily walked towards the dragon .

. . . hp,T−5 hp,T−4 hp,T−3 hp,T−2 hp,T−1 hp,T

Current Sentence:

Previous Sentence:

prevsent

αT−5αT−4

αT−3 αT−2αT−1

αT

4 / 17

Page 9: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”“We’ll take care of Furble tomorrow,”the doctor said.“You’ve named my tumor?!” Dukeshrieked.“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 10: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”

“We’ll take care of Furble tomorrow,”the doctor said.“You’ve named my tumor?!” Dukeshrieked.“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 11: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”“We’ll take care of Furble tomorrow,”the doctor said.

“You’ve named my tumor?!” Dukeshrieked.“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 12: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”“We’ll take care of Furble tomorrow,”the doctor said.“You’ve named my tumor?!” Dukeshrieked.

“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 13: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”“We’ll take care of Furble tomorrow,”the doctor said.“You’ve named my tumor?!” Dukeshrieked.“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”

Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 14: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EXAMPLE STORY GENERATION

“This is ridiculous,” said Duke.“Yesterday I felt fine, and now you’retelling me I’m at death’s door?!”“We’ll take care of Furble tomorrow,”the doctor said.“You’ve named my tumor?!” Dukeshrieked.“Yeah,” replied the doctor coolly, “we’vefound that anthropomorphizing tumorshelps people in your position come toterms with their condition more easily.”Lance yells over the speakers “no suddenhammering”

Legend:

• Seq2Seq

• Human

Clark et al. (2018)

5 / 17

Page 15: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

COHERENT MENTION GENERATION

Context:All of a sudden, [Emily]1 walked towards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to get back but .

Option A:

3 [she]1 ignored [him]3.

Option B:

7 [Emily]1 ignored [Seth]3.

Grosz et al. (1995)Hobbs (1979)

6 / 17

Page 16: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

THREE FORMS OF CONTEXT

The current sentence ht−1

The previous sentenceprevsent

The entities entity

7 / 17

Page 17: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

Ji et al. (2017)

8 / 17

Page 18: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

Ji et al. (2017)

8 / 17

Page 19: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

Ji et al. (2017)

8 / 17

Page 20: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

Ji et al. (2017)

8 / 17

Page 21: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

Ji et al. (2017)

8 / 17

Page 22: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS FOR GENERATION

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

entity

9 / 17

Page 23: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

ENTITY REPRESENTATIONS FOR GENERATION

Context:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

Current Sentence:[Seth]3 yelled at [her]1 to getback but

entity

9 / 17

Page 24: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

COMBINING THE CONTEXT REPRESENTATIONS

ht−1

prevsent

max_pool contextt

entity

Full Model

S2SA

Entity Model

10 / 17

Page 25: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

COMBINING THE CONTEXT REPRESENTATIONS

ht−1

prevsent

max_pool contextt

entity

Full Model

S2SA

Entity Model

10 / 17

Page 26: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

COMBINING THE CONTEXT REPRESENTATIONS

ht−1

prevsent

max_pool contextt

entity

Full Model

S2SA

Entity Model

10 / 17

Page 27: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

CORPUS

Toronto Book Corpus: Adventure books

390 books split into 42,000 segments

43 million tokens, 35,000 types

Annotations from Stanford CoreNLP

Zhu et al. (2015)Clark and Manning (2016a,b)

11 / 17

Page 28: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, walkedtowards .

yelled at to getback but . . .

Candidates:[Emily]1 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 29: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, [Emily]1 walkedtowards .

yelled at to getback but . . .

Candidates:[Emily]1[the dragon]2 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 30: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, [Emily]1 walkedtowards [the dragon]2.

yelled at to getback but . . .

Candidates:[Emily]1[the dragon]2[Seth]3 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 31: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, [Emily]1 walkedtowards [the dragon]2.[Seth]3 yelled at to getback but . . .

Candidates:[Emily]1[the dragon]2[Seth]3[her]1 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 32: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, [Emily]1 walkedtowards [the dragon]2.[Seth]3 yelled at [her]1 to getback but . . .

Candidates:[Emily]1[the dragon]2[Seth]3[her]1[she]1 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 33: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #1: MENTION GENERATION

Passage:All of a sudden, [Emily]1 walkedtowards [the dragon]2.[Seth]3 yelled at [her]1 to getback but . . .

Candidates:[Emily]1[the dragon]2[Seth]3[her]1[she]1 (gold)

Mention Generation

S2SA

Entity Mode

l

Full M

odel0

0.1

0.2

0.3

0.4

0.5

0.6

0.44

0.54 0.55

Mea

nAv

erag

ePre

cisio

n

12 / 17

Page 34: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #2: SENTENCE SELECTION

Context:. . . All of a sudden, [Emily]1 walked towards [the dragon]2.

Gold sentence:[Seth]3 yelled at [her]1 to get back but [she]1 ignored [him]3.

Distractor sentence:[She]1 patted [its head]4 and [it]2 curled up outside [the cave]5.

Sentence Selection Accuracy

0.5 0.52 0.54 0.56 0.58S2SA

Entity Model

Full Model

0.53

0.57

0.55

Accuracy

13 / 17

Page 35: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #2: SENTENCE SELECTION

Context:. . . All of a sudden, [Emily]1 walked towards [the dragon]2.

Gold sentence:[Seth]3 yelled at [her]1 to get back but [she]1 ignored [him]3.

Distractor sentence:[She]1 patted [its head]4 and [it]2 curled up outside [the cave]5.

Sentence Selection Accuracy

0.5 0.52 0.54 0.56 0.58S2SA

Entity Model

Full Model

0.53

0.57

0.55

Accuracy

13 / 17

Page 36: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

Context

Full Model S2SA Model

Explanation

14 / 17

Page 37: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

Context

Full Model27 passages

S2SA Model23 passages

Explanation

14 / 17

Page 38: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextScared of us hoodlums, they are. Like we ever would touch ’em,”and he spat on the pavement. “The big city gang go where we

want, when we want, no stopping us,” he stated proudly.“These people here are all just sheep.

Baa, baa, one after the other.

Full Model S2SA Model

Explanation

14 / 17

Page 39: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextScared of us hoodlums, they are. Like we ever would touch ’em,”and he spat on the pavement. “The big city gang go where we

want, when we want, no stopping us,” he stated proudly.“These people here are all just sheep.

Baa, baa, one after the other.

Full ModelThere is nothing I can do.”

S2SA ModelShe didn’t know what happened

Explanation

14 / 17

Page 40: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextScared of us hoodlums, they are. Like we ever would touch ’em,”and he spat on the pavement. “The big city gang go where we

want, when we want, no stopping us,” he stated proudly.“These people here are all just sheep.

Baa, baa, one after the other.

Full ModelThere is nothing I can do.”

S2SA ModelShe didn’t know what happened

Explanation

“ ‘She’ isn’t mentioned in the paragraph.”

14 / 17

Page 41: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextHe was wearing brown slacks and a tan button-down shirt, with

wool slippers. He looked about sixty, a little paunchy, with baldingbrown hair and a bushy mustache. Ice blue eyes observed Alejo

keenly, then drifted over to Wara.“Welcome to my home.” The man’s voice was deep and calm.

Full Model S2SA Model

Explanation

14 / 17

Page 42: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextHe was wearing brown slacks and a tan button-down shirt, with

wool slippers. He looked about sixty, a little paunchy, with baldingbrown hair and a bushy mustache. Ice blue eyes observed Alejo

keenly, then drifted over to Wara.“Welcome to my home.” The man’s voice was deep and calm.

Full Model“I’m proud of you,” he said.

S2SA Model“What’s going on ?’

Explanation

14 / 17

Page 43: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

EVALUATION #3: HUMAN EVALUATION

ContextHe was wearing brown slacks and a tan button-down shirt, with

wool slippers. He looked about sixty, a little paunchy, with baldingbrown hair and a bushy mustache. Ice blue eyes observed Alejo

keenly, then drifted over to Wara.“Welcome to my home.” The man’s voice was deep and calm.

Full Model“I’m proud of you,” he said.

S2SA Model“What’s going on ?’

Explanation

“The introduction makes the man soundlike he is a stranger, so ‘I’m proud of you’

seems out of place.”

14 / 17

Page 44: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

FUTURE DIRECTIONS

Deeper entity knowledge: social commonsense, modelinginter-entity relationships

Structure in story generation: discourse structure, semantics,story structure

New domains: news articles, recipes

Rashkin et al. (2018)Bosselut et al. (2018)

15 / 17

Page 45: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

THANK YOU!

Questions?

[email protected]

16 / 17

Page 46: Neural Text Generation in Stories Using Entity ...eaclark7/www/naacl2018slidesw… · NEURAL TEXT GENERATION IN STORIES USING ENTITY REPRESENTATIONS AS CONTEXT ElizabethClark YangfengJi

REFERENCES

Bosselut, A., Levy, O., Holtzman, A., Ennis, C., Fox, D., and Choi, Y. (2018).Simulating action dynamics with neural process networks. In ICLR.

Clark, E., Ross, A. S., Tan, C., Ji, Y., and Smith, N. A. (2018). Creative writing witha machine in the loop: Case studies on slogans and stories. In IUI.

Clark, K. and Manning, C. D. (2016a). Deep reinforcement learning formention-ranking coreference models. In EMNLP.

Clark, K. and Manning, C. D. (2016b). Improving coreference resolution by learningentity-level distributed representations. In ACL.

Grosz, B. J., Weinstein, S., and Joshi, A. K. (1995). Centering: A framework formodeling the local coherence of discourse. Computational Linguistics,21(2):203–225.

Hobbs, J. R. (1979). Coherence and coreference. Cognitive Science, 3:67–90.

Ji, Y., Tan, C., Martschat, S., Choi, Y., and Smith, N. A. (2017). Dynamic entityrepresentations in neural language models. In EMNLP.

Rashkin, H., Bosselut, A., Sap, M., Knight, K., and Choi, Y. (2018). Modeling naivepsychology of characters in simple commonsense stories. In ACL.

Zhu, Y., Kiros, R., Zemel, R. S., Salakhutdinov, R., Urtasun, R., Torralba, A., andFidler, S. (2015). Aligning books and movies: Towards story-like visualexplanations by watching movies and reading books. In ICCV.

17 / 17