

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Using data gathered from blogs, this work seeks to understand the structure and formation of social networks, and the patterns of information propa- gation through these networks. Blogs have become an important medium of communication and information on the World Wide Web. Due to their accessible and timely nature, they are also an intuitive source for data in- volving the formation of social networks and the spread of information and ideas. By studying link patterns of existing entities and new arrivals to a blog network, we can infer the way in which social networks are formed. And, by examining linking patterns from one blog post to another, we can infer the way information spreads through a social network over the Web. We seek to discover how information propagates through an existing network. Do trees representing the flow of information maintain certain structural properties? Does traffic in the blog network exhibit bursty and/or periodic behavior? After a topic becomes popular, how does interest die off
∗School of Computer Science, Carnegie Mellon University, Pittsburgh, PA, USA †Google, Pittsburgh, PA, USA ‡Microsoft Live Labs, Bellevue, WA, USA
We note several temporal and topological observations in a blog network. Temporally, we note periodic behavior in traffic, and demonstrate that, sur- prisingly, post popularity drops off with a power law. Most topological network characteristics follow power laws: in-degree, out-degree, cascade size, and size of particular cascade shapes. We also produce a simple epi- demiological model which captures most of the topological characteristics. Delving further into the network entities, we use PCA to show that posts belonging to the same blog cluster into certain network behaviors, and that blogs in the same genre tend to cluster together based on their participation in different cascade shapes. In one specific case, we show that conservative blogs have more tree-like structures, while humorous blogs behave more like “stars”.
2 Related Work
Much work on modeling link behavior in large-scale on-line data has been done in the blog domain [1, 2, 22]. The authors note that, while information propagates between blogs, examples of genuine cascading behavior appeared relatively rare. This may, however, be due in part to the Web-crawling and text analysis techniques used to infer relationships among posts [2, 15]. Our work here differs in a way that we concentrate solely on the propagation of links, and do not infer additional links from text of the post, which gives us more accurate information. There are several potential models to capture the structure of the blogo- sphere in particular, and of social networks in general. Work on information diffusion based on topics [15] showed that for some topics, their popularity remains constant in time (“chatter”) while for other topics the popularity is more volatile (“spikes”). Authors in [22] analyze community-level behavior as inferred from blog-rolls – permanent links between “friend” blogs. Au- thors extended this work in [23] to analysis of several topological properties of link graphs in communities, finding that much behavior was characterized by “stars”. Analysis based on thresholding as well as alternative probabilis- tic models of node activation is considered in the context of finding the most influential nodes in a network [18], and for viral marketing [26]. Such ana- lytical work posits a known network, and uses the model to find the most influential nodes.
similar to SIR for modeling countermeasure propagation, in order to com- pete with virus propagation [7].
Self-similarity is often a result of heavy-tailed dynamics. Human interactions may be modeled with networks, and attributes of these networks often follow power law distributions [11]. Such distributions have a PDF (probability density function) of the form p(x) ∝ xγ^ , where p(x) is the probability to encounter value x and γ is the exponent of the power law. In log-log scales, such a PDF gives a straight line with slope γ. For γ < −1, we can show that the Complementary Cumulative Distribution Function (CCDF) is also a power law with slope γ + 1, and so is the rank-frequency plot pioneered by Zipf [36], with slope 1/(1 + γ). For γ = −2 we have the standard Zipf distribution, and for other values of γ we have the generalized Zipf distribution. Fitting heavy-tailed distributions is done in different ways. The method used in this work is done by taking histogram data, then taking the logarithm f both axes, and fitting a least-squares regression line to the log-log data. An R^2 coefficient greater than 0.95 suggests the data may be well-approximated with a power law distribution. Sometimes the tail is truncated, in this case because of artifacts of the data. One may also fit the empirical distribution, instead of the histogram data, with least-squares regression. There are statistical methods of determining exactly which heavy-tailed distribution (if any) by which data are best approximated, such as maximum likelihood, and the Komolgorov-Smirnov test in Bayesian model selection. Detail of these methods may be found in work by Clauset, Shalizi, and Newman [8] and by Stouffer, Malmgren, and Amaral [30].
3 Preliminaries
In this section we introduce terminology and concepts regarding blog net- works and information cascades.
Blogs (weblogs) are web sites that are updated on a regular basis. Blogs have the advantage of being easy to access and update, and have come to serve a variety of purposes. Often times individuals use them for online diaries and social networking; other times news sites have blogs for timely
B (^1) B 2
B 3 B 4
B (^1) B 2
B (^3) B 4
1 1 2 1 3
1
a b (^) c
d e (a) Blogosphere (b) Blog network (c) Post network
Figure 1: The model of the blogosphere (a). Squares represent blogs and circles blog-posts. Each post belongs to a blog, and can contain hyper- links to other posts and resources on the web. We create two networks: a weighted blog network (b) and a post network (c). Nodes a, b, c, d are cascade initiators, and node e is a connector.
stories. Blogs are composed of posts that typically have room for comments by readers – this gives rise to discussion and opinion forums that are not possible in the mass media. Also, blogs and posts typically link each other, as well as other resources on the Web. Thus, blogs have become an important means of transmitting information. The influence of blogs was particularly relevant in the 2004 U.S. election, as they became sources for campaign fund-raising as well as an important supplement to the mainstream media [1]. Understanding the ways in which information is transmitted among blogs is important to developing concepts of present-day communication. We model two graph structures emergent from links in the blogosphere, which we call the Blog network and the Post network. Figure 1 illustrates these structures. Blogosphere is composed of blogs, which are further com- posed of posts. Posts then contain links to other posts and resources on the web. From Blogosphere (a), we obtain the Blog network (b) by collapsing all links between blog posts into directed edges between blogs. A blog-to-blog edge is weighted with the total number of links where a post in source blog points to a post in destination blog. From the Blog network we can infer a social network structure, under the assumption that blogs that are “friends” link each other often. In contrast, to obtain the Post network (c), we ignore the posts’ parent blogs and focus on the link structure. Associated with each post is the date of the post, so we label the edges in Post network with the date difference ∆ > 0 between the source and the destination posts. Let tu and tv denote post times of posts u and v, where u links to v, then the link time ∆ = tu −tv.
0
10000
20000
30000
40000
50000
60000
0 10 20 30 40 50 60 70 80 90
Number of posts
Time [1 day]
Aug 1
Jul 4
Sept 29
Figure 3: Number of posts by day over the three-month period.
Traditional PCA assumes a Gaussian distribution. However, the data we will be dealing with is heavy-tailed, and may be approximated with a log-normal distribution. Therefore, in our experiments we will choose to take the logarithm of each value– if the data is close to a log-normal this will transform it to a normal distribution and thereby behaves well with PCA. A similar method of improving PCA’s performance by normalizing data is TF-IDF (term frequency– inverse document frequency), detailed in [28]. A generalized, more robust, version is exponential family PCA. PCA may be interpreted as fitting maximum likelihood of parameters Θ in a multivariate unit Gaussian. Using generalized linear models, this approach extends that interpretation of PCA to estimate parameters for any exponen- tial family model, and not simply Gaussian. This approach is particularly valuable for integer-valued or binary-valued data, which may be better ap- proximated with Poisson or Bernoulli distributions. Details may be found in [9]. We choose traditional PCA for this work, and believe this approach is suitable since the data may be closely approximated with a log-normal.
4 Observations and Experiments
Traffic in the blogosphere is not uniform. As Figure 3 illustrates, there is a seven-day periodicity. Posting and blog-to-blog linking patterns tend to have a weekend effect, with frequency sharply dropping off at weekends. In
(^10100 101 ) 1
102
103
104
105
106
Number of in−links
Days after post
Posts = 541905.74 x−1.60^ R^2 =1. (^10100 101 ) 0
101
102
103
104
105
Number of in−links
Days after post
Posts = 60853.80 x−1.46^ R^2 =0.
All posts Only Monday posts
Figure 4: Number of in-links vs. the days after the post in log-linear scale, after removing the day-of-the week effects. Power law fits to the data, based on reasonable lookahead of 30 days, produce exponents − 1 .6 and − 1 .46.
Figure 3 we plot the number of posts per day over the span of our dataset. Next, we examine how a post’s popularity grows and declines over time. We collect all in-links to a post and plot the number of links occurring after each day following the post. This creates a curve that indicates the rise and fall of popularity. By aggregating over a large set of posts we obtain a more general pattern. However, the weekend effect creates abnormalities in the plots we must account for. We smooth the in-link plots by applying a weighting parameter to the plots separated by day of week. For each delay ∆ on the horizontal axis, we estimate the corresponding day of week d, and we prorate the count for ∆ by dividing it by l(d), where l(d) is the percent of blog links occurring on day of week d. This simulates a popularity drop-off that might occur if posting and linking behavior were uniform throughout the week. We fit the power-law distribution with a cut-off in the tail (bottom row). We fit on 30 days of data, as most posts in the graph have complete in-link patterns for the 30 days following publication. We performed the fitting over all posts and for all days of the week separately, and found a stable power-law exponent of around − 1 .5, which is exactly the value predicted by the model where the bursty nature of human behavior is a consequence of a decision based queuing process [4] – when individuals execute tasks based on some perceived priority, the timing of the tasks is heavy tailed, with most tasks being rapidly executed, whereas a few experience very long waiting times.
100
101
102
103
104
105
100 101 102 103 104
Count
Post in-degree
5e4 x-2.15^ R^2 :0.
100
101
102
103
104
105
106
100 101 102 103
Count
Post out-degree
1e5 x-2.95^ R^2 :0.
Figure 7: Post network in- and out-degree distribution.
Figure 8: Common cascade shapes ordered by frequency. Cascade with label Gr has the frequency rank r.
blogs. However, our sample still maintains the power law in the number of blog-to-blog links as shown in 6(b). In contrast to Blog network the Post network is very sparsely connected. 98% of the posts are isolated, and the largest connected component accounts for 106, 000 nodes, while the second largest has only 153 nodes. Figure 7 shows the in- and out-degree distributions of the Post network which, not surprisingly, follow a power law.
We are especially interested in how information propagates, and this phe- nomenon is illustrated by cascades. Given the Post network we extracted all information cascades using the following procedure. We found all cascade initiator nodes, i.e. nodes that have zero out-degree, and started following their in-links. This process gives us a directed acyclic graph with a single root node. To obtain the examples of the common shapes and count their frequency we used algorithms described in [25]. We find a total of 2, 092 , 418 cascades. We give examples of common Post network cascade shapes in Figure 8. A node represents a post and the influence flows from the top to the bot-
101
102
103
104
105
106
100 101 102
Count
Cascade node out-degree
1.6e5 x -1.96^ R^2 :0.
(^10100 101 102 103 ) 0
101
102
103
104
105
k (post in−degree at level L)
N(k
≥^ x)
L=1, γ=−1. L=3, γ=−1. L=5, γ=−1. L=7, γ=−1. L=10, γ=−1.
(a) Out-degree (b) In-degree at level L
Figure 9: Out-degree distribution over all cascades extracted from the Post network (a), and the in-degree distribution at level L of the cascade (b). Note all distributions are heavy tailed and the in-degree distribution is re- markably stable over the levels.
tom. Cascades tend to be wide and not too deep– stars and shallow bursty cascades are the most common type of cascades. We next examine the general cascade behavior by measuring and charac- terizing the properties of real cascades. First, we observe the degree distri- butions of the cascades. This means that from the Post network we extract all the cascades and measure the overall degree distribution. Essentially we work with a bag of cascades, where we treat a cascade as separate discon- nected sub-graph in a large network. Similar to other networks, in- and out-degree distribution of the bag of cascades follow power laws with expo- nents of -2.2 and -1.92, respectively (Figure 9). Further examination showed that the in-degree exponent is stable and does not change much given level L in the cascade (a node is at level L if it is L hops away from the cascade initiator). This means that posts still attract attention (get linked) even if they are somewhat late in the cascade and appear towards the bottom of it. We next ask: what distribution do cascade sizes follow? Does the proba- bility of observing a cascade on n nodes decreases exponentially with n? We examine the Cascade Size Distributions over the bag of cascades extracted from the Post network. We consider three different distributions: a distribu- tion over all cascade sizes, and separate size distributions of star and chain cascades. We chose stars and chains since they are well defined and given the number of nodes in the cascade, there is no ambiguity in the topology of a star or a chain. Figure 10 gives the Cascade Size Distribution plots. Notice all follow a
and an edge is created between the node and the source of infection. The source immediately recovers, i.e. a node remains in the infected state only for one time step. This gives the model ability to infect a blog multiple times, which corresponds to multiple posts from the blog participating in the same cascade. More precisely, a single cascade of the Cascade generation model is gen- erated by the following process.
(i) Uniformly at random pick blog u in the Blog network as a starting point of the cascade, set its state to infected, and add a new node u to the cascade graph.
(ii) Blog u that is now in infected state, infects each of its uninfected directed neighbors in the Blog network independently with probability β. Let {v 1 ,... , vn} denote the set of infected neighbors.
(iii) Add new nodes {v 1 ,... , vn} to the cascade and link them to node u in the cascade.
(iv) Set state of node u to not infected. Continue recursively with step (ii) until no nodes are infected.
We make a few observations about the proposed model. First, note that the blog immediately recovers and thus can get infected multiple times. Every time a blog gets infected a new node is added to the cascade. This accounts for multiple posts from the blog participating in the same cascade. Second, we note that in this version of the model we do not try to account for topics or model the influence of particular blogs. We assume that all blogs and all conversations have the same value of the parameter β. Third, the process as describe above generates cascades that are trees. This is not big limitation since we observed that most of the cascades are trees or tree- like. In the spirit of our notion of cascade we assume that cascades have a single starting point, and do not model for the collisions of the cascades.
4.4.1 Validation of the model
We validate our model by extensive numerical simulations. We compare the obtained cascades towards the real cascades extracted from the Post network. We find that the model matches the cascade size and degree dis- tributions. We use the real Blog network over which we propagate the cascades. Using the Cascade generation model we also generate the same number of
Figure 11: Top 10 most frequent cascades as generated by the Cascade generation model. Notice similar shapes and frequency ranks as in Figure 8.
cascades as we found in Post network (≈ 2 million). We tried several values of β parameter, and at the end decided to use β = 0.025. This means that the probability of cascade spreading from the infected to an uninfected blog is 2.5%. We simulated our model 10 times, each time with a different random seed, and report the average. We believe that since there was little variance in the behavior of the Cascade generation model 10 runs was sufficient. First, we show the top 10 most frequent cascades (ordered by frequency rank) as generated by the Cascade generation model in Figure 11. Com- paring them to most frequent cascades from Figure 8 we notice that top 7 cascades are matched exactly (with an exception of ranks of G 4 and G 5 swapped), and rest of cascades can also be found in real data. Next, we show the results on matching the cascade size and degree dis- tributions in Figure 12. We plot the true distributions of the cascades ex- tracted from the Post network with dots, and the results of our model are plotted with a dashed line. We compare four properties of cascades: (a) overall cascade size distribution, (b) size distribution of chain cascades, (c) size distribution of stars, and (d) in-degree distribution over all cascades. Notice a very good agreement between the reality and simulated cas- cades in all plots. The distribution over of cascade sizes is matched best. Chains and stars are slightly under-represented, especially in the tail of the distribution where the variance is high. The in-degree distribution is also matched nicely, with an exception of a spike that can be attributed to a set of outlier blogs all with in-degree 52. Note that cascades generated by the Cascade generation model are all trees, and thus the out-degree for every node is 1.
4.4.2 Exponential random graph (p∗) model
It is worth noting that exponential random graphs would be another option for fitting and understanding the way in which cascades come about. As described in Section 2, p∗^ models fit parameters for likelihoods of certain graph structures, such as reciprocal links and triangles. In applying p∗^ to
other edge variables, or dependent on node attributes. In random graphs, ties are independent of each other– the existence of a link from pi to pj is independent of a link from pi to pk, etc. However, we might choose the hypothesis that a post pk is more likely to link to a post pi if there is some pj such that Xji = 1. We might also choose to add that if Xji = 1 then E(Xki) < E(Xkj ), a hypothesis suggesting that “stars” are more inclined to form than “chains”. Once we decide on hypotheses to examine, we build up the model to test these hypotheses, and the dependence assumptions imply the general model. In the hypotheses we have identified a number of configurations of interest, such as two-stars, three-stars, two-chains, three-chains, etc. We will denote the set of configurations as C. We consider each parameter in the model to be the probability of a configuration in the network, for instance, a two-star or three-star, where the count of each configuration in c ∈ C is represented by statistic zc, and the parameter is a corresponding function θczc. The full specification of the model will then represent a distribution of random graphs which are “built up” from the localized patterns. There may be a parameter related to the likelihood of a two-star occurring (denoted θ 1 z 1 ), a three-star occurring (θ 2 z 2 ), etc. We would then be able to represent the probability of the entire graph X taking on values x as:
P (X = x) =
exp(
c∈C θczc(x)) κ(Θ) where zc(x) is the number of times configuration c occurs in candidate graph x and κ(Θ) is a normalizing constant that ensures that the prob- abilities of all possible graphs sum to one. The model thus represents a distribution of random graphs made up of the configurations of interest. (Note this is after taking homogeneity constraints into account, where in- stead of using a different parameter λA for each instance A of a configuration c, we equate each λA with θc, and use statistic zc(x) as a count [27]). For instance, zc for a star including four nodes (a “3-star”, for a root and three followers) would be
i,j,k,l xij^ xikxil, and the statistic for counts of a chain including four nodes would be
i,j,k,l xij^ xjkxkl. We would then estimate parameter values through maximum likelihood. However, it becomes clear that such form of the model is intractable because of the normalizing constant κ(Θ). As described in Strauss and Ikeda [31], we can instead use a logit version of p∗. The logit model takes the form:
ωij = log(
P (Xij = 1|Xcij ) P (Xij = 0|Xcij )
= Θ[z(x+ ij ) − z(x− ij )])
That is, the log odds ratio for an edge Xij conditioned on the values of the adjacency matrix besides Xij , is the dot product of the parameters Θ and the difference of the statistics z when the value of Xij changes from 1 to 0. From this, parameters are estimated by finding the maximum pseudo- likelihood estimator with respect to pseudolikelihood function:
P L(Θ) =
i 6 =j
P (Xij = 1|Xcij )xij^ P (Xij = 0|Xcij )^1 −xij
It was proved that this can be estimated using logistic regression [31]. One finds the maximum likelihood fit of logistic reression to the model ωij above, easily implemented as an iteratively reweighted Gauss-Newton least squares procedure. This is easy to estimate, but the properties of the esti- mator are not as well understood; so Monte Carlo techniques may also be used [27]. An advantage of p∗^ with respect to our data is that it can generate the cascade shape counts exactly. It is also flexible– for instance, if one desires to count G 11 in Figure 8 as both a chain and a star when estimating parameters, the model may be fitted accordingly. A potential shortcoming of the p∗^ model is that it is not generative in the same way the Cascade generation model is: it does not directly provide an intuition for how cascades may formed on a low level. However, the estimated values are for the purposes of observing overall tendencies toward certain cascade properties (such as star tendency, chain tendency, or cascade size), and may provide valuable information toward building or checking a generative model. For instance, instead of finding β by what seems like the “best count”, we could instead find the parameter more precisely: with each simulated graph for a given β, we could plug the graph into the p∗^ model and get a likelihood statistic that indicates how well the simulation on β fits into what p∗^ would predict.
Finally, we would like to gain an understanding of how different entities in the social network function with regard to the propagation of information.
4.5.1 Clustering blogs by Cascade Shapes
Our first experiments involved performing PCA on a large, sparse matrix where rows represented blogs and columns represented different types of
what community a blog might belong to. Furthermore, the number of trivial cascades that a blog participates in–that is, its number of solitary posts with no in- or out-links, may be a key indicator of its community. Removing the trivial cascades caused the clusters to become less clear, which indicates that these trivial cascades still play a significant role in the inferences one can make about that blog.
4.5.2 Clustering posts based on features
We next sought to find how posts themselves behave. In order to do this, we performed PCA on a 6-column matrix. Each row represented a post, while the columns were as follows:
There were 6, 666 , 188 posts in the dataset. When we ran PCA, we found that the major two components that determined the blog’s place in this space were conversation mass upwards and downwards. Therefore, we also plotted the posts on the two axes of conversation mass upwards and conversation mass downwards (See Figure 14. To illustrate, we have plotted all posts, with special markers for two distinct popular blogs, Dlisted^1 and MichelleMalkin.^2 We have circled the main clusters in the plots. Notice that while Dlisted and MichelleMalkin points overlap, their clusters are centered differently. The mean and variance of these clusters can serve as another viewpoint into the profile of a blog. Thus, we observe that Posts within a blog tend to take on common network characteristics, which may serve as another means of classification. Individual posting patterns may serve as another way of clustering blogs, because different blogs maintain different posting patterns.
(^1) dlisted.blogspot.com, a celebrity gossip blog. (^2) www.MichelleMalkin.com, a politically conservative blog.
(a) All posts (b) MichelleMalkin (c) Dlisted
Figure 14: Conversation mass for posts, an aspect of PostFeatures6. The top figure shows the Dlisted and MichelleMalkin clusters superimposed over points for all posts. The next two show the clusters separately, superimposed on all blog points for reference. Ovals are drawn around the main clusters. Note that while there is overlap between posts features of two blogs, they have different centers. This tells us that different blogs maintain different means and variances in conversation masses
5 Discussion
Our finding that the the popularity of posts drops off with a power law dis- tribution is interesting since intuition might lead one to believe that people would “forget” a post topic in an exponential pattern. However, since link- ing patterns are based on the behaviors of individuals over several instances, much like other real-world patterns that follow power laws such as traffic to Web pages and scientists’ response times to letters [32], it is reasonable to believe that a high number of individuals link posts quickly, and later linkers fall off with a heavy-tailed pattern. Our findings have potential applications in many areas. One could argue that the conversation mass metric, defined as the total number of posts in all conversation trees below the point in which the blogger contributed, summed over all conversation trees in which the blogger appears, is a better proxy for measuring influence. This metric captures the mass of the total conversation generated by a blogger, while number of in-links captures only direct responses to the blogger’s posts. For example, we found that BoingBoing, which a very popular blog about amusing things, is engaged in many cascades. Actually, 85% of all Boing- Boing posts were cascade initiators. The cascades generally did not spread very far but were wide (e.g., G 10 and G 14 in Fig. 8). On the other hand 53% of posts from a political blog MichelleMalkin were cascade initiators.