Computational Social Science - Semantic Scholar...• New data collections and availability Social...

67
Computational Social Science David Jensen Knowledge Discovery Laboratory Department of Computer Science University of Massachusetts Amherst

Transcript of Computational Social Science - Semantic Scholar...• New data collections and availability Social...

Page 1: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Computational Social Science

David Jensen

Knowledge Discovery LaboratoryDepartment of Computer Science

University of Massachusetts Amherst

Page 2: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Photo: Buchanan-Hermit

Page 3: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Photo: Buchanan-Hermit

Page 4: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

0

300

600

900

1200

1990 1995 2000 2005 2010

KDD Papers

Page 5: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Why such success?

Page 6: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Why such success?

• ExploratoryIdentify and formulate new research problems and applications

• EcumenicalNot fixated on a single class of techniques

• Externally focusedReward demonstrations of relevance to others outside of KDD

Page 7: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Computational Social Science

“Computational Social Science is the interdisciplinary study of complex social systems and their investigation through

computational modeling and related techniques.”

Computer Science Statistics

Economics

Sociology

Political Science

Anthropology

(and others...)Quote: http://www.css.gmu.edu/

Page 8: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

CSS is a convergence of

• New data collections and availabilitySocial media systems, communications, geolocation, wearable sensors, etc.

• New methods, languages, and formalismsNetwork analysis, text mining, simulation

• New questions and theory (at least to CS)Social, economic, and political theory;New forms of social interaction and organization; New social challenges

Page 9: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Social science is central

• Science — How are social systems formed? How do they function? What causes disfunction?

• Engineering — How do people behave within, and in response to, large-scale technical systems?

• Business — What do customer’s want? What determines their purchasing and use patterns? How do they influence each other?

• Government — How do key policies affect the economy, the environment, healthcare, defense, and law enforcement

Page 10: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Examples of existing work

• Social navigationEmpirical estimates ofthe median shortest-path-length in the US social network are approximately six...

...but how were the experimental subjects able to navigate that network with so little information?(Travers & Milgram 1969; Kleinberg 2000; Adamic et al. 2001; Watts, Dodds & Newman 2002; Simsek & Jensen 2008)

Page 11: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Examples of existing work

• Social navigation

• Reality miningMobile-phonesensors show how physical proximity varies among different friendship types (e.g., symmetric friends spend more time together off campus in the evenings)(Eagle, Pentland, and Lazer 2009)

Page 12: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Examples of existing work

• Social navigation

• Reality mining

• TRANSIMSTRANSIMS is a city-leveltransportation simulatordeveloped in the 1990sby Los Alamos NationalLaboratory.

Page 13: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

London 1854

Page 14: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 15: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 16: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 17: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Theories

Social Class

Page 18: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Theories

Communicable

Page 19: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Theories

Miasma

x

Page 20: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

John Snow

Page 21: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Theories

Waterborne

Page 22: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 23: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 24: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 25: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 26: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 27: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 28: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 29: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

29

Themes

Manual Social ScienceRarely searches large

hypothesis spaces

Knowledge Discovery in DataRarely analyzes causal dependence

Causal DiscoveryRarely discovers relational, temporal, or spatial models

CausalAnalysis

AutomatedDiscovery

Relational, Temporaland Spatial Models

Page 30: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Relational, Spatial, and Temporal

Models

Page 31: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

What does Snow need to represent?

• Entities — People, locations, cesspools, sewers, vapor source, and water sources

• Attributes — Social class, general health, age, gender, and occupation

• Relationships — Physical contact, water consumption, sewage generation, familial, residential, and occupational

• Spatio-temporal extent and variation — Location, elevation, movement, and activity

Page 32: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

What can we represent?

• Entities and attributes (tables)Regression equations, classification trees, association rulesBayesian networks (Pearl 1988)

• Relationships (networks)(e.g., Gilbert 1959; Erdos & Renyi 1959; Barabasi & Albert 1999; Watts & Strogatz 1998)

• Entities, relationships, and attributes(relational data)Markov logic (Richardson & Domingos 2006)Probabilistic relational models (Getoor et al. 2007)DAPER (Heckerman, Meek, & Koller 2004)

Page 33: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

SocialClass

Cholera

BadAir

Breathes

Amount

Level

Plague

x

Page 34: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

HealthStatus

Cholera

Cholera

Uses

CholeraCommunicates with

HealthStatus

Cholera

Drinks from

Page 35: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Modeling Social Systems

• We lack proven methods for modeling relational data with spatio-temporal dynamics

• Need to move beyond modeling social networks to modeling social systems

• The underlying systems have important spatial and temporal dynamics, so our models should represent those features.

• Key factor: Feedback

Page 36: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Explain algorithm behavior

• Acquiring deep understanding of these new classes of algorithms will not be easy

• Some existing work e.g., collective inference (Sen et al. 2008; McDowell et al. 2009; Jensen et al. 2004)

• ...but deep understanding is challenging, for example:

• Association rules (Webb 2006; Gionis et al. 2007)

• Classification trees (Oates & Jensen 1997, 1998, 1999)

Page 37: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Acceptance by social scientists

• In KDD, we regularly develop new formalisms and algorithms — that’s our job, and we enjoy it

• ...but for social scientists, learning a new formalism takes time away from their primary work of doing social science

• We are proposing to re-write the basic language of social science, and social scientists have the only votes that count

Page 38: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Causal Analysis

Page 39: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

What does Snow need to infer?

• Already knows several variables that are associated with contracting cholera (e.g., proximity to other victims, bad air, low elevation, and poverty)

• However, he needs to identify a model that correctly identifies the causes of cholera

• ...and he needs to do it by using only observational data in which the relevant variables are often confounded

Page 40: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

What is causality?

“The paradigmatic assertion in causal relationships is that manipulation of a cause

will result in the manipulation of an effect… Causation implies that by varying one factor,

I can make another vary.”

– Cook & Campbell (1979)

Page 41: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

• Correlation (or, more clearly, statistical dependence) underdetermines causation

• Statistical association alone is insufficient to distinguish among different causal models:

• Each causal model implies different actions,if we wish to influence the value of B.

A B

C

Why focus on causality?

A B A B

A B

C

Page 42: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

How can dependence imply causality?

X ⊥ Y | {W}, Z /∈ W

X Y

Z

X Y

Z

Page 43: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Developments

• Causal inference (Pearl 2000)

• Causal discovery(Spirtes, Glymour, & Scheines 1993, 2001)

• Quasi-experimental design(Campbell & Stanley 1966; Cook & Campbell 1979; Shadish, Cook & Campbell 2001)

Page 44: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

The crucial experiment

• Snow’s critics suggested a seemingly impossible experimentum crucis — convey contaminated water to a distant locality and see if it induces cholera

• ...but Snow found, within the massive data available to him, a subsample with just the conditions needed to perform this experiment without gathering any new data — he identified a quasi-experiment

Page 45: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Farr’s footnote

“In three cases...the same districts are supplied by two [water] companies.”

Page 46: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,
Page 47: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Snow’s QED

“The experiment...was on the grandest scale. No fewer than three hundred thousand people

of both sexes, of every age and occupation, and of every rank and station...were divided

into two groups without their choice, and, in most cases, without their knowledge;

one group being supplied with water containing the sewage of London, and, amongst it, whatever might

have come from the cholera patients, the other group having water quite free

from such impurity.” — John Snow (1855)

Page 48: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Contaminated water led to an 8-fold increase in Cholera cases

Page 49: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Causality is still a rare topic at KDD

Causal Inference and

Discovery(17,900)

KnowledgeDiscovery and Data Mining

(17,600)

1300(4%)

(“knowledge discovery” OR "data mining")

(“causal discovery” OR“causal inference”)

Page 50: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Several papers this year

Page 51: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Causality in social systems

• Extending our representations to relational, spatial, and temporal models raises new theoretical and research issues

• Key factor: Disentangling social influence and homophily (Maier et al. 2010)

X Y

Page 52: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Causality with feedback

• Essentially all interesting social systems have feedback (e.g., cholera transmission)

• However, many feedback systems violate faithfulness — a key assumption of causal discovery systems

• Feedback systems exhibiting homeostasis tend to balance out the effects of multiple causes, thus hiding dependencies between key variables*

*Scheines, personal communication, 2009

Page 53: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Automated Discovery

Page 54: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

What automation does Snow need?

• Snow is trying to identify causality in a highly complex system

• Ideally, we would learn a joint causal model that facilitates reasoning across space, time, and relations

• Unfortunately, existing work is sparse...

Page 55: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Causal learning in relational data

• My group has developed two algorithms for causal analysis of relational data

• AIQ (Jensen et al. 2008) is the first algorithm to automatically identify quasi-experimental designs

• Relational PC (Maier et al. 2010) is the first system to explicitly learn causal models of relational data

Page 56: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Local methods / global models

• Models in these more expressive representations are sufficiently large that traditional search-and-score methods are unlikely to be tractable

• Local constraint-based methods are likely to be necessary to constrain the possible search space (e.g., Fast & Jensen 2009)

• This may extend to using fragmented databases

Page 57: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Interactivity

• Social scientists are unlikely to be...

• ...willing to turn over complete control of the search process to an algorithm

• ...able to encode all their domain knowledge in machine-readable form

• Thus, interactive “design environments” for formulating complex models are more likely to be accepted and used that entirely automated systems

Page 58: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Privacy

Page 59: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Diverging stories

• Snow was able to access large amounts of data on individuals because of a different cultural and historical situation

• Today’s computational social scientists face a very different environment.

Page 60: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Privacy and CSS

“Perhaps the thorniest challenges [to computational social science] exist on the data side, with respect to access and privacy...

Robust models of collaboration and data sharing between industry and academia

are needed to facilitate research and safeguard consumer privacy and

provide liability protection for corporations.”

Page 61: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Issue: Privacy in networks

NaiveAnonymization

Original network

Alice Bob Carol

Dave Ed

Fred Greg Harry

Naive anonymization

4

2

5

13

6

7

8

If you know that Fred has only two friends,then you can narrow down the possible

candidates for Fred in the anonymized network to {1,3}.

Page 62: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Local structure is highly identifying

H1 H2 H3 H40

0.2

0.4

0.6

0.8

1

Re-identification Risk

Frac

tio

n o

f P

op

ulat

ion

[1][2-4][5-10][11-20][>21]

Friendster network~4.5 million nodes

Uniquely identified

degree neighbors degree

Well-protected

Strength of Adversary’s Knowledge

(Hay et al. 2007, 2008, 2010)

Page 63: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Local methods may aid privacy

• Recall that Snow made globally valid conclusions using only a fraction of the entire data set

• Many conclusions of computational social science may not require data on all participants. Much as we do now with laboratory experiments, we may reach valid conclusions using only subsets for quasi-experiments.

• ...but such ideas remain to be tested

Page 64: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Conclusions

Page 65: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Snow and London’s Cholera

• Snow’s analysis did not immediately convince those supporting alternative theories, but it was eventually recognized as the turning point a decade later

• Snow’s analysis did convince enough officials during the Broad Street outbreak, that the handle of the pump that was the source of the outbreak was removed, likely preventing a resurgence of the disease

Page 66: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Conclusions

• Computational social science offers profound opportunities with serious research challenges

• Networks —> Social systems

• Conditional patterns —> Joint models

• Associations —> Causal dependencies

• Exploiting those challenges will require...

• Serious engagement with social scientists

• More systemic approaches to privacy

Page 67: Computational Social Science - Semantic Scholar...• New data collections and availability Social media systems, communications, geolocation, wearable sensors, etc. • New methods,

Contact: [email protected]

kdl.cs.umass.edu

Thanks to:Matthew Cornell, Andrew Fast, Lisa Friedland,

Brian Gallagher, Michael Hay, Marc Maier, Amy McGovern, Gerome Miklau, Jennifer Neville, Hüseyin Oktay,

Matthew Rattigan, Richard Scheines, Ted Senator, Agustin Schapira, Özgür Simsek, and Brian Taylor