Professional Documents
Culture Documents
1
Announcements
• HW2 is back, at the front of the room, as well as solutions
2
Evaluations
3
Exponential family random graphs
(ERGMs)
4
Exponential family random graphs
(ERGMs)
• Pros:
– Powerful, flexible representation
– Can encode complex theories, and do substantive
social science
– Handles covariates
– Mature software tools available,
e.g. ergm package for statnet
5
Exponential family random graphs
(ERGMs)
• Cons:
– Usual caveats of undirected models apply
• Computationally intensive, especially learning
• Inference may be intractable, due to partition function
6
Triadic closure
7
Measuring triadic closure
• Mean clustering co-efficient:
+
8
Simple ERGM for triadic closure
leads to model degeneracy
11
Solution
• Change the model so that there are diminishing
returns for completing more triangles
– A different natural parameter for each possible number of
triangles completed by one edge
– Natural parameters parameterized by a lower-
dimensional , e.g. encoding geometrically decreasing
weights (curved exponential family)
– EM
– Variational Bayes
– Variational EM
– MCMC
• Gibbs, collapsed Gibbs, Metropolis-Hastings
14
Latent Representations
Cycling Fishing Running Tango Salsa Waltz
Alice 1
• Latent class Bob 1
Claire 1
features… Bob 1 1
Claire 1 1
15
Latent Variable Models
As Matrix Factorization
16
Social network models
as matrix factorization
17
Learning outcomes
By the end of the lesson, you should be able to:
18
19
20
21
Stochastic blockmodels
(Nowicki and Snijders, 2001)
• Probabilistic models which
22
University email network:
Note the block structure
23
Stochastic equivalence
(a.k.a. structural equivalence)
Figure due to Goldenberg et al. (2009) - Survey of Statistical Network Models, Foundations and Trends 25
Stochastic blockmodel
latent representation
Alice Bob
Claire
Alice 1
Bob 1
Claire 1
26
Reordering the matrix to show the
inferred block structure
27
Kemp, Charles, et al. "Learning systems of concepts with an infinite relational model." AAAI. Vol. 3. 2006.
Model structure
Interaction matrix W
28
Kemp, Charles, et al. "Learning systems of concepts with an infinite relational model." AAAI. Vol. 3. 2006.
Stochastic blockmodel
generative process
29
The Infinite Relational Model (IRM)
Kemp et al., (2006)
• Multiple relations modeled simultaneously, based on
the same latent clusters
• Multiple types of entities (modes)
• Learn number of blocks/clusters automatically
Social relations
(likes, admires,
respects, hates,…) Demographics
People
Questions on a
People personality test 30
The Infinite Relational Model (IRM)
Kemp et al., (2006)
• Each entity assigned to a cluster
• Each relation is conditionally independent given Z
• Parameter matrix (or tensor) W(r) for each relation
• W(r) has as dimensions = arity of r
Social relations
(likes, admires,
respects, hates,…) Demographics
People
Questions on a
People personality test 31
32
Kemp, Charles, et al. "Learning systems of concepts with an infinite relational model." AAAI. Vol. 3. 2006.
Mixed membership stochastic blockmodels
(Airoldi et al., 2008)
Alice Bob
Claire
34
Application of MMSB to
Sampson’s Monastery
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
Latent Feature Relational Model
Miller, Griffiths, Jordan (2009)
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
Latent Feature Relational Model
Miller, Griffiths, Jordan (2009)
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
Latent Feature Relational Model
Miller, Griffiths, Jordan (2009)
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
42
Dynamic Relational Infinite Feature Model
(DRIFT) (Foulds et al., 2011)
• Models networks as they over time, by way of
changing latent features
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
43
Dynamic Relational Infinite Feature Model
(DRIFT) (Foulds et al., 2011)
• Models networks as they over time, by way of
changing latent features
Alice Bob
Cycling Tango
Fishing Salsa
Running
Claire
Waltz
Running
44
Dynamic Relational Infinite Feature Model
(DRIFT) (Foulds et al., 2011)
• Models networks as they over time, by way of
changing latent features
Alice Bob
Cycling Tango
Fishing Salsa
Running Fishing
Claire
Waltz
Running
45
Dynamic Relational Infinite Feature Model
(DRIFT) (Foulds et al., 2011)
• Models networks as they over time, by way of
changing latent features
Alice Bob
Cycling Tango
Fishing Salsa
Running Fishing
Claire
Waltz
Running
46
Dynamic Relational Infinite Feature Model
(DRIFT) (Foulds et al., 2011)
48
Latent space model
(Hoff et al., 2002)
• Embed nodes in a continuous
latent space
49
Application to Sampson’s monastery
53