54
Age Prediction in Blogs A Study of Style, Content, and Online Behavior in Pre and PostSocial Media Generations Sara Rosenthal and Kathleen McKeown Columbia University ACL 2011

AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Age  Prediction  in  Blogs  A  Study  of  Style,  Content,  and  Online  Behavior  in  Pre-­‐  and  Post-­‐Social  Media  Generations  Sara  Rosenthal  and  Kathleen  McKeown  Columbia  University  ACL  2011  

Page 2: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Motivation  

• Age  predicAon  is  useful  for  targeted  adverAsing  

• Age  predicAon  can  be  used  improve  results  in  larger  tasks  such  as  idenAfying  opinion,  persuasion,  and  power  

2  

Page 3: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Research  Questions  

• What  are  the  differences  in  how  people  communicate  that  most  directly  reveal  their  age?  

• Which  age  groups  should  be  chosen  to  yield  the  best  results?  • Under  and  over  18  • 10s  vs.  20s  vs.  30s  

3  

Page 4: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Approach  • Supervised  Machine  Learning  •  IdenAfy  influenAal  features  

•  Online  Behavior  •  e.g.  Number  of  posts  

•  Lexical-­‐StylisAc  •  e.g.  Sentence  length  

•  Lexical-­‐Content  •  e.g.  Bag  of  words  

• Perform  ClassificaAon  •  Using  LogisAc  Regression  

4  

Page 5: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Corpus  • 24,500  LiveJournal  Blogs  • Each  blog  is  wriXen  by  a  person  living  in  the  US.  

• Each  blog  includes  the  blogger’s  age  in  the  profile  

• Each  blogger  has  wriXen  at  least  one  entry  in  2009  or  later  

5  

Page 6: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Corpus  

6  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Year  of  Birth  

NUM  BLOGGERS  

Younger  Older  

Page 7: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Corpus  

7  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Year  of  Birth  

NUM  BLOGGERS  

1981  -­‐  1988  

Younger  Older  

Page 8: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Features:  Online  Behavior  

Feature Explana;on Example Trend  as  Age  Decreases

Interests   Top  interests  provided  on  their  profile  page  (LiveJournal  only) disney N/A

#  of  Friends Number  of  friends  the  blogger  has 45 fluctuates

#  of  Posts Number  of  downloadable  posts  (0-­‐25) 23 decrease

#  of  LifeAme  Posts Number  of  posts  wriXen  in  total 821 decrease

Time The  mode  hour  (00-­‐23)  and  day  the  blogger  posts 11,  Monday no  change

Comments Average  number  of  comments  per  post 2.64 increase

8  

Page 9: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Interests  

18-­‐22 28-­‐32 38-­‐42 reading   3   reading   1   reading   1  

…  drawing   10   love   24   sci-­‐fi   21  fanficAon   11   drawing   25   love   34  love   15   sci-­‐fi   37   polyamory   40  disney   39   tori  amos   49   drawing   65  yaoi   40   hiking   55   sca   67  johnny  depp   42   fanficAon   58   babylon  5   84  rent   44   women   61   leather   94  

•  Extracted  the  top  200  interests  per  age  group.  •  The  value  refers  to  the  posi%on  of  the  interest  in  its  list.  •  Keep  discriminaAng  interests  

9  

Page 10: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Interests  

18-­‐22 28-­‐32 38-­‐42 reading   3   reading   1   reading   1  

…  drawing   10   love   24   sci-­‐fi   21  fanficAon   11   drawing   25   love   34  love   15   sci-­‐fi   37   polyamory   40  disney   39   tori  amos   49   drawing   65  yaoi   40   hiking   55   sca   67  johnny  depp   42   fanficAon   58   babylon  5   84  rent   44   women   61   leather   94  

•  Extracted  the  top  200  interests  per  age  group.  •  The  value  refers  to  the  posi%on  of  the  interest  in  its  list.  •  Keep  discriminaAng  interests  

10  

Page 11: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Interests  

18-­‐22 28-­‐32 38-­‐42 reading   3   reading   1   reading   1  

…  drawing   10   love   24   sci-­‐fi   21  fanfic;on   11   drawing   25   love   34  love   15   sci-­‐fi   37   polyamory   40  disney   39   tori  amos   49   drawing   65  yaoi   40   hiking   55   sca   67  johnny  depp   42   fanfic;on   58   babylon  5   84  rent   44   women   61   leather   94  

•  Extracted  the  top  200  interests  per  age  group.  •  The  value  refers  to  the  posi%on  of  the  interest  in  its  list.  •  Keep  discriminaAng  interests  

11  

Page 12: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Interests  

18-­‐22 28-­‐32 38-­‐42 reading   3   reading   1   reading   1  

…  drawing   10   love   24   sci-­‐fi   21  fanficAon   11   drawing   25   love   34  love   15   sci-­‐fi   37   polyamory   40  disney   39   tori  amos   49   drawing   65  yaoi   40   hiking   55   sca   67  johnny  depp   42   fanficAon   58   babylon  5   84  rent   44   women   61   leather   94  

•  Extracted  the  top  200  interests  per  age  group.  •  The  value  refers  to  the  posi%on  of  the  interest  in  its  list.  •  Keep  discriminaAng  interests  

12  

Page 13: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Friends:  no  clear  trend  

13  0  

10  

20  

30  

40  

50  

60  

70  

80  

90  

Year  of  Birth  

FRIENDS  

Younger  Older  

Page 14: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Lifetime  Posts:  older  have  more  posts  

14  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Year  of  Birth  

LIFETIME  POSTS  

Younger  Older  

Page 15: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Online  Behavior  Comments:  younger  have  more  comments  

15  0  

0.5  

1  

1.5  

2  

2.5  

3  

3.5  

4  

Average  #  of  Com

men

ts  in  a  Single  En

try  

Year  of  Birth  

COMMENTS  

Younger  Older  

Page 16: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Features:  Lexical  -­‐  Stylistic  Feature Explana;on Example Trend  as  Age  

Decreases

EmoAcons Number  of  emoAcons1 :) increase

Acronyms Number  of  internet  acronyms1 lol increase

Slang Number  of  words  that  are  not  found  in  the  dicAonary1 wazzup increase

PunctuaAon Number  of  stand-­‐alone  punctuaAon1 ! increase

CapitalizaAon Number  of  words  (with  length  of  >1)  that  are  all  CAPS1

YOU increase

Links/Images Number  of  URL  and  image  links1 www.site.com fluctuates

Sentence  Length average  sentence  length 40 decrease

1  Normalized  per  sentence  per  entry   16  

Page 17: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Lexical  -­‐  Stylistic  Emoticons:    younger  use  more  emoticons  

17  0  

0.0005  

0.001  

0.0015  

0.002  

0.0025  

0.003  

0.0035  

0.004  

0.0045  

0.005  

Per  S

entence,  Per  Entry  

Year  of  Birth  

EMOTICONS  

Younger  Older  

Page 18: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Lexical  -­‐  Stylistic  Capitalizations:  younger  use  more  capital  words  

18  0  

0.01  

0.02  

0.03  

0.04  

0.05  

0.06  

Per  S

entence,  Per  Entry  

Year  of  Birth  

CAPITALIZATIONS  

Younger  Older  

Page 19: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Lexical  -­‐  Stylistic  Sentence  Length:  older  have  longer  sentences  

19  50  

55  

60  

65  

70  

75  

80  

Num

ber  o

f  Cha

racters  

Year  of  Birth  

SENTENCE  LENGTH  

Younger  Older  

Page 20: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Lexical  -­‐  Stylistic  Links/Images:  no  clear  trend  

20  0.01  

0.015  

0.02  

0.025  

0.03  

0.035  

Per  S

entence,  Per  Entry  

Year  of  Birth  

LINKS/IMAGES  

Younger  Older  

Page 21: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Features:  Lexical  -­‐  Content  

Feature   Explana;on   Example  

CollocaAons   Top  collocaAons  in  the  age  group   in  []  relaAonship  

Syntax  CollocaAons   Top  syntax  collocaAons  in  the  age  group1   have  []  clue  

POS  CollocaAons   Top  Part-­‐of-­‐Speech  (POS)  collocaAons  in  the  age  group     wouldn’t  VB  

Words   Top  words  in  the  age  group   his  

21  Smadja,  Frank.  1993.  Retrieving  collocaAons  from  text:  Xtract.  ComputaAonal  LinguisAcs,  19:143–  177.  

Page 22: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Words  

22  

18-­‐22 28-­‐32 38-­‐42 1 ldqout  (‘) 101 great   166   may   164 2 t 152 find   167   old   183 3 school 172 many   177   house   191 4 x 173 years   179   world   192 5 anything 175 week   181   please   198

•  Extracted  the  top  200  words  per  age  group  using  post  frequency  •  The  value  refers  to  the  posi%on  of  the  word  in  its  list.  •  Keep  discriminaAng  words  

Page 23: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Related  Work  •  Age  and  geographic  inferences  of  the  LiveJournal  social  network  [Mackinnon  and  Warren  2006]  •  Use  mean  age  of  a  bloggers  social  network  •  +/-­‐  5  years:  98%  accuracy  

•  An  exploraAon  of  observable  features  related  to  blogger  age  [Burger  and  Henderson  2006]  •  IdenAfy  style  and  online  behavior  features  •  Under/Over  18:  unsuccessful  

•  Effects  of  Age  and  Gender  in  Blogging  [Schler  et  al  2006]  •  Use  style  and  content  features  to  predict  whether  a  blogger  is  in  their  10s,  20s,  or  30s  

Ian  Mackinnon  and  Robert  Warren.  2006.  Age  and  geographic  inferences  of  the  livejournal  social  network.  Burger,  John  D.  and  John  C.  Henderson.  2006.  An  exploraAon  of  observable  features  related  to  blogger  age.    Schler,  J.,  M.  Koppel,  S.  Argamon,  and  J.  Pennebaker.  2006.  Effects  of  age  and  gender  on  blogging.      

23  

Page 24: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiments  

• Data:  PorAons  of  the  LiveJournal  corpus  • ClassificaAon:  LogisAc  Regression  and  10-­‐  fold  cross-­‐validaAon  in  Weka  [Hall  et  al]  

• StaAsAcal  significance:  t-­‐test  

Hall,  Mark,  Eibe  Frank,  Geoffrey  Holmes,  Bernhard  Pfahringer,  Peter  Reutemann,  and  Ian  H.  WiXen.  2009.  The  weka  data  mining  sovware:  An  update.   24  

Page 25: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

25  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

Younger  Older  

Page 26: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

26  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

22-­‐29  

Younger  Older  

Page 27: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

27  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

20s   10s  30s  

Younger  Older  

Page 28: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  –  Schler  et  al  

28  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

20s  23-­‐27  

10s  13-­‐17  

30s  33-­‐37  

Younger  Older  

Page 29: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

29  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

20s  28-­‐32  

10s  18-­‐22  

30s  38-­‐42  

Younger  Older  

Page 30: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

30  

Blogger  (Schler  et  al)   LiveJournal  

#  Blogs   19,320   11,521  

#  Posts   1.4  million   256,000  

#  of  Words   295  million   50  million  

•  Schler  et  al’s  corpus  is  much  larger  

Page 31: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

31  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 32: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

32  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 33: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

33  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 34: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

34  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 35: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

35  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 36: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

36  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 37: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

37  

Blogger  (Schler  et  al)   LiveJournal  

Majority  Baseline   44%  (13-­‐17)   48%  (28-­‐32)  

Style  and  Content   ✓   ✓   ✓  

Online-­‐Behavior   ✓  

10s  vs.  30s   96%     92%   95%  

10s  vs.  20s   87%   72%   81%  

20s  vs.  30s   77%   68%   72%  

Overall  Accuracy   76%   57%   67%  

•  10s  vs.  30s  is  classified  the  best  •  10s  vs.  20s  are  classified  well  •  20s  vs.  30s  are  classified  the  worst  •  Adding  online  behavior  features  increased  accuracy  by  10%  

Experiment  I  Age  Groups  

Page 38: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  –  Schler  et  al  

38  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

20s  23-­‐27  

10s  13-­‐17  

30s  33-­‐37  

Younger  Older  

Page 39: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  I  Age  Groups  

39  0  

200  

400  

600  

800  

1000  

1200  

1400  

1600  

Age  

NUM  BLOGGERS  

20s  28-­‐32  

10s  18-­‐22  

30s  38-­‐42  

Younger  Older  

Page 40: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  II  Social  Media  and  Generation  Y  • GeneraAon  Y  uses  social  networking,  blogs,  and  instant  messaging  more  than  their  elders  [Zickuhr  2010]  

•  For  each  birth  year  X  =  1975-­‐1988:  •  get  1500  blogs  (∼33,000  posts)  balanced  across  years  BEFORE  X  

•  get  1500  blogs  (∼33,000  posts)  balanced  across  years  IN/AFTER  X  

•  Perform  binary  classificaAon  between  blogs  BEFORE  X  and  IN/AFTER  X  

40  Kathryn  Zickuhr.  2010.  Pew  Internet.  GeneraAons  2010.  

Page 41: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

41  

Experiment  II  Social  Media  and  Generation  Y  

64  

67  

70  

73  

76  

79  

Accuracy  (%

)  

Style  vs.  Content  

BOW  

Online-­‐Behavior  +  Lexical  Stylis;c  

Younger  Older   Year  of  Birth  

Page 42: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

42  

Experiment  II  Social  Media  and  Generation  Y  

74  

75  

76  

77  

78  

79  

80  

81  

82  

83  

Accuracy  (%

)  

BOW  +  Online-­‐Behavior  +  Lexical-­‐Stylis;c  

Younger  Older   Year  of  Birth  

Page 43: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

43  

Experiment  II  Year  of  Birth  

74  

75  

76  

77  

78  

79  

80  

81  

82  

83  

Accuracy  (%

)  

BOW  +  Online-­‐Behavior  +  Lexical-­‐Stylis;c  

Younger  Older   Year  of  Birth  1979  

1982  

1983  

1984  

1977  

Page 44: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  II  Social  Media  and  Generation  Y  

44  1975  1976  1977  1978  1979  1980  1981  1982  1983  1984  1985  1986  1987  1988  

Web  Forums  (1995)    18                      AIM  (1997)    20    18                  Weblogs  (1999)    22    20                  SMS  Messaging  (2000)        21    18              MySpace  (2003)            21    20      19      Facebook  (2004)            22    21    20      TwiXer  (2007)                                        22                  

22  21  20  19  18  College  Age:  

Year  became  popular    

Year  or  birth  

Page 45: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  III  A  closer  look  

45  

Features   1979 1984

Baselines   Online-­‐Behavior 59.7 61.6 Interests 70.2 74.6

Excluding  Interests  

Lexical-­‐StylisAc 65.4 67.3 Slang  +  EmoAcons  +  Acronyms 60.6 62.1 Online-­‐Behavior  +  Lexical-­‐StylisAc 67.2 71.3 BOW 75.3 77.8 BOW  +  Online-­‐Behavior 76.4 79.2 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc 77.5 80.9 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc  +  Syntax  CollocaAons 74.8 80.4

Including  Interests  

BOW  +  Online-­‐Behavior  +  Interests  +  Lexical-­‐StylisAc 80 81.6 All  Features 71.3 74.1

Page 46: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  III  A  closer  look  -­‐  baselines  

46  

Features   1979 1984

Baselines   Online-­‐Behavior 59.7 61.6 Interests 70.2 74.6

Excluding  Interests  

Lexical-­‐StylisAc 65.4 67.3 Slang  +  EmoAcons  +  Acronyms 60.6 62.1 Online-­‐Behavior  +  Lexical-­‐StylisAc 67.2 71.3 BOW 75.3 77.8 BOW  +  Online-­‐Behavior 76.4 79.2 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc 77.5 80.9 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc  +  Syntax  CollocaAons 74.8 80.4

Including  Interests  

BOW  +  Online-­‐Behavior  +  Interests  +  Lexical-­‐StylisAc 80 81.6 All  Features 71.3 74.1

Page 47: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  III  A  closer  look  -­‐  Lexical-­‐Stylistic  

47  

Features   1979 1984

Baselines   Online-­‐Behavior 59.7 61.6 Interests 70.2 74.6

Excluding  Interests  

Lexical-­‐StylisAc 65.4 67.3 Slang  +  EmoAcons  +  Acronyms 60.6 62.1 Online-­‐Behavior  +  Lexical-­‐StylisAc 67.2 71.3 BOW 75.3 77.8 BOW  +  Online-­‐Behavior 76.4 79.2 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc 77.5 80.9 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc  +  Syntax  CollocaAons 74.8 80.4

Including  Interests  

BOW  +  Online-­‐Behavior  +  Interests  +  Lexical-­‐StylisAc 80 81.6 All  Features 71.3 74.1

Page 48: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Experiment  III  A  closer  look  -­‐  Lexical-­‐Content  

48  

Features   1979 1984

Baselines   Online-­‐Behavior 59.7 61.6 Interests 70.2 74.6

Excluding  Interests  

Lexical-­‐StylisAc 65.4 67.3 Slang  +  EmoAcons  +  Acronyms 60.6 62.1 Online-­‐Behavior  +  Lexical-­‐StylisAc 67.2 71.3 BOW 75.3 77.8 BOW  +  Online-­‐Behavior 76.4 79.2 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc 77.5 80.9 BOW  +  Online-­‐Behavior  +  Lexical-­‐StylisAc  +  Syntax  CollocaAons 74.8 80.4

Including  Interests  

BOW  +  Online-­‐Behavior  +  Interests  +  Lexical-­‐StylisAc 80 81.6 All  Features 71.3 74.1

Page 49: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Conclusion  &  Future  Work  • Style,  Content,  and  Online  Behavior  are  useful  in  age  predicAon  

• Significant  changes  in  wriAng  style  coincide  with  the  popularity  of  social  media  technologies  

• In  the  future,  we  want  to  experiment  with  using  ranking,  regression,  and/or  clustering  for  age  predicAon  

49  

Page 50: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Effects  of  Age  and  Gender  on  Blogging  

•  Experiment  on  3  age  groups  consisAng  of  19,320  bloggers  downloaded  from  blogger.com  in  2004  

•  1,405,209  blog  entries  and      295,526,889  words  

•  Features  •  Style-­‐based:    

•  select  part  of  speech  (pronouns,  determiners)  •  funcAon  words  (negaAon,  assent)  •  blog-­‐specific  (hyperlinks,  post  length,  blog  words)  

•  Content-­‐based:  •  content  words  –  with  the  highest  informaAon  gain  

•  LIWC  categories  –  job,  money  

Schler,  J.,  M.  Koppel,  S.  Argamon,  and  J.  Pennebaker.  2006.  Effects  of  age  and  gender  on  blogging.    

13-­‐17   23-­‐27   33-­‐37  

8240   8086   2994  

50  

Page 51: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Effects  of  Age  and  Gender  on  Blogging  

•  Use  the  MulA-­‐Class  Real  Winnow  learning  algorithm  •  Majority  Baseline  (13-­‐17):  43.8%  •  Results  

•  Find  content  to  be  slightly  more  useful  than  style,  but  the  combinaAon  is  most  useful.  

•  10s  are  disAnguishable  from  30’s      with  accuracy  above  96%  

•  10s  are  disAnguishable  from  20’s      with  accuracy  of  87.3%  

•  Many  30s  are  misclassified  as  20’s,      yielding  overall  accuracy  of  76.2%    

•  But…  age  changes.  Will  the  wriAng  style  of  these  people  change  drasAcally  in  a  few  years?  

10s   20s   30s  

10s   7036   1027   177  

20s   916   6326   844  

30s   178   1465   1351  

Schler,  J.,  M.  Koppel,  S.  Argamon,  and  J.  Pennebaker.  2006.  Effects  of  age  and  gender  on  blogging.  

51  

Page 52: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

LiveJournal  •  Livejournal  provides  a  bot  policy  page  providing  data  formats  to  be  used  instead  of  scraping  the  website.    •  hXp://www.livejournal.com/bots/  •  XML  Profile  format  •  XML  Entries  format  •  Friends  Data  •  Interests  Data  

•  ModificaAons  •  Added  type  of  friend  connecAon  to  profile  informaAon  

•  MutualFriend,  Friend,  FriendOf  •  Added  interest  count  for  enAre  LiveJournal  network  •  Added  comments  to  entries    

•  Java  API  •  Can  be  used  to  download  and  read  blogs  

•  Downloaded  Data  •  10000  blogs  all  containing  age  (Downloaded  in  2009)  •  30000  blogs  containing  age,  originaAng  from  US,UK,AU,CA,  and  updated  

within  the  last  two  years  (Downloaded  in  2010)  52  

Page 53: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Livejournal  Blog  •  Profiles  

•  profile  name  •  full  name  •  age  •  e-­‐mail  •  bio  •  interests  •  friends  list  •  Country  and  city/state  •  etc...    

•  Blog  Entries  •  entries  

•  date  wriXen  •  profile  name  

•  comments  •  profile  name  of  person  that  lev  the  comment  •  date  wriXen  •  thread  structure  

53  

Page 54: AgePredictioninBlogssara/publications/acl2011agepresentation.pdf · OnlineBehavior$ Interests$ 1822 2832 3842 reading$ 3 reading$ 1 reading$ 1 … drawing$ 10 love$ 24 scifi 21 fanficAon$

Xtract    Retrieving  Collocations  from  Text  •  Stage  1:  Extract  significant  collocaAons  from  all  words  within  a  +/-­‐  5  window.  Filter  out  words  that  do  not  have  significant  strength  and  spread.  Part  of  speech  can  be  used  as  part  of  the  collocaAon  as  well.  •  strength:  w1  occurs  with  w0  more  than  average  •  spread:      

•  Stage  2:  Use  bigrams  from  stage  1  to  create  n-­‐grams  •  Precision:  40%  

•  Stage  3:  Filter  bigrams  further  to  keep  the  ones  that  have  good  syntax  relaAonships  such  as  VO,SV,NN,  NJ.  Use  those  collocaAons  to  create  new  n-­‐grams.    •  Precision:  80%,  Recall:  90%*  

Smadja,  Frank.  1993.  Retrieving  collocaAons  from  text:  Xtract.  ComputaAonal  LinguisAcs,  19:143–  177.  *  Figure  taken  from  paper    

54