Skip to main content
Nature Communications logoLink to Nature Communications
. 2020 Feb 5;11:707. doi: 10.1038/s41467-020-14394-x

Friendship paradox biases perceptions in directed networks

Nazanin Alipourfard 1,✉,#, Buddhika Nettasinghe 2,✉,#, Andrés Abeliuk 1, Vikram Krishnamurthy 2, Kristina Lerman 1
PMCID: PMC7002371  PMID: 32024843

Abstract

Social networks shape perceptions by exposing people to the actions and opinions of their peers. However, the perceived popularity of a trait or an opinion may be very different from its actual popularity. We attribute this perception bias to friendship paradox and identify conditions under which it appears. We validate the findings empirically using Twitter data. Within posts made by users in our sample, we identify topics that appear more often within users’ social feeds than they do globally among all posts. We also present a polling algorithm that leverages the friendship paradox to obtain a statistically efficient estimate of a topic’s global prevalence from biased individual perceptions. We characterize the polling estimate and validate it through synthetic polling experiments on Twitter data. Our paper elucidates the non-intuitive ways in which the structure of directed networks can distort perceptions and presents approaches to mitigate this bias.

Subject terms: Communication, Interdisciplinary studies, Psychology


Individuals within social networks rarely observe the network as a whole; rather, their observations are limited to their social circles. Here we show that network structure can distort observations, making a trait appear far more common within many social circles than it is in the network as a whole.

Introduction

We observe our peers to learn social norms, assess risk, or copy behaviors. However, these observations can be systematically biased17, distorting how we see the world. One of the better known sources of bias is the friendship paradox in social networks8, which states that people are less popular than their friends are, on average. Consequences of friendship paradox can skew how we compare ourselves to friends: people tend to be less happy than their friends are9, and researchers tend to have less impact than their co-authors do10, on average. In fact, any trait correlated with popularity is likely to be misperceived11,12. This may explain why adolescents systematically overestimate how much their peers drink or engage in risky behaviors2,5 and why social media use is often associated with negative social comparisons13.

In contrast to friendships, many online social networks are directed. On Twitter, for example, we subscribe to, or follow, others to see their posts, but the information does not flow in the opposite direction, unless those people also follow us back. For convenience, we refer to people whose posts we see in our social feeds as our friends, and those who see our posts as followers. Clearly, this nomenclature does not imply a bidirectional friendship relationship. An individual’s in-degree is the number of his or her friends, and the out-degree is the number of followers. The asymmetric nature of links in directed networks leads to four variants of the friendship paradox14: your friends (or followers) have more friends (or followers) than you do, on average. Empirically, this effect can be quite large, with upwards of 90% of social media users observing that they have a lower in-degree and out-degree than both their friends and followers15. However, the conditions under which these four variants of the paradox exist have not been comprehensively analyzed. We carry out the analysis to show that while two variants of the friendship paradox occur in any directed network16, the remaining two exist only if an individual’s in-degree and out-degree are correlated.

Friendship paradox can systematically skew individual’s observations of the network’s state. We consider directed networks where nodes have a trait, such as gender, political affiliation, or whether they used a certain hashtag in their posts. The trait’s global prevalence is simply the fraction of all nodes with that trait. On the other hand, its observed prevalence is the fraction of friends that have the trait. In networks where the more influential (higher out-degree) nodes are likely to have the trait, its observed prevalence will be substantially higher than its actual prevalence. Our analysis shows that, similar to the generalized friendship paradox in undirected networks12,17, correlation between nodes’ trait and their out-degree amplifies this perception bias.

In reality, an individual’s perception of a trait is shaped by its local prevalence among his or her friends. In this paper, we identify a new paradox in directed networks, as a result of which a trait will appear to be significantly more popular locally among an individual’s friends, than it is globally among all people. We show that this effect is stronger in networks where higher out-degree nodes with the trait are connected to nodes with a lower in-degree.

Surprisingly, although individual observations are biased, we can still robustly estimate the global prevalence of the trait. We present a polling algorithm that obtains a statistically efficient estimate of a trait’s global prevalence, with a smaller error than alternative polling methods. Proposed method leverages friendship paradox to reduce the error of the polling estimate by trading off the bias of the estimate and its variance. We analytically characterize this trade-off and provide an upper bound for the variance.

We also show that perception bias can be large in a real-world network. To this end, we extracted a subgraph of the directed Twitter social network and collected messages posted by users within this subgraph. Treating the occurrence of particular hashtags within messages as traits or topics enables us to measure the perception bias. We identify hashtags that appear much more frequently within users’ social feeds than they do among all messages posted by everyone, leading users to overestimate their prevalence. We also validate the performance of the proposed polling algorithm through synthetic polling experiments on the Twitter subgraph.

This paper elucidates some of the non-intuitive ways that directed social networks can bias individual perceptions. Since collective phenomena in networks, such as social contagion and adoption of social norms, are driven by individual perceptions, the structure of networks and the paradoxes endemic in them can impact social dynamics in unexpected ways. Our work shows how we can begin to quantify and mitigate these biases.

Results

Basic concepts and definitions

Consider a directed network G = (VE), with {V} nodes and {E} links. A link (ij) pointing from i to j indicates that i is a friend of j or equivalently, j follows i. Here, the direction of the link indicates the flow of information. The out-degree of a node v, do(v), measures the number of followers it has, and its in-degree, di(v), the number of friends.

We define three random variables, X, Y, and Z that correspond to different node sampling methods. A node v with out-degree do(v) has that many followers, or equivalently, v is a friend to do(v) number of nodes. Therefore, a node Y that is obtained from V by sampling proportional to out-degree of nodes is called a random friend. Similarly, a node v that has di(v) links pointing to it is a follower of di(v) other nodes. Therefore, a node Z that is obtained from V by sampling proportional to in-degree of nodes is called a random follower. Below, we formalize these terms.

  1. Random node X is a uniformly sampled node from V:
    P(X=v)=1NvV. 1
  2. Random friend Y is a node sampled from V proportional to its out-degree:
    P(Y=v)=do(v)vVdo(v),vV. 2
  3. Random follower Z is a node sampled from V proportional to its in-degree:
    P(Z=v)=di(v)vVdi(v),vV. 3

For any directed network, the average in-degree E{di(X)}=vVdi(v)N and the average out-degree E{do(X)}=vVdo(v)N are the same. Here E denotes the expectation operator. Therefore, we use d¯ to denote both average in-degree and average out-degree of a random node X: d¯=E{do(X)}=E{di(X)}.

Friendship paradox in directed networks

Four different variants of the friendship paradox exist in directed networks14. The first two, state that (1) random friends have more followers than random nodes do, and (2) random followers have more friends than random nodes do (on average). The magnitudes of these are set by the variance of the in-degree and out-degree distributions of the underlying network. Mathematically, these two friendship paradoxes can be stated as

  • Random friend Y has more followers than a random node X, on average:
    E{do(Y)}d¯=Var{do(X)}d¯0. 4
  • Random follower Z has more friends than a random node X, on average:
    E{di(Z)}d¯=Var{di(X)}d¯0. 5

For the derivation, please see Supplementary Note 1.

The remaining two variants of the friendship paradox state that (3) random friends have more friends than random nodes do, and (4) random followers have more followers than random nodes do (on average). In contrast to the first two variants of the paradox stated above, the remaining two variants require positive correlation between the in-degree and the out-degree of nodes in the network:

  • Random friend Y has more friends than a random node X, on average:
    E{di(Y)}d¯=Cov{di(X),do(X)}d¯0. 6
  • Random follower Z has more followers than a random node X, on average:
    E{do(Z)}d¯=Cov{di(X),do(X)}d¯0. 7

For the derivation, please see Supplementary Note 1.

Equations (6) and (7) state that in networks where the in- and out-degrees of a random node are positively correlated, (1) the expected number of friends of a random friend is greater than the expected number of friends of a random node, and (2) the expected number of followers of a random follower is greater than that of a random node. The mathematical formulations of the friendship paradox in directed networks were independently proved recently in ref. 16 utilizing vector norms.

To give additional intuition, Fig. 1 illustrates the above four variants of the friendship paradox in the subgraph of the Twitter social network (see the “Methods” secion), showing the fraction of individuals with a specific in-degree (or out-degree) who experience the paradox. Note that this fraction is high: at least half of the users with 100 or fewer friends (or followers) observe that they are less popular and well-connected than their friends and followers are on average. The noise in Fig. 1 likely stems from Twitter’s follow limits. When individuals reach the limit, they must curate their social links more deliberately and recruit more followers before they can add more friends.

Fig. 1. Illustration of the effects of the four versions of the friendship paradox using Twitter dataset described in the “Methods” section.

Fig. 1

The sub-figures display the fraction of nodes (empirical probability of the paradox) of a particular degree whose a friends have more followers, b followers have more friends, c friends have more friends, and d followers have more followers, on average.

Global perception bias

When nodes have distinguishing traits or attributes, the friendship paradox can bias perceptions of those attributes. For simplicity, we assume that each node has a binary-valued attribute (fV → {0, 1}). Such binary functions are useful for representing, among others, voting preferences (Democratic or Republican), demographic characteristics (female or male), contagions (infected vs. susceptible), or the spread of information in networks (using a particular hashtag or not).

The global prevalence of the attribute in a directed network is given by E{f(X)}, the expected value of the attribute of a random node X. In other words, when only 5% of nodes have the attribute f(v) = 1, its expected value is E{f(X)}=0.05.

Nodes’ perceptions of the prevalence of the attribute, however, are determined by its value among their friends, i.e., E{f(Y)}, the expected attribute value of a randomly chosen friend Y. On Twitter, this translates into how many people see the topic in their social feed, since the feed aggregates posts made by friends. Under some conditions, the perceived prevalence of the attribute E{f(Y)} will be very different from its actual prevalence E{f(X)}. We define this as global perception bias:

Bglobal=E{f(Y)}E{f(X)}=Cov(f(X),do(X))d¯=ρdo,fσdoσfd¯, 8

where ρdo,f is the Pearson correlation coefficient between out-degree and attribute value of a random node, σdo is the standard deviation of the out-degree distribution, and σf is the standard deviation of the binary attributes (see Supplementary Note 1 for the derivation).

When the attribute is correlated with the out-degree (ρdo,f>0), a random friend’s attribute is larger than the attribute value of a random node, on average. In undirected networks this effect is known as generalized friendship paradox12, and it has the same intuition: when popular people (with many followers) are more likely to possess some trait (ρdo,f>0), that trait will be overrepresented among the friends of any individual. As a result, people will tend to overestimate the trait’s prevalence. This may explain the observation that adolescents overestimate the number of smokers or heavy drinkers among their peers2. All that is required for the bias to hold is for peers engaging in risky behaviors to tend to be more popular.

Note that the magnitude of the friendship paradox

SFP=E{do(Y)}d¯=σdo2d¯

increases with the standard deviation of the out-degree distribution (σdo) and decreases with the average degree (d¯). Global perception bias Bglobal also increases with σdo and decreases with d¯ when the correlation coefficient ρdo,f remains fixed. Hence, friendship paradox amplifies global perception bias, increasing the deviation between the actual and observed prevalence of the attribute in the network.

Additional perception biases can arise in directed networks. Recall that a random friend Y is an individual sampled with a probability proportional to the out-degree, and a random follower Z is an individual sampled with a probability proportional the in-degree. The random friend Y can be thought of as a person being observed, whereas a random follower Z is a person who is observing. In this context, the perception bias Bglobal=E{f(Y)}E{f(X)} compares the opinion of a random person being observed with the global (true) prevalence. By the same token, the quantity E{f(Z)}E{f(X)} compares the opinion of a random observer with the global prevalence. The difference

E{f(Y)}E{f(Z)}=1d¯E{f(X)(do(X)di(X))}

can then be thought of as the expected difference of the opinions between the observed and the observer pair chosen randomly from the network. This interpretation opens up a causal perspective of the perception bias in directed networks for future work.

Local perception bias

One problem with using Bglobal (Eq. (8)) to measure perception bias is that E{f(Y)} captures the expected value of the attribute among the friends of all individuals, rather than the friends of a randomly chosen individual X. In order to reflect more accurately how individual’s perceptions are skewed by their friends, we propose a new measure of perception bias. To quantify this bias we begin by defining the perception qf(v) of an individual v ∈ V about the prevalence of an attribute f among his or her friends:

qf(v)=uF(v)f(u)di(v), 9

where F(v) denotes the set of friends of v. We define local perception bias as the deviation of the expected perception of a trait of a random individual from its global prevalence:

Blocal=E{qf(X)}E{f(X)}. 10

To help understand Blocal, we define the attention that a node v ∈ V allocates to each of her friends:

A(v)=1di(v).

The expression for attention is motivated by an observation that users with more friends tend to receive more messages18, making them less likely to see any specific friend’s post19. This allows us to succinctly express the expected perception of a random node X as (see Supplementary Note 1 for the derivation)

E{qf(X)}=d¯E{f(U)A(V)(U,V)~Uniform(E)}.

Here, d¯ is the expected number of friends of a random node, and U and V denote the endpoints of a link sampled uniformly from E. Intuitively,

E{f(U)A(V)(U,V)~Uniform(E)}

represents the expected influence of an interaction along a link drawn at random from the network: i.e., the attribute f(U) of the friend U times the attention that the follower V pays to that friend. Note that for simplicity we assumed that nodes divide their attention uniformly over all friends, though the analysis can be extended to weighted networks, where weights model non-uniform attention, with individuals paying more attention to their more important or influential friends.

Relationship between Blocal and Bglobal

Local perception bias Blocal is a refinement of global perception bias Bglobal, which accounts for how individuals divide their attention in the network. Indeed, if the attention of followers is independent of the attribute of their friends, both measures are the same. Formally, Bglobal and Blocal are equal if and only if the attribute f(U) of U and attention A(V) along a random link (UV) are uncorrelated, i.e.,

Cov{f(U),A(V)(U,V)~Uniform(E)}=0, 11

as we show in Supplementary Note 1.

On the other hand, positive local perception bias exists, i.e., Blocal ≥ 0, when the folowing conditions are met (see SI):

Cov{f(X),do(X)}0and, 12
Cov{f(U),A(V)(U,V)~Uniform(E)}0. 13

The first condition (Eq. (12)) specifies positive correlation between the out-degree and the attribute of a random node, which occurs when popular nodes are more likely to have the attribute. This is a necessary and a sufficient condition for Bglobal ≥ 0 (see Eq. (8)). The second condition (Eq. (13)) specifies positive correlation between the attention of a follower and the attribute of a friend, suggesting that nodes with an attribute are followed by nodes that divide their attention over few others. This is a necessary and a sufficient condition for Blocal ≥ Bglobal (see Supplementary Note 1). Hence, these two conditions collectively are sufficient for positive local perception bias, leading individuals to overestimate the attribute’s prevalence, i.e., Blocal ≥ Bglobal ≥ 0. Analogously, changing the signs of Eqs. (12) and (13) leads to negative local perception bias (see Supplementary Note 2), which implies that nodes underestimate the prevalence of an attribute.

Under other conditions Bglobal and Blocal can differ significantly and even disagree, with one measure indicating that individuals are underestimating and the other indicating that they are overestimating the prevalence of an attribute. We analytically characterize the two cases where this occurs (see Supplementary Note 1):

  1. Let Bglobal < 0, then Blocal > 0 if and only if
    Cov{f(U),A(V)(U,V)~Uniform(E)}>Bglobald¯.
  2. Let Bglobal > 0, then Blocal < 0 if and only if
    Cov{f(U),A(V)(U,V)~Uniform(E)}<Bglobald¯.

The first condition states that when Bglobal is negative, Blocal can still be positive if sufficiently many nodes with an attribute have followers with high attention (because they divide it over few friends). Similarly, when Bglobal is positive, Blocal can be negative when few of the nodes with an attribute have high attention followers, leading to a negative correlation between the attribute of a friend and the attention of his or her follower. The discrepancy exists because Bglobal makes a mean-field approximation by assuming that the expected attribute value among friends of a random node X is equal to the expected attribute value of a random friend Y sampled from the entire network. In contrast, Blocal is a higher resolution measure that takes the underlying network structure into account via the correlation between the attribute of a friend and the attention of a follower.

Relation to inversity in undirected networks: Local perception bias is related to the concept of inversity20, which is defined as the correlation coefficient of the two random variables d(U) and 1∕d(V) where, d denotes the degree, and (UV) is a uniformly sampled link in an undirected network. Although the mathematical form of inversity is reminiscent of degree assortativity21, it does not convey the same information. Kumar et al.20 shows that the relation between global and local versions of the friendship paradox in undirected networks is characterized by inversity and not assortativity. Specifically, when inversity is positive, then the local version of the friendship paradox is larger in magnitude than the global version of the friendship paradox in undirected networks. This result can be obtained by extending our analysis to undirected networks and setting f = d in the expressions for Bglobal and Blocal. In fact, Eq. (13) (which is a necessary and sufficient condition for Blocal ≥ Bglobal) in our paper generalizes their findings to directed networks and arbitrary exogenous attributes f.

Empirical validation

We used data from Twitter (see the “Methods” section) to compare the actual and perceived popularity of hashtags (i.e., topics) mentioned in text posts. We treat each hashtag h as a binary attribute, with fh(v) = 1 if a user v used the hashtag h in his or her posts.

Figure 2a displays the histogram of the prevalence (E{f(X)}) of the 1153 most popular hashtags, each used by more than 1000 people in our data set. The bulk of these hashtags were used by fewer than 2% of the people, with the most popular hashtags being used by just 8% of the people in our sample. Figure 2b shows the histogram of local perception bias Blocal for all hashtags. Although its peak is at zero, the distribution is skewed, with 865 hashtags having a positive bias, meaning that they appear more popular than they really are. Measurements of individual’s perception shows that most users in our sample overestimate how popular hashtags are (see Supplementary Note 2).

Fig. 2. Global prevalence and local bias of popular hashtags.

Fig. 2

Histogram of the distribution of a global prevalence E{f(X)} and b local perception bias Blocal of popular hashtags in the Twitter data. Local perception bias Blocal (overestimating the prevalence) exists for most hashtags.

What hashtags are most biased? Figure 3 shows the top-20 and bottom-10 hashtags ranked by Blocal (see Supplementary Fig. 3 for the ranking of hashtags based on the global bias). Among the most positively biased hashtags are those associated with social movements (#ferguson, #mikebrown, #michaelbrown), memes and current events (#icebucketchallenge, #alsicebucketchallenge, #ebola, #netneutrality), sports and entertainment (#emmys, #robinwilliams, #sxsw, #applelive, #worldcup). For example, #ferguson, with E{qf(X)}=12.1%, is perceived as the most popular hashtag. While it is also one of the more widely used hashtags, with E{f(X)}=3.1%, perception bias makes it appear about four times more popular to Twitter users than it actually is.

Fig. 3. The ranking of popular Twitter hashtags based on Local Bias.

Fig. 3

Top-20 and bottom-10 are included in the ranking. The bars compare E{f(X)} (global prevalence) and E{qf(X)} (local perception) and include 95% confidence intervals. The hashtags can appear to be much more popular than they actually are (e.g. #ferguson) or, they can appear to be less popular (e.g. #oscars) due to local perception bias. Definition of some hashtags: #mike(/michael)brown and #ferguson (an 18-year-old African American male killed by police), #tbt (Throwback Thursday—for posting an old picture on Thursdays), #ff (Follow Friday—introducing account worth following), #tcot (Top Conservatives On Twitter), #rt (Retweet).

There are also negative biased hashtags, which appear less popular than they actually are. Among these hashtags are Twitter conventions aimed at getting more followers (#tfb, #followback, #follow, #teamfollowback) or more retweets (#shoutout, #pjnet, #retweet, #rt). Many of these hashtags are actually among the top-20 most popular Twitter hashtags (#oscars, #tcot, #quote and #rt), but due to the structure of the network, they appear less popular to users. This occurs either because people who use these hashtags do not have many followers (Cov{f(X), do(X)} < 0), or the attention of their followers is diluted because they follow many others (Cov{f(U),A(V)}<0). For example, for #oscars, both of the covariances are negative. Some hashtags also have Blocal and Bglobal with opposite signs, meaning that one measure overestimates the prevalence of the hashtag, while the other underestimates it. Many political hashtags in our sample fall in this category, including #sotu, #occupy, #marriageequality. Additional examples of these hashtags, as well as negatively biased hashtags, are listed in Supplementary Note 2.

Estimating global prevalence via polling

The aim of polling is to estimate the global prevalence EfX of an attribute by sampling individuals and averaging their answers to a specific question. The accuracy of a poll depends on two key factors: (i) the method of sampling individuals and (ii) the question asked of them. We propose a practical polling algorithm (see Algorithm 1 in Supplementary Note 3) that differs from the currently used polling algorithms in both aspects. First, our algorithm samples random followers, instead of random individuals, by selecting b individuals from the distribution

pv=divvVdiv,vV.

Second, the sampled individuals are asked about their perceptions instead of their own attribute: “What do you think is the fraction of individuals with attribute 1?” Their perceptions are then aggregated in a polling estimate:

f^FPP=1bvqf(v). 14

The key idea behind our follower perception polling (FPP) algorithm is to sample individuals who have more friends, as this allows them to aggregate more information. According to the friendship paradox (Eq. (5)), random followers have, on average, more friends than random individuals do. As a result, the variance of their perceptions will be smaller than that of random individuals, and hence it will result in a more accurate estimate of the global prevalence of the attribute. We analytically show (see the “Methods” section) that (i) the bias of the estimate f^FPP produced by the FPP algorithm is equal to the global perception bias Bglobal and, (ii) variance of the estimate f^FPP is bounded from above by a function of the correlation between out-degree and the attribute, as well as spectral properties of the network given by the second largest eigenvalue of the bibliographic coupling matrix.

The FPP algorithm assumes that every node has a non-zero in-degree and out-degree. To evaluate the performance of this polling algorithm, we extract a subgraph of 5409 Twitter users from our dataset with the same properties. We use the FPP algorithm to estimate the popularity of the 500 most frequent hashtags mentioned by users in this subgraph. We compare the performance of the proposed FPP algorithm on this induced subgraph to two alternative algorithms:

  1. Intent polling (IP): asks random users whether they used a hashtag (yellow in Fig. 4).

  2. Node perception polling (NPP): asks random users what fraction of their friends used the hashtag (orange in Fig. 4).

  3. FPP: asks random followers what fraction of their friends used the hashtag (green in Fig. 4).

Fig. 4. Comparison of estimates of the prevalence of Twitter hashtags produced by the polling algorithms.

Fig. 4

Variation of a squared bias (Bias{T}2), b variance (Var{T}), and c mean squared error (Bias{T}2 +  Var{T}) of the polling estimate T as a function of a hashtag's global prevalence E{f(X)}. Each point represents a different hashtag and a fixed sampling budget b = 25. The polling algorithms used are intent polling (IP), node perception polling (NPP) and the proposed follower perception polling (FPP). d Fraction of hashtags for which the FPP algorithm outperforms the other two in terms of MSE. The fraction for NPP approaches 0.5, and for IP approaches 0.8 as sampling budget b increases. These figures illustrate that the proposed FPP algorithm achieves a bias-variance trade-off by coupling perception polling with friendship paradox to reduce the mean squared error.

NPP differs from IP in terms of the questions asked: random nodes are asked about their perception in NPP, whereas they are asked about their own attribute in IP. FPP differs from NPP in terms of the sampling method: random followers are sampled in FPP, while random node sampling is used in NPP. Hence, comparing the performance of IP with NPP will illustrate the benefit of polling perceptions instead of attributes, and comparing the performance of FPP with NPP will illustrate the benefits of the friendship paradox-based sampling.

Figure 4a shows the bias of estimates produced by polling algorithms for a fixed sampling budget b = 25, which corresponds to querying 0.5% of the nodes. As shown in the analysis of the polling algorithm (see the “Methods” section), FPP produces biased estimates for each hashtag (Fig. 4a), given by Bglobal value for that hashtag, although it produces a smaller variance estimates (Fig. 4b). Hence, in terms of the mean squared error, defined as

MSET=BiasT2+VarT

for an estimate T, FPP estimates are more accurate compared to both IP and NPP for most hashtags (Fig. 4c). Increasing the sampling budget decreases performance gap between FPP and the other two algorithms (Fig. 4d). However, even with b = 250 (5% of the nodes polled), FPP outperforms IP in more than 80% of the cases, and it outperforms NPP in more than 55% of the cases.

The variance of the polling estimate (Eq. (19)) is bounded by an expression that includes λ2, the second largest eigenvalue of the degree-discounted bibliographic coupling matrix. For the Twitter data λ2 = 0.5984. Equation (19) with this value serves as the upper-bound of Var(f^FPP) for all 503 hashtags. The bound is quite loose and could be tightened in future work.

Follower sampling heuristic: The FPP algorithm assumes that followers are obtained by sampling nodes with probabilities proportional to their in-degree, or equivalently, sampling links at random from the network and then selecting the endpoint of the link. This is feasible when the entire network is known, or when the links have integer IDs, which can be uniformly sampled from a range of IDs. In many cases, neither strategy is feasible, either because the network is too large, or it does not allow access to individually indexed links. In that case, we can use the following heuristic to sample followers: select a node at random and ask her to nominate a random follower. Supplementary Note 3 shows that this heuristic can estimate hashtag prevalence almost as accurately as the exact implementation of the FPP algorithm that samples nodes proportional to their in-degree. Our intuition for this method is based on the fact that the undirected version of the friendship paradox holds for a random neighbor of a random node as well as a random end of a random link22.

Discussion

Social networks can exhibit surprising, even counter-intuitive behaviors. For example, previous work has shown that the “majority illusion” may lead people to observe that the majority of their friends has some attribute, even when it is globally rare11, and to dramatically underestimate the size of the minority group6. These effects arise due to the friendship paradox, which can also bias the observations individuals make in directed networks. Our analysis identifies the conditions under which friendship paradox can distort how popular some attribute or behavior (e.g., drinking, smoking, etc.) is perceived to be, making it appear several times more prevalent than it actually is. The following two conditions amplify perception bias: (1) positive correlation between the attributes of individuals and their popularity (number of followers in a directed network) and (2) positive correlation between the attributes of individuals and the attention of their followers. The first condition suggests that bias exists when popular people have the attribute, for example, engage in risky behavior, have a specific political affiliation, or simply use a particular hashtag. Their influence is amplified when they are followed by good listeners, i.e., people who follow fewer others and thus are able to pay more attention to the influentials. These conditions can be generated by biases in preferences during network formation, driven for example, by homophily6,23.

We validated these findings empirically using data from the Twitter social network. We measured perceptions of the popularity of hashtags, i.e., words or phrases preceded by a ‘#’ sign that are frequently used to identify topics on Twitter. Such hashtags serve many important functions, from organizing content, to expressing opinions, to linking topics and people. We measured a hashtag’s global prevalence as the fraction of all people using it, and its perceived popularity as the fraction of friends using it. Our analysis identified hashtags that appeared several times more popular than they actually were, due to local perception bias. Such hashtags were associated with social movements, memes, and current events. Interestingly, as our data was collected in 2014, some of the most biased hashtags were #icebucketchallenge and #alsicebucketchallenge, the explosively popular Ice Bucket Challenge. Perception bias could have potentially amplified their spread, as well as the spread of other costly behaviors that require social proof24. For example, the #MeToo movement has grown into an international campaign to end sexual harassment and assault in the workplace by highlighting just how endemic the problem is. It spread through online social networks as women posted their own stories of harassment using the hashtag #metoo. Perception bias may have amplified the spread of such hashtags by making them appear more common and thus easier to use.

We also presented an algorithm that leverages friendship paradox in directed networks to estimate the true prevalence of an attribute with smaller mean-squared error than other methods. In essence, the idea behind the algorithm is that perceptions of random followers should have a smaller variance compared to the perceptions of random individuals, because random followers are more informed than random people are, since according to friendship paradox they tend to have more friends. Empirical results confirm that the proposed algorithm outperforms other widely used polling algorithms.

Our work suggests that one way to mitigate perception bias is to alter the local network topology to allow more information to reach the low-attention users. This opens up new research avenues on how link recommendation can alleviate perception bias. However, our empirical study has limitations, namely, the nature of the subsample of the network we considered. Social networks are huge, necessitating analysis of subgraphs sampled from the entire network. However, by leaving out some nodes, data collection process itself may distort the properties of the sample. Specifically, since we observed only the outgoing links from the seed nodes, we do not have information about the followers of these nodes. Addressing the limitations of analysis imposed by sampling is an important research direction. Despite this limitation, our work shows that friendship paradox can lead to surprising biases, especially in directed networks, and suggests potential strategies for mitigating them.

Methods

Data

The dataset used in this study was collected from Twitter in 2014. We started with a set of 100 users who were active discussing ballot initiatives during the 2012 California election and expanded this set by retrieving the accounts of the individuals they followed and reached a total of 5599 users. We refer to these individuals as seed users. Next, we identified all friends of the seed users, collecting all directed links that start with one of the seed users. We then collected all posts made by the seed users and their friends—over 600K users in total—over the period June–November 2014. The posts include their activity, i.e. tweets and retweets. These tweets mention more than 18M hashtags. With this data-collection approach, seed users are fully observed (their activity and what they see in their social feeds), and their friends are only partially observed (only their activity).

Table 1 reports properties of the Twitter dataset, considering only the seed users. Note that the average degree d¯ (where, d¯=E{do(X)}=E{di(X)}) is relatively large at 123.55. However, since the distribution of the in- and out-degree is highly heterogeneous, the variance of the in- and out-degrees is relatively large (two orders of magnitude compared to d¯). The covariance between the in- and out-degrees of nodes is also relatively large with a correlation coefficient

ρ{di(X),do(X)}=Cov{di(X),do(X)}Var{do(X)}Var{di(X)}=0.52.

Table 1.

Properties of the Twitter subgraph.

Properties of nodes
Avg. degree d¯=E{di(X)} 123.55
variance of out-degree Var{do(X)} 30,096.16
variance of in-degree Var{di(X)} 24,338.66
covariance Cov{di(X), do(X)} 14,226.32
Properties of friends and followers
Friend’s avg. out-degree E{do(Y)} 367.14
Friend’s avg. in-degree E{di(Y)} 238.68
Follower’s avg. in-degree E{di(Z)} 320.54
Follower’s avg. out-degree E{do(Z)} 238.68

Due to the relatively large variance of the in- and out-degree distributions, the expected out-degree of a random friend (E{do(Y)}) and the expected in-degree of a random follower (E{di(Z)}) are larger than the average degree d¯ (see Eq. (5)). Note also that, due to positive covariance between the in- and out-degrees of nodes, the expected in-degree of a random friend (E{di(Y)}) and the expected out-degree of a random follower (E{do(Z)}) are also larger than d¯, as stated in Eq. (7).

Friendship paradox-based polling: performance analysis

The accuracy of a poll depends on the method of sampling respondents and the question asked of them. For example, in the case of estimating an election outcome, asking people “Who do you think will win?” (expectation polling) is better than “Who will you vote for?” (IP)25. This is because in expectation polling, an individual names the candidate more popular among her friends, thus summarizing a number of individuals in the social network, rather than provide her own voting intention. Our FPP algorithm is motivated by2527, which shows that polling methods asking individuals to summarize information in their neighborhood outperform polling methods that ask only about the attribute of each individual. Dasgupta et al.26 studied the polling problem analytically in the context of an undirected network and, proposed a method to obtain an unbiased estimate of the global prevalence with bounds on its variance. The analysis of the FPP algorithm for directed graphs is motivated by these results in ref. 26 for undirected social networks. Nettasinghe and Krishnamurthy27 proposed to ask the simple question “What fraction of your neighbors have the attribute 1?” (neighborhood expectation polling) from randomly sampled neighbors (instead of random nodes) on undirected social networks. In this case, sampled individuals will provide the average opinion among their neighbors. Further, since random friends have more friends than random individuals, this approach would yield an estimate with a smaller variance than asking it from random nodes. Motivated by these works, the FPP algorithm exploits the friendship paradox on directed networks to obtain a statistically efficient estimate of the global prevalence of an attribute using biased perceptions of random followers.

Recall that in order to reduce the variance, the FPP algorithm polls perceptions qf(Z) of random followers Z instead of attributes f(X) of random individuals X. However, it is not guaranteed that the estimate f^FPP will be unbiased. The following result shows that the bias of the FPP algorithm is the same as the global perception bias Bglobal.

The bias of the estimate f^FPP computed by the FPP algorithm (see Supplementary Note 3 for the derivation) is equal to the global perception bias:

Bias(f^FPP)=E{f^FPP}E{f(X)}=Bglobal 15

Hence, the same factors (specified in Eq. (8)) that increase (decrease) the global perception bias will increase (decrease) the bias of the estimate f^FPP produced by the FPP algorithm. The aim of the FPP algorithm is to compensate for the bias Bglobal of the algorithm with a reduced variance and thereby achieve a smaller mean squared error. Also, we highlight that FPP algorithm can be modified to generate an unbiased estimate by replacing Eq. (14) with

f^FPPUnbiased=1bvS1NpvuFr(v)f(u)do(u). 16

The unbiased estimate f^FPPUnbiased is based on the concept of social sampling proposed in ref. 26 for undirected social networks where, queried individuals provide a weighted value of their friends’ attributes in a manner that results in an unbiased estimate. This estimate is useful in contexts where unbiasedness is preferred over mean-squared error to assess the performance of the estimate. However, this does not result in an intuitive and easily implementable algorithm similar to the FPP algorithm, since the modified estimate f^FPPUnbiased involves each sampled individual calculating a weighted average of the attributes of her neighbors.

Before analyzing the variance of the polling estimate f^ produced by the FPP algorithm, we digress briefly to review the bibliographic coupling matrix. Bibliographic coupling originated from the analysis of citation networks28, and is used to symmetrize a directed graph by transform it into an undirected graph for purposes of clustering, etc. The bibliographic coupling matrix B of a directed graph with adjacency matrix A is defined as B = AAT. Hence, the weight of the link between nodes ij in the new undirected graph is B(ij) = ∑vVA(iv)A(jv) which corresponds to the number of mutual followers of i and j. Hence, the weight of the link between two nodes i and j in B is the number of individuals who follow both of these nodes. This conveys the similarity of ij in terms of the number of mutual followers. However, when determining the similarity of two nodes ij using B, a mutual follower with a large number of friends (a likely scenario), is weighted the same as a mutual follower with a small number of friends (a rarer scenario). Hence, the latter type of mutual follower should be given more weight compared to the former type when evaluating the similarity of two nodes. Similarly, the number of followers of i and j should also be taken into consideration when assessing their similarity. Based on these observations, Satuluri and Parthasarathy29 proposed the degree-discounted bibliographic coupling matrix

Bd=Do12ADi1ATDo12 17

where Do and Di are the N × N dimensional diagonal matrices with Do(ii) = do(i) and Di(ii) = di(i), respectively. The (ij) element of Bd is

Bd(i,j)=1do(i)do(j)kVA(i,k)A(j,k)di(k), 18

which discounts the contributions of the nodes ij by their out-degrees and each mutual follower k by her in-degree. Please see refs. 29,30 for more details on the degree-discounted bibliographic coupling.

Returning to the analysis of the estimate f^FPP, we can calculate the upper bound on the variance of this estimate under certain conditions on the structure of the network. Specifically, if the degree-discounted bibliographic coupling matrix Bd is connected, non-bipartite, then

Var(f^FPP)=fTDo12bMDo12ADi1ATDo12Do1211TDo12MDo12f 19
1bMλ2Do12f2 20

where, M = ∑vVdi(v), λ2 is the second largest eigenvalue of Bd, f is the N × 1 dimensional vector of binary attributes (see Supplementary Note 3 for the full derivation).

This result shows that the variance of the FPP algorithm depends on the correlation between the out-degrees and attributes Do12f2 and the structure of the graph via second largest eigenvalue λ2 of the matrix Bd. Specifically, a smaller λ2 implies that the bibliographic coupling network has a good expansion (i.e. absence of bottlenecks)31. Hence, if the nodes in the network G = (VE) cannot be clustered into distinct groups based on their mutual followers (i.e. bibliographic similarity) then, the variance of the algorithm will be smaller (due to smaller λ2).

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Supplementary information

Supplementary Information (910.7KB, pdf)
Peer Review File (319.5KB, pdf)
Reporting summary (457.9KB, pdf)

Acknowledgements

This work was funded in part by Air Force Office of Scientific Research (AFOSR) under Contract No. FA9550-17-1-0327, in part by the Army Research Office (ARO) under Contract No. W911NF-16-1-0306 and by the Defense Advanced Research Projects Agency (DARPA) under Contract No. W911NF-17-C-0094.

Author contributions

N.A. analyzed data and carried out experiments; B.N. and V.K. carried out theoretical analysis; B.N. completed proofs, K.L., A.A., N.A. and B.N. conceptualized the study; K.L., A.A., N.A. and B.N. wrote the paper; V,K., K.L. and A.A. reviewed the paper.

Data availability

The Twitter network and used hashtags by users data are available in https://osf.io/pjkr9/. Due to Twitter restrictions on sharing raw data, we are unable to share the raw Tweet content.

Code availability

Codes to generate the results of the paper are available on https://github.com/ninoch/perception_bias.

Competing interests

The authors declare no competing interests.

Footnotes

Peer review information Nature Communications thanks Hang-Hyun Jo and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Nazanin Alipourfard, Buddhika Nettasinghe.

Contributor Information

Nazanin Alipourfard, Email: nazanina@isi.edu.

Buddhika Nettasinghe, Email: dwn26@cornell.edu.

Supplementary information

Supplementary information is available for this paper at 10.1038/s41467-020-14394-x.

References

  • 1.Miller DT, Prentice DA. Collective errors and errors about the collective. Personal. Soc. Psychol. Bull. 1994;20:541–550. doi: 10.1177/0146167294205011. [DOI] [Google Scholar]
  • 2.Baer JS, Stacy A, Larimer M. Biases in the perception of drinking norms among college students. J. Studies Alcohol. 1991;52:580–586. doi: 10.15288/jsa.1991.52.580. [DOI] [PubMed] [Google Scholar]
  • 3.Prentice DA, Miller DT. Pluralistic ignorance and alcohol use on campus: some consequences of misperceiving the social norm. J. Personal. Soc. Psychol. 1993;64:243–256. doi: 10.1037/0022-3514.64.2.243. [DOI] [PubMed] [Google Scholar]
  • 4.Kitts JA. Egocentric bias or information management? selective disclosure and the social roots of norm misperception. Soc. Psychol. Q. 2003;66:222–237. doi: 10.2307/1519823. [DOI] [Google Scholar]
  • 5.Berkowitz, A. D. An Overview of the Social Norms Approach. Changing the Culture of College Drinking: A Socially Situated Health Communication Campaign, 193–214 (Hampton Pr, 2005).
  • 6.Lee E, et al. Homophily and minority-group size explain perception biases in social networks. Nat. Hum. Behav. 2019;3:1078–1087. doi: 10.1038/s41562-019-0677-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Jackson MO. The friendship paradox and systematic biases in perceptions and social norms. J. Polit. Econ. 2019;127:777–818. doi: 10.1086/701031. [DOI] [Google Scholar]
  • 8.Feld SL. Why your friends have more friends than you do. Am. J. Sociol. 1991;96:1464–1477. doi: 10.1086/229693. [DOI] [Google Scholar]
  • 9.Bollen J, Gonçalves B, Ruan G, Mao H. Happiness is assortative in online social networks. Artif. Life. 2011;17:237–251. doi: 10.1162/artl_a_00034. [DOI] [PubMed] [Google Scholar]
  • 10.Benevenuto F, Laender AHF, Alves BL. The h-index paradox: your coauthors have a higher h-index than you do. Scientometrics. 2016;106:469–474. doi: 10.1007/s11192-015-1776-2. [DOI] [Google Scholar]
  • 11.Lerman K, Yan X, Wu X-Z. The “majority illusion” in social networks. PLoS ONE. 2016;11:e0147617. doi: 10.1371/journal.pone.0147617. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Eom Y-H, Jo H-H. Generalized friendship paradox in complex networks: the case of scientific collaboration. Sci. Rep. 2014;4:4603. doi: 10.1038/srep04603. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Abel JP, Buff CL, Burr SA. Social media and the fear of missing out: Scale development and assessment. J. Bus. Econ. Res. 2016;14:33. [Google Scholar]
  • 14.Hodas, N., Kooti, F. & Lerman, K. Friendship paradox redux: your friends are more interesting than you. In: Kiciman, E., Ellison, N. B., Hogan, B., Resnick, P. & Soboroff, I. (eds) Proc. 7th International AAAI Conference on Weblogs and Social Media, (The AAAI Press, 2013).
  • 15.Kooti, F., Hodas, N. O. & Lerman, K. Network weirdness: exploring the origins of network paradoxes. In: Adar, E., Resnick, P., De Choudhury, M., Hogan B. & Oh, A. H. (eds) Proc. International Conference on Weblogs and Social Media (ICWSM), (The AAAI Press, 2014).
  • 16.Higham DJ. Centrality-friendship paradoxes: when our friends are more important than us. J. Complex Netw. 2018;7:515–528. doi: 10.1093/comnet/cny029. [DOI] [Google Scholar]
  • 17.Jo H-H, Eom Y-H. Generalized friendship paradox in networks with tunable degree–attribute correlation. Phys. Rev. E. 2014;90:022809. doi: 10.1103/PhysRevE.90.022809. [DOI] [PubMed] [Google Scholar]
  • 18.Rodriguez, M. G., Gummadi, K. & Schoelkopf, B. Quantifying information overload in social media and its impact on social contagions. In: Adar, E., Resnick, P., De Choudhury, M., Hogan B. & Oh, A. H. (eds) Proc. Eighth International AAAI Conference on Weblogs and Social Media, (The AAAI Press, 2014).
  • 19.Hodas, N. O. & Lerman, K. How limited visibility and divided attention constrain social contagion. In Proc. ASE/IEEE International Conference on Social Computing, (IEEE Computer Society, 2012).
  • 20.Kumar, V., Krackhardt, D. & Feld, S. Network Interventions Based on Inversity: Leveraging the Friendship Paradox in Unknown Network Structures. Technical report, Working Paper, Yale University (2018).
  • 21.Newman MEJ. Assortative mixing in networks. Phys. Rev. Lett. 2002;89:208701. doi: 10.1103/PhysRevLett.89.208701. [DOI] [PubMed] [Google Scholar]
  • 22.Cao, Y. & Ross, S. M. The friendship paradox. Math. Sci.41, 61–64 (2016).
  • 23.Currarini S, Jackson MO, Pin P. An economic model of friendship: homophily, minorities, and segregation. Econometrica. 2009;77:1003–1045. doi: 10.3982/ECTA7528. [DOI] [Google Scholar]
  • 24.Cheng, J. et al. Do diffusion protocols govern cascade growth? In: Starbird, K. & Weber, I. (eds) Proc. International Conference on the Web and Social Media, (The AAAI Press, 2018).
  • 25.Rothschild, D. M. & Wolfers, J. Forecasting Elections: Voter Intentions Versus Expectations. SSRN Electronic Journal, 10.2139/ssrn.1884644 (2011).
  • 26.Dasgupta, A., Kumar, R. & Sivakumar, D. Social sampling. In: Yang, Q., Agarwal, D. & Pei, J. (eds) Proc. 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 235–243 (ACM, 2012).
  • 27.Nettasinghe, B. & Krishnamurthy, V. “What do your friends think?”: efficient polling methods for networks using friendship paradox. IEEE Trans. Knowl. Data Eng. (2019).
  • 28.Kessler MM. Bibliographic coupling between scientific papers. Am. Doc. 1963;14:10–25. doi: 10.1002/asi.5090140103. [DOI] [Google Scholar]
  • 29.Satuluri, V. & Parthasarathy, S. Symmetrizations for clustering directed graphs. In: Ailamaki, A. et al. (eds) Proceedings of the 14th International Conference on Extending Database Technology, 343–354 (ACM, 2011).
  • 30.Malliaros FD, Vazirgiannis M. Clustering and community detection in directed networks: a survey. Phys. Rep. 2013;533:95–142. doi: 10.1016/j.physrep.2013.08.002. [DOI] [Google Scholar]
  • 31.Estrada E. Network robustness to targeted attacks. the interplay of expansibility and degree distribution. Eur. Phys. J. B. 2006;52:563–574. doi: 10.1140/epjb/e2006-00330-7. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Information (910.7KB, pdf)
Peer Review File (319.5KB, pdf)
Reporting summary (457.9KB, pdf)

Data Availability Statement

The Twitter network and used hashtags by users data are available in https://osf.io/pjkr9/. Due to Twitter restrictions on sharing raw data, we are unable to share the raw Tweet content.

Codes to generate the results of the paper are available on https://github.com/ninoch/perception_bias.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES