GloVe: Global Vectors for Word Representation
Jeffrey Pennington, Richard Socher, Christopher D. Manning Presented by Chris Kedzie March 25, 2015
Chris Kedzie GloVe March 25, 2015 1 / 30
GloVe: Global Vectors for Word Representation Jeffrey Pennington, - - PowerPoint PPT Presentation
GloVe: Global Vectors for Word Representation Jeffrey Pennington, Richard Socher, Christopher D. Manning Presented by Chris Kedzie March 25, 2015 Chris Kedzie GloVe March 25, 2015 1 / 30 Overview Introduction 1 Problem 2 GloVe Model 3
Chris Kedzie GloVe March 25, 2015 1 / 30
1
2
3
4
Chris Kedzie GloVe March 25, 2015 2 / 30
1
2
3
4
Chris Kedzie GloVe March 25, 2015 3 / 30
Chris Kedzie GloVe March 25, 2015 4 / 30
Chris Kedzie GloVe March 25, 2015 5 / 30
Chris Kedzie GloVe March 25, 2015 5 / 30
Chris Kedzie GloVe March 25, 2015 5 / 30
wt−2 wt−1 wt+1 wt+2 wavg . . . . . .
Chris Kedzie GloVe March 25, 2015 6 / 30
wt−2 wt−1 wt+1 wt+2 wavg . . . . . .
Chris Kedzie GloVe March 25, 2015 6 / 30
Chris Kedzie GloVe March 25, 2015 7 / 30
wt−2 wt−1 wt+1 wt+2 wavg . . . . . .
Chris Kedzie GloVe March 25, 2015 8 / 30
wt−2 wt−1 wt+1 wt+2 wavg . . . . . .
Chris Kedzie GloVe March 25, 2015 8 / 30
wt−2 wt−1 wt+1 wt+2 wavg . . . . . .
wavg w
Chris Kedzie GloVe March 25, 2015 8 / 30
1
2
3
4
Chris Kedzie GloVe March 25, 2015 9 / 30
Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms. Chris Kedzie GloVe March 25, 2015 10 / 30
Theatre or theater is a collaborative form of fine art that uses live performers to present the experience of a real or imagined event before a live audience in a specific place. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art and stagecraft are used to enhance the physicality, presence and immediacy of the experience. The specific place of the performance is also named by the word ”theatre” as derived from the Ancient Greek (thatron, ”a place for viewing”), itself from (theomai, ”to see”, ”to watch”, ”to observe”). Modern Western theatre comes from large measure from ancient Greek drama, from which it borrows technical terminology, classification into genres, and many of its themes, stock characters, and plot elements. Theatre artist Patrice Pavis defines theatricality, theatrical language, stage writing, and the specificity of theatre as synonymous expressions that differentiate theatre from the other performing arts, literature, and the arts in general. Theatre today, broadly defined, includes performances of plays and musicals, ballets, operas and various other forms.
Chris Kedzie GloVe March 25, 2015 10 / 30
Chris Kedzie GloVe March 25, 2015 11 / 30
Chris Kedzie GloVe March 25, 2015 11 / 30
1
2
3
4
Chris Kedzie GloVe March 25, 2015 12 / 30
V
i ˜
Chris Kedzie GloVe March 25, 2015 13 / 30
Chris Kedzie GloVe March 25, 2015 14 / 30
Chris Kedzie GloVe March 25, 2015 14 / 30
k Xik
Chris Kedzie GloVe March 25, 2015 14 / 30
k Xik
Xi
Chris Kedzie GloVe March 25, 2015 14 / 30
k Xik
Xi
Chris Kedzie GloVe March 25, 2015 14 / 30
k Xik
Xi
Chris Kedzie GloVe March 25, 2015 14 / 30
P(k|ice) P(k|steam)
Chris Kedzie GloVe March 25, 2015 15 / 30
P(k|ice) P(k|steam)
Chris Kedzie GloVe March 25, 2015 15 / 30
P(k|ice) P(k|steam)
Chris Kedzie GloVe March 25, 2015 15 / 30
P(k|ice) P(k|steam)
Chris Kedzie GloVe March 25, 2015 15 / 30
P(k|ice) P(k|steam)
Chris Kedzie GloVe March 25, 2015 15 / 30
Chris Kedzie GloVe March 25, 2015 16 / 30
Pjk .
Chris Kedzie GloVe March 25, 2015 16 / 30
Chris Kedzie GloVe March 25, 2015 17 / 30
Chris Kedzie GloVe March 25, 2015 18 / 30
Chris Kedzie GloVe March 25, 2015 18 / 30
i ˜
j ˜
i ˜
Chris Kedzie GloVe March 25, 2015 18 / 30
i ˜
j ˜
i ˜
i ˜
j ˜
i ˜
j ˜
GloVe March 25, 2015 18 / 30
i ˜
j ˜
i ˜
i ˜
j ˜
i ˜
j ˜
GloVe March 25, 2015 18 / 30
i ˜
j ˜
i ˜
j ˜
GloVe March 25, 2015 19 / 30
i ˜
j ˜
i ˜
j ˜
i ˜
Chris Kedzie GloVe March 25, 2015 19 / 30
i ˜
j ˜
i ˜
j ˜
i ˜
Chris Kedzie GloVe March 25, 2015 19 / 30
i ˜
j ˜
i ˜
j ˜
i ˜
i ˜
Chris Kedzie GloVe March 25, 2015 19 / 30
i ˜
j ˜
i ˜
j ˜
i ˜
i ˜
i ˜
Chris Kedzie GloVe March 25, 2015 19 / 30
V
i ˜
Chris Kedzie GloVe March 25, 2015 20 / 30
V
i ˜
Chris Kedzie GloVe March 25, 2015 20 / 30
V
i ˜
Chris Kedzie GloVe March 25, 2015 20 / 30
V
i ˜
Chris Kedzie GloVe March 25, 2015 20 / 30
V
i ˜
V
i ˜
1 f(0) = 0 2 f(x) should be non-decreasing so that rare co-occurrences are not
3 f(x) should be relatively small for large values of x, so that frequent
Chris Kedzie GloVe March 25, 2015 20 / 30
V
i ˜
V
i ˜
xmax
Chris Kedzie GloVe March 25, 2015 20 / 30
Chris Kedzie GloVe March 25, 2015 21 / 30
V
i ˜
xmax
4 and xmax = 100.
Chris Kedzie GloVe March 25, 2015 22 / 30
1
2
3
4
Chris Kedzie GloVe March 25, 2015 23 / 30
Chris Kedzie GloVe March 25, 2015 24 / 30
Chris Kedzie GloVe March 25, 2015 24 / 30
Chris Kedzie GloVe March 25, 2015 24 / 30
Chris Kedzie GloVe March 25, 2015 25 / 30
Chris Kedzie GloVe March 25, 2015 26 / 30
Chris Kedzie GloVe March 25, 2015 26 / 30
Chris Kedzie GloVe March 25, 2015 26 / 30
Chris Kedzie GloVe March 25, 2015 27 / 30
Chris Kedzie GloVe March 25, 2015 28 / 30
Chris Kedzie GloVe March 25, 2015 28 / 30
Chris Kedzie GloVe March 25, 2015 29 / 30
Chris Kedzie GloVe March 25, 2015 30 / 30