modelingindividualleveldata) inthe)21 stcentury) padhraicsmyth ... · 2018. 5. 25. · p. smyth,...

67
P. Smyth, SIAM-DM, May 2013: 1 Modeling IndividualLevel Data in the 21 st Century Padhraic Smyth Department of Computer Science University of California, Irvine PresentaAon at SIAM Data Mining Conference, May 2013

Upload: others

Post on 24-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 1

Modeling  Individual-­‐Level  Data    in  the  21st  Century  

Padhraic  Smyth  Department  of  Computer  Science  University  of  California,  Irvine  

 PresentaAon  at  SIAM  Data  Mining  Conference,  May  2013  

 

Page 2: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 2

                 

Page 3: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 3

Outline  of  Talk  

•  What  is  individual  level-­‐data?  –  Historical  context  and  examples  

•  How  can  we  use  individual-­‐level  data?  –  Opportuni5es  for  machine  learning  and  data  mining  

•  Research  example:  –  Modeling  of  personal  archive  data    

•  Conclusions  

Page 4: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 4

Individual  Data:  Demographics  

•  1950’s:  availability  of  demographic  data  –  Age,  zip-­‐code,  income,  educa5on,  employment  

•  ApplicaAons:  –  Direct  mail  marke5ng  –  Consumer  credit  and  loans  

•  Example:  Fair  Isaac  and  FICO  scores  

Page 5: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 5

Individual  Data:  TransacAons  

•  1980’s,  1990s’  –  Billing  and  purchase  transac5on  data  

•  ApplicaAons  –  Direct  marke5ng/adver5sing  –  Fraud  detec5on  –  …..  

Page 6: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 6

Fraud  DetecAon  at  AT&T  From  Becker,  Volinsky,  Wilks,  Techometrics,  2010  

Page 7: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 7

Individual  Data:  Internet  

•  2000’s  –  Web  pages  visited,  Web  searches  –  Ads  clicked  on  –  Text  (microblogs,  emails)  –  Social  networks  (online,  cell  phones,  etc)  –  Loca5on  (GPS,  mobile  phone)  

•  ApplicaAons  –  Online  adver5sing  –  Recommender  systems  –  …..  

Page 8: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 8

Graphics  from  Lars  Backstrom,  ESWC  2011  

Page 9: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 9

The  Corporate  View  of  Individual  Data  

Page 10: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 10

The  Corporate  View  of  Individual  Data  

Page 11: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 11

The  Individual’s  View  of  Individual  Data  

Page 12: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 12

Measurements

Individuals

Measurements

Page 13: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 13

Individual-­‐Level  Data  

•  Digital  Data  –  Emails  –  Text  messages  –  Phone  calls  –  Loca5on  –  Social  media  events  

•  Physiological  Data  –  Ac5vity  –  Exercise  –  Sleep  –  Blood  pressure  –  Diet  

Page 14: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 14

Email  Data  

                 

Time  plot  of  1/3  million  emails  sent  by  Stephen  Wolfram  over  20  yearssince  1989  From:  blog.stephenwolfram.com  The  Personal  Analy.cs  of  My  Life,  March  8th  2012  

Figures  from  The  Personal  Analy.cs  of  My  Life    blog.stephenwolfram.com,  March  2012  

Page 15: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 15

Email  Data  

                 

Working  on  book   Return  to  “normal”  life  

Figures  from  The  Personal  Analy.cs  of  My  Life    blog.stephenwolfram.com,  March  2012  

Page 16: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 16

Figures  from  The  Personal  Analy.cs  of  My  Life    blog.stephenwolfram.com,  March  2012  

Volume  of  Emails  Sent  

Page 17: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 17

Time  plots  of  Keystrokes  

Figures  from  The  Personal  Analy.cs  of  My  Life    blog.stephenwolfram.com,  March  2012  

Page 18: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 18

Figures  from  The  Personal  Analy.cs  of  My  Life    blog.stephenwolfram.com,  March  2012  

Aggregated  Daily  Rhythms  

Page 19: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 19

Time  of  Day  VariaAon  in  Enron  Emails  

0 1 2 3 4 5 6 7

x 105

0

100

200

300

400

500

600

700

Weekend Weekdays

Time  of  Day  VariaAon  in  Personal  Email  

Page 20: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 20

What  can  we  Measure?  

•  Monitoring  of  the  digital  world  –  Email,  texts,  Web  clicks,  searches,  social  media  ac5ons  –  Keystrokes,  mouse  movement,  eye  tracking  –  GPS  loca5on  –  And  so  on….  

•  Monitoring  of  the  physical  world  –  Heart-­‐rate  monitoring,    skin  conductance,  etc  –  Accelera5on/ac5vity  –  Diet  –  Sleep  paYerns  –  Audio  and  speech  –  Video  –  And  so  on…  

Page 21: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 21

Example  of  PatentsLikeMe  chart  From  Frost  and  Massagli,  2008    

Medical  Self-­‐ReporAng:  PaAentsLikeMe  

Page 22: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 22

Page 23: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 23

Exercise,  AcAvity,  Sleep  Monitoring  

Page 24: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 24

Page 25: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 25 Source: Zeo 2011

Professor  Larry  Smarr,  UCSD  

Page 26: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 26

Page 27: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 27

Microso_  SenseCam  

Page 28: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 28

Measuring  Blood  Flow  from  Video  Images  From  Wu  et  al,  MIT/Quanta,  SIGGRAPH  2012  

Page 29: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 29

Where  does  data  mining  and  machine  learning  fit?  

Page 30: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 30

Page 31: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 31

Page 32: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 32

Page 33: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 33

MyLifeBits:  A  personal  database  for  everything  Gemmell,  Bell,  Lueder  CACM  2006    

Page 34: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 34

Page 35: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 35

Page 36: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 36

PotenAal  ApplicaAons?  

•  Physical  and  Psychological  Health  Monitoring  –  Behavioral  modifica5on,  e.g.,  monitoring  +  feedback  to  reduce  stress  –  Monitoring  of  exis5ng  condi5ons,  e.g.,  depression  –  Early-­‐warning  via  symptoms,  e.g.,  Alzheimer’s  

•  InformaAon  Management  Tools  –  Search  and  retrieval  of  personal  informa5on  –  Ranking  and  priori5zing  (e.g.,  email)    

•  Sustainability  –  Monitoring  and  feedback  of  energy  consump5on  

•  EducaAon  –  Skills  assessment,  ntegrated  with  online  learning  

Page 37: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 37

OpportuniAes  for  Data  Mining  and  Machine  Learning  

•  Exploratory  Data  Analysis  –  Visualiza5on,  Clustering,  Summariza5on  

•  Social  Network  Analysis  –  Analyzing  ego-­‐networks  over  5me  

•  Time-­‐Series  Modeling  –  Change  detec5on,  segmenta5on,  trend  analysis  

•  Text  Analysis  –  sen5ment  classifica5on,  dialog  analysis  

•  PredicAon  –  Ac5vity  classifica5on,  ranking/priori5zing  ac5vi5es  

Page 38: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 38

Page 39: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 39

From  Doherty  et  al,    Computers  in  Human  Behavior,  2011  

Page 40: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 40

From  Doherty  et  al,    Computers  in  Human  Behavior,  2011  

Page 41: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 41

BeWell  System,  Andrew  Campbell,  Dartmouth  

Page 42: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 42

BeWell  System,  Andrew  Campbell,  Dartmouth  

Page 43: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 43

Inferring  What  is  Stressful  Ayzenberg,  Hernandez,  Picard,  CHI  2012  

Page 44: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 44

From  Ayzenberg,  Hernandez,  Picard,  CHI  2012  

Page 45: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 45

A Wandering Mind Is anUnhappy MindMatthew A. Killingsworth* and Daniel T. Gilbert

Unlike other animals, human beings spenda lot of time thinking about what is notgoing on around them, contemplating

events that happened in the past, might happenin the future, or will never happen at all. Indeed,“stimulus-independent thought” or “mind wan-dering” appears to be the brain’s default modeof operation (1–3). Although this ability is a re-markable evolutionary achievement that allowspeople to learn, reason, and plan, it may have anemotional cost. Many philosophical and religioustraditions teach that happiness is to be found byliving in the moment, and practitioners are trainedto resist mind wandering and “to be here now.”These traditions suggest that a wandering mind isan unhappy mind. Are they right?

Laboratory experiments have revealed a greatdeal about the cognitive and neural bases of mindwandering (3–7), but little about its emotionalconsequences in everyday life. The most reliablemethod for investigating real-world emotion is ex-perience sampling, which involves contacting peo-ple as they engage in their everyday activities andasking them to report their thoughts, feelings, andactions at that moment. Unfortunately, collectingreal-time reports from large numbers of people asthey go about their daily lives is so cumbersomeand expensive that experience sampling has rarelybeen used to investigate the relationship betweenmind wandering and happiness and has alwaysbeen limited to very small samples (8, 9).

We solved this problem by developing aWebapplication for the iPhone (Apple Incorporated,Cupertino, California), which we used to createan unusually large database of real-time reportsof thoughts, feelings, and actions of a broad rangeof people as they went about their daily activ-ities. The application contacts participants throughtheir iPhones at random moments during theirwaking hours, presents them with questions,and records their answers to a database at www.trackyourhappiness.org. The database currentlycontains nearly a quarter of a million samplesfrom about 5000 people from 83 different coun-tries who range in age from 18 to 88 and whocollectively represent every one of 86 major oc-cupational categories.

To find out how often people’s minds wander,what topics they wander to, and how those wan-derings affect their happiness, we analyzed samplesfrom 2250 adults (58.8% male, 73.9% residing inthe United States, mean age of 34 years) who wererandomly assigned to answer a happiness question(“How are you feeling right now?”) answered on acontinuous sliding scale from very bad (0) to verygood (100), an activity question (“What are youdoing right now?”) answered by endorsing one or

more of 22 activities adapted from the day recon-struction method (10, 11), and a mind-wanderingquestion (“Are you thinking about somethingother than what you’re currently doing?”) answeredwith one of four options: no; yes, something pleas-ant; yes, something neutral; or yes, something un-pleasant. Our analyses revealed three facts.

First, people’s minds wandered frequently, re-gardless of what they were doing. Mind wanderingoccurred in 46.9% of the samples and in at least30% of the samples taken during every activityexcept making love. The frequency of mind wan-dering in our real-world sample was considerablyhigher than is typically seen in laboratory experi-ments. Surprisingly, the nature of people’s activ-ities had only a modest impact on whether theirminds wandered and had almost no impact on thepleasantness of the topics to which their mindswandered (12).

Second, multilevel regression revealed that peo-ple were less happy when their minds were wan-dering than when they were not [slope (b) = –8.79,P < 0.001], and this was true during all activities,

including the least enjoyable. Although people’sminds were more likely to wander to pleasant topics(42.5% of samples) than to unpleasant topics(26.5% of samples) or neutral topics (31% of sam-ples), people were no happier when thinking aboutpleasant topics than about their current activity (b =–0.52, not significant) and were considerably un-happier when thinking about neutral topics (b =–7.2, P < 0.001) or unpleasant topics (b = –23.9,P < 0.001) than about their current activity (Fig. 1,bottom). Although negative moods are knownto cause mind wandering (13), time-lag analysesstrongly suggested that mind wandering in oursample was generally the cause, and not merelythe consequence, of unhappiness (12).

Third, what people were thinking was a betterpredictor of their happiness than was what theywere doing. The nature of people’s activities ex-plained 4.6% of the within-person variance in hap-piness and 3.2% of the between-person variance inhappiness, but mind wandering explained 10.8%of within-person variance in happiness and 17.7%of between-person variance in happiness. The var-iance explained by mind wandering was largelyindependent of the variance explained by the na-ture of activities, suggesting that the two were in-dependent influences on happiness.

In conclusion, a human mind is a wanderingmind, and a wandering mind is an unhappy mind.The ability to think about what is not happeningis a cognitive achievement that comes at an emo-tional cost.

References and Notes1. M. E. Raichle et al., Proc. Natl. Acad. Sci. U.S.A. 98, 676

(2001).2. K. Christoff, A. M. Gordon, J. Smallwood, R. Smith,

J. W. Schooler, Proc. Natl. Acad. Sci. U.S.A. 106, 8719(2009).

3. R. L. Buckner, J. R. Andrews-Hanna, D. L. Schacter,Ann. N. Y. Acad. Sci. 1124, 1 (2008).

4. J. Smallwood, J. W. Schooler, Psychol. Bull. 132, 946 (2006).5. M. F. Mason et al., Science 315, 393 (2007).6. J. Smallwood, E. Beach, J. W. Schooler, T. C. Handy,

J. Cogn. Neurosci. 20, 458 (2008).7. R. L. Buckner, D. C. Carroll, Trends Cogn. Sci. 11, 49 (2007).8. J. C. McVay, M. J. Kane, T. R. Kwapil, Psychon. Bull. Rev.

16, 857 (2009).9. M. J. Kane et al., Psychol. Sci. 18, 614 (2007).

10. D. Kahneman, A. B. Krueger, D. A. Schkade, N. Schwarz,A. A. Stone, Science 306, 1776 (2004).

11. A. B. Krueger, D. A. Schkade, J. Public Econ. 92, 1833 (2008).12. Materials and methods are available as supporting

material on Science Online.13. J. Smallwood, A. Fitzgerald, L. K. Miles, L. H. Phillips,

Emotion 9, 271 (2009).14. We thank V. Pitiyanuvath for engineering www.

trackyourhappiness.org and R. Hackman, A. Jenkins,W. Mendes, A. Oswald, and T. Wilson for helpful comments.

Supporting Online Materialwww.sciencemag.org/cgi/content/full/330/6006/932/DC1Materials and MethodsTable S1References

18 May 2010; accepted 29 September 201010.1126/science.1192439

BREVIA

Harvard University, Cambridge, MA 02138, USA.

*To whom correspondence should be addressed. E-mail:[email protected]

Fig. 1. Mean happiness reported during each ac-tivity (top) and while mind wandering to unpleas-ant topics, neutral topics, pleasant topics or notmind wandering (bottom). Dashed line indicatesmean of happiness across all samples. Bubble areaindicates the frequency of occurrence. The largestbubble (“not mind wandering”) corresponds to53.1% of the samples, and the smallest bubble(“praying/worshipping/meditating”) corresponds to0.1% of the samples.

12 NOVEMBER 2010 VOL 330 SCIENCE www.sciencemag.org932 o

n Ap

ril 2

7, 2

013

ww

w.s

cien

cem

ag.o

rgD

ownl

oade

d fro

m

Killingworth  and  Gilbert,  Science,  2010    5000  individuals    250,000  self-­‐reports  from  a  Web  app  

Page 46: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 46

A Wandering Mind Is anUnhappy MindMatthew A. Killingsworth* and Daniel T. Gilbert

Unlike other animals, human beings spenda lot of time thinking about what is notgoing on around them, contemplating

events that happened in the past, might happenin the future, or will never happen at all. Indeed,“stimulus-independent thought” or “mind wan-dering” appears to be the brain’s default modeof operation (1–3). Although this ability is a re-markable evolutionary achievement that allowspeople to learn, reason, and plan, it may have anemotional cost. Many philosophical and religioustraditions teach that happiness is to be found byliving in the moment, and practitioners are trainedto resist mind wandering and “to be here now.”These traditions suggest that a wandering mind isan unhappy mind. Are they right?

Laboratory experiments have revealed a greatdeal about the cognitive and neural bases of mindwandering (3–7), but little about its emotionalconsequences in everyday life. The most reliablemethod for investigating real-world emotion is ex-perience sampling, which involves contacting peo-ple as they engage in their everyday activities andasking them to report their thoughts, feelings, andactions at that moment. Unfortunately, collectingreal-time reports from large numbers of people asthey go about their daily lives is so cumbersomeand expensive that experience sampling has rarelybeen used to investigate the relationship betweenmind wandering and happiness and has alwaysbeen limited to very small samples (8, 9).

We solved this problem by developing aWebapplication for the iPhone (Apple Incorporated,Cupertino, California), which we used to createan unusually large database of real-time reportsof thoughts, feelings, and actions of a broad rangeof people as they went about their daily activ-ities. The application contacts participants throughtheir iPhones at random moments during theirwaking hours, presents them with questions,and records their answers to a database at www.trackyourhappiness.org. The database currentlycontains nearly a quarter of a million samplesfrom about 5000 people from 83 different coun-tries who range in age from 18 to 88 and whocollectively represent every one of 86 major oc-cupational categories.

To find out how often people’s minds wander,what topics they wander to, and how those wan-derings affect their happiness, we analyzed samplesfrom 2250 adults (58.8% male, 73.9% residing inthe United States, mean age of 34 years) who wererandomly assigned to answer a happiness question(“How are you feeling right now?”) answered on acontinuous sliding scale from very bad (0) to verygood (100), an activity question (“What are youdoing right now?”) answered by endorsing one or

more of 22 activities adapted from the day recon-struction method (10, 11), and a mind-wanderingquestion (“Are you thinking about somethingother than what you’re currently doing?”) answeredwith one of four options: no; yes, something pleas-ant; yes, something neutral; or yes, something un-pleasant. Our analyses revealed three facts.

First, people’s minds wandered frequently, re-gardless of what they were doing. Mind wanderingoccurred in 46.9% of the samples and in at least30% of the samples taken during every activityexcept making love. The frequency of mind wan-dering in our real-world sample was considerablyhigher than is typically seen in laboratory experi-ments. Surprisingly, the nature of people’s activ-ities had only a modest impact on whether theirminds wandered and had almost no impact on thepleasantness of the topics to which their mindswandered (12).

Second, multilevel regression revealed that peo-ple were less happy when their minds were wan-dering than when they were not [slope (b) = –8.79,P < 0.001], and this was true during all activities,

including the least enjoyable. Although people’sminds were more likely to wander to pleasant topics(42.5% of samples) than to unpleasant topics(26.5% of samples) or neutral topics (31% of sam-ples), people were no happier when thinking aboutpleasant topics than about their current activity (b =–0.52, not significant) and were considerably un-happier when thinking about neutral topics (b =–7.2, P < 0.001) or unpleasant topics (b = –23.9,P < 0.001) than about their current activity (Fig. 1,bottom). Although negative moods are knownto cause mind wandering (13), time-lag analysesstrongly suggested that mind wandering in oursample was generally the cause, and not merelythe consequence, of unhappiness (12).

Third, what people were thinking was a betterpredictor of their happiness than was what theywere doing. The nature of people’s activities ex-plained 4.6% of the within-person variance in hap-piness and 3.2% of the between-person variance inhappiness, but mind wandering explained 10.8%of within-person variance in happiness and 17.7%of between-person variance in happiness. The var-iance explained by mind wandering was largelyindependent of the variance explained by the na-ture of activities, suggesting that the two were in-dependent influences on happiness.

In conclusion, a human mind is a wanderingmind, and a wandering mind is an unhappy mind.The ability to think about what is not happeningis a cognitive achievement that comes at an emo-tional cost.

References and Notes1. M. E. Raichle et al., Proc. Natl. Acad. Sci. U.S.A. 98, 676

(2001).2. K. Christoff, A. M. Gordon, J. Smallwood, R. Smith,

J. W. Schooler, Proc. Natl. Acad. Sci. U.S.A. 106, 8719(2009).

3. R. L. Buckner, J. R. Andrews-Hanna, D. L. Schacter,Ann. N. Y. Acad. Sci. 1124, 1 (2008).

4. J. Smallwood, J. W. Schooler, Psychol. Bull. 132, 946 (2006).5. M. F. Mason et al., Science 315, 393 (2007).6. J. Smallwood, E. Beach, J. W. Schooler, T. C. Handy,

J. Cogn. Neurosci. 20, 458 (2008).7. R. L. Buckner, D. C. Carroll, Trends Cogn. Sci. 11, 49 (2007).8. J. C. McVay, M. J. Kane, T. R. Kwapil, Psychon. Bull. Rev.

16, 857 (2009).9. M. J. Kane et al., Psychol. Sci. 18, 614 (2007).

10. D. Kahneman, A. B. Krueger, D. A. Schkade, N. Schwarz,A. A. Stone, Science 306, 1776 (2004).

11. A. B. Krueger, D. A. Schkade, J. Public Econ. 92, 1833 (2008).12. Materials and methods are available as supporting

material on Science Online.13. J. Smallwood, A. Fitzgerald, L. K. Miles, L. H. Phillips,

Emotion 9, 271 (2009).14. We thank V. Pitiyanuvath for engineering www.

trackyourhappiness.org and R. Hackman, A. Jenkins,W. Mendes, A. Oswald, and T. Wilson for helpful comments.

Supporting Online Materialwww.sciencemag.org/cgi/content/full/330/6006/932/DC1Materials and MethodsTable S1References

18 May 2010; accepted 29 September 201010.1126/science.1192439

BREVIA

Harvard University, Cambridge, MA 02138, USA.

*To whom correspondence should be addressed. E-mail:[email protected]

Fig. 1. Mean happiness reported during each ac-tivity (top) and while mind wandering to unpleas-ant topics, neutral topics, pleasant topics or notmind wandering (bottom). Dashed line indicatesmean of happiness across all samples. Bubble areaindicates the frequency of occurrence. The largestbubble (“not mind wandering”) corresponds to53.1% of the samples, and the smallest bubble(“praying/worshipping/meditating”) corresponds to0.1% of the samples.

12 NOVEMBER 2010 VOL 330 SCIENCE www.sciencemag.org932 o

n Ap

ril 2

7, 2

013

ww

w.s

cien

cem

ag.o

rgD

ownl

oade

d fro

m

Killingworth  and  Gilbert,  Science,  2010    5000  individuals    250,000  self-­‐reports  from  a  Web  app  

Page 47: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 47

Page 48: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 48

Email  Response  Time  (log-­‐scale)  

Page 49: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 49

From  Hangal,  Lam,  Heer,  UIST  2011  MUSE:  Reviving  memories  using  email  archives  

Page 50: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 50 50

A  Random  SelecAon  of  Personal  Photos  P.  Sinha,  WWW  2011  

Page 51: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 51

51

System-­‐Generated  Photo  Summary  P.  Sinha,  WWW  2011  

Page 52: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 52

Page 53: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 53

Research  Challenges  

•  Non-­‐IID  data  

•  Non-­‐staAonary,  temporal  variability  

•  Context  (e.g.,  Ame  of  day,  calendar  effects)  

•  MulA-­‐modal  data  

•  Privacy  issues  

•  And  more…..  

 

Page 54: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 54

Example:  Analyzing  Personal  Email  Histories    For  more  details  see    Navaroli,  Dubois,  Smyth,  ACML  2012/ML  Journal  2013  

   

Page 55: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 55

Email  Data  

                 

Record  of  300,000  emails  sent  since  1989  From:  blog.stephenwolfram.com  The  Personal  Analy.cs  of  My  Life,  March  8th  2012  

Page 56: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 56

Email  Recipient  Data  

Email ID Day Recipient IDs

1 t {1,3,5}

2 t {3}

3 t+1 {5, 9}

4 t+2 {1, 3, 4, 6, 8}

5 t+2 {2, 5}

… … ….

Page 57: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 57

Learning  Groups  and  Segments  

•  Each  email  is  assumed  to  come  from  1  of  K  latent  groups  –  Group  k      =  set  of  condi5onally  independent  Bernoullis  over  recipients  

•  Group  k  has  a  Poisson  rate  λkt  for  day  t  –  P(email  is  sent  to  group  k  |  day  t  )    propor5onal  to  λkt  

•  Group  rates  λkt    are  piecewise  constant  over  Ame  –  Unobserved  number  and  loca5on  of  segment  boundaries,  per  group  

•  Learning  via  Markov  Chain  Monte  Carlo  –  Algorithm  learns  groups,  Poisson  rates  over  5me,  and  segment  boundaries  

Navaroli,  Dubois,  Smyth,  ACML  2012/ML  Journal  2013  

Page 58: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 58

Individual 1 Individual 2 Individual 3

Page 59: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 59

Page 60: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 60

Proposal writing

Proposal awarded

Project activities

Page 61: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 61

KDD 2011 Planning Kickoff

KDD 2011 Conference

Page 62: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 62

•  Y-­‐axis:  difference  in  log-­‐likelihood  relaAve  to  proposed  model  –  Smaller  is  beYer  –  Zero  =  proposed  model  

•  Baselines:  –  Uniform  (overly  simple…but  calibrates  y-­‐axis)  –  Single  group  –  Single  5me  segment  –  Sliding  window  

PredicAve  Performance  

Page 63: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 63

PredicAve  Performance  

Page 64: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 64

Concluding  Comments  

Page 65: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 65

The  Individual’s  View  of  Individual  Data  

Page 66: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 66

Privacy  and  Data  Sharing  

•  Data  sharing  –  Surprising  willingness  of  individuals  to  share  data  –  Medical/health  data  is  however  more  sensi5ve  than  Web  clicks  –  Legal  limits  on  data  sharing  between  companies  

•  Opt-­‐in  models  seem  likely  –  Default  is  that  only  the  individual  gets  to  see  and  analyze  their  combined  data  –  modeling/analysis  is  local,  no  sharing  of  data  across  individuals  –  Individuals  may  be  willing  to  share  their  combined  data  on  an  opt-­‐in  basis    

•  Not  clear  yet  the  balance  between  open-­‐source/research  and  commercial  involvement  

Page 67: ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth ... · 2018. 5. 25. · P. Smyth, SIAM-DM, May 2013: 1 ModelingIndividualLevelData) inthe)21 stCentury) PadhraicSmyth)

P. Smyth, SIAM-DM, May 2013: 67

Conclusions  and  PredicAons  

•  The  technology  exists  to  measure  and  record  every  aspect  of  our  daily  lives  

•  PotenAally  tremendous  benefits  in  physiological  and  behavioral  health  

•  However,  we  do  not  know  how  to  adequately  analyze  and  make  predicAons  with  this  type  of  data  –  Ample  opportuni5es  for  data  mining  and  machine  learning  

•  This  is  a  brave  new  world  …  its  coming  whether  we  like  it  or  not