SlideShare uma empresa Scribd logo
1 de 34
Statistically Significant Detection
of Linguistic Change
Vivek Kulkarni, Rami Al-Rfou, Bryan Perozzi, Steven Skiena
1
Linguistic Change
Language evolves over time.
Words can acquire or change meaning.
2
1900 2000
Battle Of Otterbourne
3
Tracking Changes in Word Meaning
Why Detecting Linguistic Change Matters ?
 Focus less on keywords
 Intended meaning of words
 Semantic Search
 Google’s Humming Bird Algorithm
 Powerset (bought by Microsoft)
Tracking and detecting linguistic change, key to
Semantic Web and Search Applications 4
2011
2012
Effectively capture word semantics over time using
Word Embeddings
5
Talk in a nut shell
Detect when and whether a change is significant.
Results on Twitter, Google Book Ngrams etc.
Project Code available from: http://www.vivekkulkarni.net
Results – A quick preview
6
SOURCE WORD ESTIMATED
CHANGE POINT
PAST USAGE CURRENT USAGE
GOOGLE
BOOK
NGRAMS
tape 1970 red-tape , tape from her mouth A copy of the tape
gay 1985 Happy and gay Gay and lesbians
sex 1965 Of the fair sex To have sex with
plastic 1950 Of plastic possibilities Put in a plastic
TWITTER
Candy April 2013 Candy sweets Candy crush (the game)
snap Dec 2012 Snap a picture Snap chat
mystery Dec 2012 Mystery books Mystery Manor (a game)
Detecting Linguistic Change – How we did it
 Tracking and detecting linguistic change in a word’s usage is really
the problem of
Constructing a time series capturing word’s usage
Analyzing the time series for statistically significant changes
(Change point Detection)
7
Talk outline
 Different methods to model word evolution as a time series
Frequency
Syntactic
Distributional
 Method to establish statistical significance of changes.
 Results on several datasets of online content like Twitter
8
Outline
 Different methods to model word evolution as a time series
Frequency
Syntactic
Distributional
 Method to establish statistical significance of changes.
 Results on several datasets of online content like Twitter
9
Using Frequency
 Frequency based approaches to capture word usage widely used
 Google Trends
 Google NGrams [Jean-Baptiste Michel et.al, 2011]
 Given a word w, we construct the time series as
where ∁ 𝑡 is the corpus at time t.
𝑇𝑡 𝑤 =
#(𝑤 ∈ ∁ 𝑡)
𝐶𝑡
10
Time series
for gay
When Frequency Fails
Sandy Hurricane
Sandy changed meaning but Hurricane did not 11
A Second Approach – Syntactic Method
 Part of Speech changes indicative of linguistic shift
 Google Syntactic Ngram Viewer [Jason Mann et.al 2014, Goldberg et.al 2013]
 Each word is tagged with its Part of Speech (POS)
 happy and sad
ADJ CC ADJ
 Construct a time series by tracking changes in POS Distribution
12
𝑄𝑡 = 𝑃𝑟𝑋~𝑃𝑂𝑆𝑇𝑎𝑔𝑠 𝑋 𝑤, 𝐶𝑡
𝑇𝑡 𝑤 = 𝐽𝑆𝐷𝑖𝑣𝑒𝑟𝑔𝑒𝑛𝑐𝑒 𝑄0, 𝑄𝑡
apple
13
Syntactic Method - An Example
sex
Captures only syntactic change 14
Syntactic Method-When it fails
Distributional Method-Overview
15
Learn word
representations
for each time
point
Align word
embeddings
Construct time
series
1 2 3
Distributional Method-Overview
16
Learn word
embeddings for
each time point
Align word
embeddings
Construct time
series
1 2 3
Learning word representations (embeddings)
17
flower rose daisy bird canary Robin
flower 0 10 20 1 1 1
rose 10 0 15 0 0 0
daisy 20 15 0 1 2 3
bird 1 0 1 0 20 40
canary 1 0 2 20 0 10
robin 1 0 3 40 10 0
[Rumelhart+, 2003]
• Learning a representation is learning a mapping -- φ: 𝒱 → ℛ 𝒹
• Capture syntactic and semantic aspects of word usage
• Advantages: Very effective on NLP Tasks, scalable and online
methods.
Skipgram Model – Learning Word Embeddings
18
Can learn word representations by back-propagating errors
Predict surrounding words of every word
Context word
Current word
Vector for wI
Objective
Using Word Embeddings To Detect Linguistic
Change – Key Idea
 Train word embeddings for each time point
 We use Skipgram model [Mikolov 2013] to train word embeddings.
1900 19801920 1950 1990 2000
• Track displacement of a word over time in this latent space
19
19801920 1950 1990 20001900
Distance
But … a road block
Need to align word embeddings from different vector spaces !
20
Cannot compare word embeddings from different time points
because they lie in different vector spaces.
Distributional Method-Overview
21
Learn word
representations
for each time
point
Align word
embeddings
Construct time
series
1 2 3
Aligning Word Embeddings – Assumptions
Local structure preserved as most words did not change over time
22
Local structure between vector spaces equivalent under a linear
transformation.
Aligning Word Embeddings – Main Idea
Learn a linear transformation W that attempts to preserve local
structure : Use piece-wise linear regression using only k-Nearest
Neighbors
23
Distributional Method-Overview
24
Learn word
representations
for each time
point
Align word
embeddings
Construct time
series
1 2 3
Distributional Method- Constructing Time series
 Align embeddings to joint space using piece-wise linear regression
model
 Can now induce a distance measure over the embeddings
 Construct the time series for w as
Recall: Cosine Distance between 2 vectors is 0 if they are equal. Higher
values indicate greater distance.
𝑇𝑡(𝑤) = 𝐶𝑜𝑠𝑖𝑛𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒(𝑣0, 𝑣 𝑡)
25
Example: Distributional Time series
gay 26
Outline
 Different methods to model word evolution as a time series
Frequency
Syntactic
Distributional
 Method to establish statistical significance of changes.
 Results on several datasets of online content like Twitter
27
Track changes in Mean, Variance or perhaps both
Track a test statistic at each time point
Eg. Difference in mean between left and right end of time series
Cumulative Sum (CUSUM)
Use some notion of significance to establish whether test statistic at
time point t indicates a significant shift and hence a change point.
Label the most significant shift as the change point.
Change Point Detection in Time Series
28
Change Point Detection
Based on Mean Shift Model described in [Taylor]29
Outline
 Different methods to model word evolution as a time series
Frequency
Syntactic
Distributional
 Method to establish statistical significance of changes.
 Results on several datasets of online content like Twitter
30
Popular words detected by word embeddings(Google
Book NGrams)
WORD PVALUE ESTIMATED CHANGE
POINT
PAST USAGE CURRENT USAGE
tape < 0.0001 1970 red-tape , tape
from her mouth
A copy of the tape
gay 0.0001 1985 Happy and gay Gay and lesbians
sex 0.0002 1965 Of the fair sex To have sex with
checking 0.0002 1970 Then checking
himself
Checking him out
peck 0.0004 1935 Brewed a peck A peck on the
cheek
plastic 0.0005 1950 Of plastic
possibilities
Put in a plastic
diet 0.0104 1970 Diet of bread and
butter
To go on a diet
honey 0.02 1930 Land of milk and
honey
Oh honey !
31
Popular words detected by POS (Google Book
NGrams)
WORD ESTIMATED CHANGE POINT REASON
apple 1984 NOUN TO PROPER NOUN
windows 1992 NOUN TO PROPER NOUN
bush 1989 NOUN TO PROPER NOUN
click 1952 NOUN TO VERB
handle 1951 NOUN TO VERB
sink 1972 VERB TO NOUN
32
Popular words detected by word embeddings - Twitter
WORD ESTIMATED CHANGE
POINT
PAST USAGE CURRENT USAGE
candy April 2013 Candy sweets Candy Crush (the
game)
rally March 2013 Political rally Rally of soldiers
(The Immortalis
Game)
snap December 2012 Snap a picture Snap chat
mystery December 2012 Mystery books Mystery Manor (the
game)
shades June 2012 Color shades,
shaded glasses
50 shades of grey
33
Summary
• Looked at the problem of detecting and tracking linguistic
change
• A meta approach to detect and track such linguistic changes
by constructing a time series
• Demonstrated how to use word embeddings to detect linguistic
change.
• Change point detection and estimation
• Results on Google Ngrams, Twitter, Amazon Movie Reviews.
• Project Code available from: http://www.vivekkulkarni.net
34

Mais conteúdo relacionado

Último

SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxRizalinePalanog2
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Introduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxIntroduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxBhagirath Gogikar
 
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATIONSTS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATIONrouseeyyy
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Servicemonikaservice1
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑Damini Dixit
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfSumit Kumar yadav
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Servicenishacall1
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY1301aanya
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptxAlMamun560346
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 

Último (20)

Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptxSCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
SCIENCE-4-QUARTER4-WEEK-4-PPT-1 (1).pptx
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Introduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxIntroduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptx
 
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATIONSTS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 

Destaque

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Statistically Significant Detection of Linguistic Change

  • 1. Statistically Significant Detection of Linguistic Change Vivek Kulkarni, Rami Al-Rfou, Bryan Perozzi, Steven Skiena 1
  • 2. Linguistic Change Language evolves over time. Words can acquire or change meaning. 2 1900 2000 Battle Of Otterbourne
  • 3. 3 Tracking Changes in Word Meaning
  • 4. Why Detecting Linguistic Change Matters ?  Focus less on keywords  Intended meaning of words  Semantic Search  Google’s Humming Bird Algorithm  Powerset (bought by Microsoft) Tracking and detecting linguistic change, key to Semantic Web and Search Applications 4 2011 2012
  • 5. Effectively capture word semantics over time using Word Embeddings 5 Talk in a nut shell Detect when and whether a change is significant. Results on Twitter, Google Book Ngrams etc. Project Code available from: http://www.vivekkulkarni.net
  • 6. Results – A quick preview 6 SOURCE WORD ESTIMATED CHANGE POINT PAST USAGE CURRENT USAGE GOOGLE BOOK NGRAMS tape 1970 red-tape , tape from her mouth A copy of the tape gay 1985 Happy and gay Gay and lesbians sex 1965 Of the fair sex To have sex with plastic 1950 Of plastic possibilities Put in a plastic TWITTER Candy April 2013 Candy sweets Candy crush (the game) snap Dec 2012 Snap a picture Snap chat mystery Dec 2012 Mystery books Mystery Manor (a game)
  • 7. Detecting Linguistic Change – How we did it  Tracking and detecting linguistic change in a word’s usage is really the problem of Constructing a time series capturing word’s usage Analyzing the time series for statistically significant changes (Change point Detection) 7
  • 8. Talk outline  Different methods to model word evolution as a time series Frequency Syntactic Distributional  Method to establish statistical significance of changes.  Results on several datasets of online content like Twitter 8
  • 9. Outline  Different methods to model word evolution as a time series Frequency Syntactic Distributional  Method to establish statistical significance of changes.  Results on several datasets of online content like Twitter 9
  • 10. Using Frequency  Frequency based approaches to capture word usage widely used  Google Trends  Google NGrams [Jean-Baptiste Michel et.al, 2011]  Given a word w, we construct the time series as where ∁ 𝑡 is the corpus at time t. 𝑇𝑡 𝑤 = #(𝑤 ∈ ∁ 𝑡) 𝐶𝑡 10 Time series for gay
  • 11. When Frequency Fails Sandy Hurricane Sandy changed meaning but Hurricane did not 11
  • 12. A Second Approach – Syntactic Method  Part of Speech changes indicative of linguistic shift  Google Syntactic Ngram Viewer [Jason Mann et.al 2014, Goldberg et.al 2013]  Each word is tagged with its Part of Speech (POS)  happy and sad ADJ CC ADJ  Construct a time series by tracking changes in POS Distribution 12 𝑄𝑡 = 𝑃𝑟𝑋~𝑃𝑂𝑆𝑇𝑎𝑔𝑠 𝑋 𝑤, 𝐶𝑡 𝑇𝑡 𝑤 = 𝐽𝑆𝐷𝑖𝑣𝑒𝑟𝑔𝑒𝑛𝑐𝑒 𝑄0, 𝑄𝑡
  • 14. sex Captures only syntactic change 14 Syntactic Method-When it fails
  • 15. Distributional Method-Overview 15 Learn word representations for each time point Align word embeddings Construct time series 1 2 3
  • 16. Distributional Method-Overview 16 Learn word embeddings for each time point Align word embeddings Construct time series 1 2 3
  • 17. Learning word representations (embeddings) 17 flower rose daisy bird canary Robin flower 0 10 20 1 1 1 rose 10 0 15 0 0 0 daisy 20 15 0 1 2 3 bird 1 0 1 0 20 40 canary 1 0 2 20 0 10 robin 1 0 3 40 10 0 [Rumelhart+, 2003] • Learning a representation is learning a mapping -- φ: 𝒱 → ℛ 𝒹 • Capture syntactic and semantic aspects of word usage • Advantages: Very effective on NLP Tasks, scalable and online methods.
  • 18. Skipgram Model – Learning Word Embeddings 18 Can learn word representations by back-propagating errors Predict surrounding words of every word Context word Current word Vector for wI Objective
  • 19. Using Word Embeddings To Detect Linguistic Change – Key Idea  Train word embeddings for each time point  We use Skipgram model [Mikolov 2013] to train word embeddings. 1900 19801920 1950 1990 2000 • Track displacement of a word over time in this latent space 19 19801920 1950 1990 20001900 Distance
  • 20. But … a road block Need to align word embeddings from different vector spaces ! 20 Cannot compare word embeddings from different time points because they lie in different vector spaces.
  • 21. Distributional Method-Overview 21 Learn word representations for each time point Align word embeddings Construct time series 1 2 3
  • 22. Aligning Word Embeddings – Assumptions Local structure preserved as most words did not change over time 22 Local structure between vector spaces equivalent under a linear transformation.
  • 23. Aligning Word Embeddings – Main Idea Learn a linear transformation W that attempts to preserve local structure : Use piece-wise linear regression using only k-Nearest Neighbors 23
  • 24. Distributional Method-Overview 24 Learn word representations for each time point Align word embeddings Construct time series 1 2 3
  • 25. Distributional Method- Constructing Time series  Align embeddings to joint space using piece-wise linear regression model  Can now induce a distance measure over the embeddings  Construct the time series for w as Recall: Cosine Distance between 2 vectors is 0 if they are equal. Higher values indicate greater distance. 𝑇𝑡(𝑤) = 𝐶𝑜𝑠𝑖𝑛𝑒𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒(𝑣0, 𝑣 𝑡) 25
  • 27. Outline  Different methods to model word evolution as a time series Frequency Syntactic Distributional  Method to establish statistical significance of changes.  Results on several datasets of online content like Twitter 27
  • 28. Track changes in Mean, Variance or perhaps both Track a test statistic at each time point Eg. Difference in mean between left and right end of time series Cumulative Sum (CUSUM) Use some notion of significance to establish whether test statistic at time point t indicates a significant shift and hence a change point. Label the most significant shift as the change point. Change Point Detection in Time Series 28
  • 29. Change Point Detection Based on Mean Shift Model described in [Taylor]29
  • 30. Outline  Different methods to model word evolution as a time series Frequency Syntactic Distributional  Method to establish statistical significance of changes.  Results on several datasets of online content like Twitter 30
  • 31. Popular words detected by word embeddings(Google Book NGrams) WORD PVALUE ESTIMATED CHANGE POINT PAST USAGE CURRENT USAGE tape < 0.0001 1970 red-tape , tape from her mouth A copy of the tape gay 0.0001 1985 Happy and gay Gay and lesbians sex 0.0002 1965 Of the fair sex To have sex with checking 0.0002 1970 Then checking himself Checking him out peck 0.0004 1935 Brewed a peck A peck on the cheek plastic 0.0005 1950 Of plastic possibilities Put in a plastic diet 0.0104 1970 Diet of bread and butter To go on a diet honey 0.02 1930 Land of milk and honey Oh honey ! 31
  • 32. Popular words detected by POS (Google Book NGrams) WORD ESTIMATED CHANGE POINT REASON apple 1984 NOUN TO PROPER NOUN windows 1992 NOUN TO PROPER NOUN bush 1989 NOUN TO PROPER NOUN click 1952 NOUN TO VERB handle 1951 NOUN TO VERB sink 1972 VERB TO NOUN 32
  • 33. Popular words detected by word embeddings - Twitter WORD ESTIMATED CHANGE POINT PAST USAGE CURRENT USAGE candy April 2013 Candy sweets Candy Crush (the game) rally March 2013 Political rally Rally of soldiers (The Immortalis Game) snap December 2012 Snap a picture Snap chat mystery December 2012 Mystery books Mystery Manor (the game) shades June 2012 Color shades, shaded glasses 50 shades of grey 33
  • 34. Summary • Looked at the problem of detecting and tracking linguistic change • A meta approach to detect and track such linguistic changes by constructing a time series • Demonstrated how to use word embeddings to detect linguistic change. • Change point detection and estimation • Results on Google Ngrams, Twitter, Amazon Movie Reviews. • Project Code available from: http://www.vivekkulkarni.net 34

Notas do Editor

  1. Make animation for time series