Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 2011 Dec 13;108(52):20953-20958. doi: 10.1073/pnas.1109521108

Computing global structural balance in large-scale signed social networks

Giuseppe Facchetti 1, Giovanni Iacono 1, Claudio Altafini 1,1
PMCID: PMC3248482  PMID: 22167802

Abstract

Structural balance theory affirms that signed social networks (i.e., graphs whose signed edges represent friendly/hostile interactions among individuals) tend to be organized so as to avoid conflictual situations, corresponding to cycles of negative parity. Using an algorithm for ground-state calculation in large-scale Ising spin glasses, in this paper we compute the global level of balance of very large online social networks and verify that currently available networks are indeed extremely balanced. This property is explainable in terms of the high degree of skewness of the sign distributions on the nodes of the graph. In particular, individuals linked by a large majority of negative edges create mostly “apparent disorder,” rather than true “frustration.”

Keywords: combinatorial optimization, social network theory


Online social networks are examples of large-scale communities of interacting individuals in which local ties between users (friend, fan, colleague, but also friend/foe, trust/distrust, etc.) give rise to a complex, multidimensional web of aggregated social behavior (14). For such complex networks, the emergence of global properties from local interactions is an intriguing subject, so far investigated mostly at structural and topological level (2, 58). In social network theory (911), however, the content of the relationships is often even more important than their topology, and this calls for the development of appropriate analytical and computational tools, able to extrapolate content-related features out of the set of interactions of a social community. Obtaining efficient tools is particularly challenging when, as in social networks retrieved from online media, the size of the community is very big, of the order of 105 individuals or higher.

A global property that has recently attracted some attention (1, 1214) is determining the structural balance of a signed social network. Structural (or social) balance theory was first formulated by Heider (15) in order to understand the structure and origin of tensions and conflicts in a network of individuals whose mutual relationships are characterizable in terms of friendship and hostility. It was modeled in terms of signed graphs by Cartwright and Harary (16); see refs. 10 and 11 for an overview of the theory. The nodes of the graph represent users and the positive/negative edges their friendly/hostile relationships. It has been known for some time how to interpret structural balance on such networks (16): The potential source of tensions are the cycles of the graph (i.e., the closed paths beginning and ending on the same node), notably those of negative sign (i.e., having an odd number of negative edges). It follows that the concept of balance is not related to the actual number of negative edges on the cycles but only to their parity; see Fig. 1 for an illustration on basic graphs. In particular, a signed graph is exactly balanced (i.e., tensions are completely absent) if and only if all its cycles are positive (16). As such, structural balance is intrinsically a property of the network as a whole, not fragmentable into elementary subgraphs.

Fig. 1.

Fig. 1.

Balanced and unbalanced graphs. (A) Simplest cases of balance and unbalance: triangles. Users A and C are related directly and indirectly (through B). The sentences on the top connote this indirect relationship between A and C. Blue edges represent friendship, red hostility. The triangles are balanced when the direct and the indirect relationships have the same sign, unbalanced otherwise. (B) For generic graphs, testing all triangles may not give a satisfactory measure of the global balance. In the example, the graph is not globally balanced, although all triangles are balanced. (C) Illustration of a gauge transformation. Applying a sign change to all edges adjacent to the node A of (B) only one negative edge is left in the graph, and δ = 1 in this case. In [2], this optimum corresponds to choosing sA = -1, sB = sC = sD = sE = +1. Notice that counting the total number of balanced/unbalanced cycles is not a significant measure of balance. It is evident, then, that in the ground state the nodes A, D, and E are perfectly balanced, whereas the nodes B and C have a nonnegative sum of signed edges (i.e., the global optimum is also a local optimum for each node).

From a computational point of view, verifying if a signed undirected network is exactly balanced is an easy problem, which can be answered in polynomial time (1719). When instead a graph is not exactly balanced, one can compute a distance to exact balance (i.e., a measure of the amount of unbalance in the network). The most plausible distance is given by the least number of edges that must be dropped (or changed of sign) in order for the graph to become exactly balanced (16, 20, 21). Computing this distance (called the “line index of balance” in refs. 20 and 21) is a nondeterministic polynomial-time hard problem, equivalent to a series of well-known problems, such as computing the ground state of a (nonplanar) Ising spin glass (22); solving a maximum-cut (MAX-CUT) problem (23, 24); or finding the best solution of an overconstrained linear system over a finite field (the so-called MAX-2XORSAT problem) (25). The equivalence with energy minimization of a spin glass has, for example, been highlighted recently in ref. 26 (see also refs. 27 and 28). In this context, a negative cycle is denoted a frustration, and frustrations are the trademark of complex energy landscapes, with many local minima whose structure and organization has been so far explored only in special cases. For instance, the case studied in ref. 28, the fully connected graph, is unrealistic for real social networks, which usually have heterogeneous connectivity degrees. As a matter of fact, for what concerns the online signed social networks currently available (see Materials and Methods for a description), only an analysis of local, low-dimensional motifs has been carried out so far (12, 13). This analysis amounts essentially to the enumeration of the triangles and to their classification into frustrated/not frustrated; see refs. 1 and 13. An alternative approach is taken in ref. 18, where spectral properties of the Laplacian are investigated. For connected signed graphs, the magnitude of the smallest eigenvalue of the Laplacian is indicative of how unbalanced a network is—i.e., of how much frustration is encoded in the cycles of the networks.

Both approaches provide useful information in order to understand the structural balance of signed social networks, yet this information is partial and unsatisfactory. The small motif analysis, for example, only identifies the frustration on the smallest possible groups of interacting users, but overlooks more long-range conflicts associated to longer cycles (and larger communities); see Fig. 1B for an example. The spectral approach, on the contrary, gives an idea of the overall amount of frustration of the network, but does not provide any information on which relationships remain unbalanced. In terms of spin glasses, solving the problem globally and identifying the residual ineliminable tensions means computing the ground state(s) of a heterogeneous Ising spin glass, with bimodal bond distribution. For this class of problems, algorithms have been benchmarked only on graphs of size up to a few thousand nodes. An overview of the state of the art for spin glass ground-state search is available in refs. 29 and 30, and for MAX-CUT in refs. 23, 24, 31, and 32.

We have recently introduced a efficient heuristic for ground-state search on signed graphs. This method is presented in ref. 33 in the context of monotonicity of biological networks. It is based on the application of equivalence transformations to the signed graph, called gauge transformations in the spin glass literature (34), or switching equivalences in the theory of signed graphs (35). The aim of these transformations is essentially to eliminate the so-called apparent disorder from the graph, while preserving the original frustration. Practically, these transformations lead to the reduction of the number of negative edges in the graph, see Fig. 1C, which simplifies the calculation of global balance. Our algorithm has proved capable of reaching very low energies on extremely large graphs. For two of the three signed networks reported in this study, in particular, our calculations are essentially exact (upper and lower bounds on the computed global balance differ by less than 1%).

Structural balance theory affirms that human societies tend to avoid tensions and conflictual relations. In a signed graph, this concept translates into a level of balance higher than expected, given the network structure. The level of balance achieved by a network depends on the connectivity of the graph, on the percentage of negative edges, and, most of all, on the distribution of these negative edges on the graph. Partial hints that social networks currently available are more balanced than expected are provided by both the small motif screening of refs. 1 and 13, and the spectral analysis of ref. 18, and are confirmed by our analysis. In particular, on the social networks analyzed in this work, we show that the chance that a null model has the level of balance of the true networks is essentially equal to zero. For all three networks, the level of balance turns out to be even less than the Shannon bound one obtains developing a rate-distortion theory for the null models (25, 36, 37). What makes our signed networks so balanced is the skewed distribution of the signs of the edges on the users: Users with a large majority of friends, but also users with a large majority of enemies, are not causing any significant frustration. In particular, when an individual is unanimously tagged as an “enemy” by the other users, all the corresponding negative edges disappear if we apply a gauge transformation. As gauge transformations do not alter the sign of the cycles, it implies that these negative edges are indeed not contributing to the frustration but only to the apparent disorder, as in a so-called Mattis system (26). In terms of social network theory, this property means that individuals manifestly recognized as enemies do not add to the structural tension of a community. The notion of gauge transformation is instrumental to understand this important feature of our social networks.

Computation of Global Balance

A signed network is a graph in which the nodes are the users and the edges are their bipartite relationships. In this paper, the relationships are always represented as mutual—i.e., the edges are undirected. For the three online social networks discussed in this paper (see Table 1 and Materials and Methods for details), this is largely an acceptable assumption. Practically, if Inline graphic is the edge between the nodes si and sj of the graph, computing global balance means assigning a +1 or a -1 to all the nodes so as to minimize the energy functional

graphic file with name pnas.1109521108eq50.jpg [1]

where the summation runs over all adjacent pairs of nodes and Inline graphic; i.e., si∈{ ± 1}, i = 1,…,n, with n equal to the number of nodes. When Jij represents friendship (Jij = +1) each term in [1] gives a zero contribution if sign(si) = sign(sj) and a +1 contribution if sign(si) = -sign(sj), whereas when Jij represents hostility (Jij = -1) the summand is zero if sign(si) = -sign(sj) and +1 otherwise. The network is exactly balanced when there exists Inline graphic such that all terms in [1] can be made simultaneously equal to zero. Call Inline graphic the n × n matrix of entries Jij. As the signed graph is undirected, its adjacency matrix Inline graphic is symmetric: Jij = Jji. Up to a constant, [1] can be identified with the Hamiltonian of a so-called (heterogeneous) Edwards–Anderson spin glass, with bimodal bond distribution (38). For connected signed graphs, if ki is the connectivity degree of the ith node, and Inline graphic, then [1] is exactly balanced if and only if the smallest eigenvalue of the Laplacian Inline graphic is equal to zero (18). If this is not the case, then necessarily no choice of s can render all terms in [1] simultaneously zero: Inline graphic. Computing the global balance of the network then means solving the following Boolean optimization problem:

graphic file with name pnas.1109521108eq51.jpg [2]

where m is the number of edges, Inline graphic. In correspondence of Inline graphic, the residual positive terms in [1] correspond to the least number of unbalanced pairwise relationships between nodes (i.e., the frustrations of the spin glass Hamiltonian [1] in its ground state).

Table 1.

Signed social networks

Network n m m- m+ q R
Epinions 131,513 708,507 118,619 589,888 0.167 0.186
Slashdot 82,062 498,532 117,599 380,933 0.236 0.165
WikiElections 7,114 100,321 21,529 78,792 0.214 0.071

Data for the three networks described in Materials and Methods, after symmetrization (the original directed graphs are reported in Table S1); n and m are the number of nodes and edges of the undirected graph, m- and m+ are the number of negative and positive edges of the networks; q = m-/m is the probability of a negative edge and R = n/m is the “rate of compression” (see text and SI Text).

The enormous dimension of the configuration space (2n) makes the problem [2] hard to solve. As a matter of fact, MAX-CUT is one of those problems for which currently existing heuristics are normally tested only on small to medium benchmark problems, of the order of 103 nodes (23, 24, 31). The heuristic we have introduced in ref. 33 is, however, able to produce fairly tight upper and lower bounds for δ (henceforth δup and δlow), also for very large signed graphs. This local search algorithm is described in some detail in the SI Text and in ref. 33. The outcome of the algorithm is a gauge transformation of the adjacency matrix Inline graphic into the equivalent Inline graphic:

graphic file with name pnas.1109521108eq52.jpg [3]

where Tσ is a diagonal signature matrix Tσ = diag(σ), Inline graphic, such that Inline graphic has the same frustration as Inline graphic, but the least possible number of negative entries among all transformations of the form [3]. Because σ = Tσ1, where 1 is the all-spins-up configuration, in terms of the energy function [1], we have

graphic file with name pnas.1109521108eq53.jpg [4]

meaning that minimizing the energy over the spin configurations Inline graphic as in [2] or minimizing the number of negative entries of Inline graphic through operations such as [3] yield identical results.

Global Balance for Social Networks

The local search algorithm was applied to the three online social networks of Table 1. Some approximately 4,700 replicas were computed for Epinions, approximately 8,000 for Slashdot, and approximately 18,000 for WikiElections. Of these replicas, the best (in terms of δ) 606 for Epinions, 953 for Slashdot, and 1,000 for WikiElections were used in our statistics. The distributions of these δup,replica are shown in Fig. 2. The corresponding δup = min(δup,replica) are given in Table 2, where also the corresponding lower bounds on δ, δlow, are shown. That this algorithm scales well with size, and in fact that it can deal effectively with the signed social networks of dimension 105 used in this paper, is proved by the tiny gap left between δlow and δup (see Table 2) which guarantees that the estimate for δ is accurate. For two of the three networks, we have essentially computed the true optimum, as δlow/δup > 0.99, whereas the residual gap in the third network (Slashdot, δlow/δup > 0.95) is most likely due to the lack of precision of the lower bound computation (see SI Text for more details).

Fig. 2.

Fig. 2.

Global balance and its statistical significance. (Upper) Optimal level of balance δup,replica reached on different replicas for the three networks. The (low-energy) replicas shown are 606 for Epinions, 953 for Slashdot, and 1,000 for WikiElections. (Lower) Comparison of δup,replica with lower bounds and with null models generated from a Bernoulli distribution Inline graphic. The lower bounds δlow are shown in red, the distributions of δup,replica are in blue, and the distribution of Inline graphic in 100 null models are in green. In each of the three networks, Inline graphic, meaning that the true networks are much less frustrated than expected from the null models (Z test, with p value < 10-100). Furthermore, the interval of uncertainty of the optimal level of balance is very limited because δlow/δup > 0.95 (δlow/δup > 0.99 for Epinions and WikiElections) and Inline graphic.

Table 2.

Global balance of the networks

Network δlow δup Inline graphic Inline graphic δup/m δlow/δup Perfectly balanced nodes (%)
Epinions 50,452 50,806 105,247 105,520 0.0717 0.9930 110,087 (83.71)
Slashdot 70,014 73,604 90,346 106,163 0.1476 0.9512 56,041 (68.29)
WikiElections 14,194 14,245 20,878 20,880 0.1420 0.9964 3,766 (52.94)

The lower and upper bounds on the global balance are δlow and δup. These are much lower than Inline graphic and Inline graphic, the corresponding average values of balance obtained on null models generated from a Bernoulli distribution Inline graphic. The ratio δ/m (the more conservative δup/m for us) represents the distortion—i.e., the fraction of frustrated bipartite relationships in the global balance configuration so (see Fig. 3). For the values of δlow and δup, the ratio δlow/δup is much higher than the value achieved by popular semidefinite programming approaches to MAX-CUT (0.8785, see ref. 43), meaning that our ground-state algorithm is indeed quite efficient. The last column reports the number and the percentage of perfectly balanced nodes in the ground state.

By definition, a local optimum of the energy [1] is any s such that for every user the majority of pairwise relationships are “satisfied” (i.e., yield a zero contribution to [1]). Because of the ruggedness of the energy landscape, the number of local minima can be huge (27). It is only by solving [2] that a local minimum becomes also a global optimum and, in the present context, acquires the meaning of balance value for the network. Because our computed δup is very close to the true δ, essentially all the residual conflicts in Inline graphic are ineliminable—i.e., they represent the real disorder of the problem. Due to the gauge equivalence, what holds in the ground state 1 for Inline graphic holds also in the configuration so = σ for the original Inline graphic. In the optimal balance state so, a consistent fraction of users results to be completely free from tensions: from the 52.7% of WikiElections to the 83.7% for Epinions; see Table 2. If we restrict to these users, then the identification of clusters of perfectly balanced subcommunities is straightforward because it corresponds to determining the connected components of the subgraph of perfectly balanced users. See SI Text, Tables S2S4, and Fig. S1 for details.

Statistical Analysis of the Level of Balance

For a signed graph, the amount of frustration depends on the topology of the network, on the percentage of negative edges and, most of all, on their distribution on the graph. Unlike for spin glasses on regular lattices, for heterogeneous signed networks, systematic predictions of the expected frustration, given the connectivity and the percentage of negative edges, are completely missing. We observe that on the three social networks of Table 1 the fraction of negative edges is always limited (q = m-/m = 16.7÷23.6%). In terms of spin glasses, this fact would correspond to a “partially ferromagnetic” quenching (more ferromagnetic than antiferromagnetic bonds). Obviously it leads to a lower frustration than in a spin glass with equally distributed edge signs. To evaluate if also the arrangements of the negative edges on the graph are favoring balance, we have to compare the sign arrangements on our networks with null models. In the null models we discuss here, the edge signs are drawn as independent and identically distributed (i.i.d.) variables from a Bernoulli distribution with probability of negative sign equal to q, hereafter denoted Inline graphic. For each of the three networks, 100 randomizations were performed, and the corresponding Inline graphic and Inline graphic computed solving [2] via the same heuristic used for the true networks (see Table 2). The distribution of the Inline graphic is compared with δlow and δup of the true networks in Fig. 2. It can be observed that the null models are unavoidably much more frustrated than the real social networks (Z test, p value approximately zero). It follows that indeed the organization of the signs in our social networks is such that tensions are largely avoided. Analogous results are obtained if the null models are constructed using a hypergeometric distribution, corresponding to reshuffling randomly the signs on the edges while keeping constant the ratio negative/positive edges; see Fig. S2 AC.

For our networks, the property of being much more balanced than expected goes beyond the statistical significance of a Z test on null models. As a matter of fact, δup is even less than a Shannon-type bound which can be associated with the average frustration of our null models. For n and m sufficiently large, denoting R = n/m the rate and D = δ/m the distortion, the rate-distortion theorem (see ref. 39) affirms that when the edge signs are drawn as i.i.d. variables from Inline graphic then the distortions achievable are in expectation lower bounded by the distortion-rate curves shown in Fig. 3, regardless of the topology of Inline graphic (see SI Text for a more rigorous formulation of these information-theoretical concepts). Distortions (and hence frustrations) that lie below this Shannon bound must be considered as obtained from edge sign assignments that are highly atypical for the probability “source” Inline graphic. All three networks have sign arrangements that violate the Shannon bound, meaning that indeed the true “quenchings” are away from Inline graphic with high significance. In Fig. 3 notice that, instead, the distortions Inline graphic and Inline graphic of the null models all lie above the Shannon bounds, as expected.

Fig. 3.

Fig. 3.

Rate-distortion plots. In the rate (R = n/m)-distortion (D = δ/m) plane, the yellow curves are the Shannon bounds of the rate-distortion theorem associated to a Bernoulli distribution Inline graphic. The region above (below) the curve is achievable (unachievable) in expectation by an edge sign assignment drawn as a length-m sequence of i.i.d. variables from Inline graphic, compressed to a length-n sequence, and then reconstructed (see Fig. S4). The compression step is equivalent to our ground-state search problem, and the distortion obtained is the frustration normalized by m. Full details on these information-theoretical aspects are provided in the SI. The distortion of the three true sign assignments (tip of the triangles, blue for δup and red for δlow, partially overlapping) is less than this Shannon-type bound, meaning that these edge signatures are significantly away from a typical i.i.d. sequence from Inline graphic. The signatures used in the null models of Table 2 (tip of the triangles, green for Inline graphic and black for Inline graphic, also partially overlapping) are instead in the achievable region.

Skewness of the Sign Distributions and Its Social Meaning

The feature that makes our networks so atypical is the skewness of the sign distribution on the individuals. In particular, the three networks have a significant fraction of nodes that are enriched for positive or negative edges (cumulative binomial test, p value 10-5), property not shared with the null models (see Fig. 4 and Table S5). Both fat tails of this sign distribution contribute to increase the balance of a network: the tail of positive edges because users with many friends have less enemies than expected from null models; the tail of negative edges for the opposite reason. A direct consequence of the sign skewness is that a considerable part of negative edges can be eliminated by means of gauge transformations, meaning that a vast fraction of the negative edges contribute only to the apparent disorder, not to the real frustration. On the contrary, the reduction of negative edges in the null models is always minimal (see Fig. 2 and Table 2).

Fig. 4.

Fig. 4.

Global balance and sign skewness. All three networks have a significant percentage of nodes enriched for positive (blue) or negative edges (yellow and red) (see Table S5). The sign skewness of a node is computed through a cumulative binomial test (p value 10-5; see SI Text). In particular, the nodes in red are adjacent to more negative than positive edges in Inline graphic. Gauge transforming these nodes reduced considerably the amount of negative edges of the networks while not altering their frustration. These histograms should be compared with the corresponding histogram for a null model, shown in Fig. S2 DF.

That the reduction of negative edges in passing from Inline graphic to Inline graphic is primarily because of users with high connectivity of enemies is confirmed on all three networks by the signed degree distributions of Fig. S3 (compare the degree distributions of negative edges in Inline graphic and Inline graphic). In practice, a small fraction of individuals attracting a large number of negative edges contributes less to unbalance the social community than a homogeneous distribution of unfriendly relationships. The sociological interpretation of this fact is clear: Unpopular individuals are easily “cast away” from the bulk of the community without creating much conflict within the community itself. Something similar does not happen for homogeneous distributions of the negative edges in the community. In conclusion, in all three networks analyzed, the local process of choosing friends/enemies induces a collective behavior that is strongly biased toward the creation of a disorder that is only apparent, thereby confirming the validity of Heider’s theory (15) for this class of networks.

Materials and Methods

The three signed social networks analyzed in this study were downloaded from the Stanford Network Analysis Platform (http://snap.stanford.edu/) (12): (i) Epinions, trust/distrust network among users of product review web site Epinions (40), (13); (ii) Slashdot, friend/foes network of the technological news site Slashdot (Zoo feature) (41), (12); (iii) WikiElections, election of administrators among Wikipedia users (42). More details on these networks are provided in ref. 13 (see also ref. 12 for Slashdot). The size (n) and number of edges (m) of these networks are given in Table 1. The edges of the networks are always considered as undirected. This process leads to only a limited number of sign inconsistencies between pairs of edges Jij and Jij (see Table S1). These inconsistencies are disregarded in our analysis. The methods used in the paper are described in full detail in the SI Text.

Supplementary Material

Supporting Information

Acknowledgments.

C.A. acknowledges financial support from Ministero dell’Istruzione, dell’Universita’ e della Ricerca. The EU-IndiaGRID2 project (European FP7 e-Infrastructure Grant 246698) is acknowledged for the use of its grid infrastructure.

Footnotes

The authors declare no conflict of interest.

This article is a PNAS Direct Submission.

This article contains supporting information online at www.pnas.org/lookup/suppl/doi:10.1073/pnas.1109521108/-/DCSupplemental.

References

  • 1.Szell M, Lambiotte R, Thurner S. Multirelational organization of large-scale social networks in an online world. Proc Natl Acad Sci USA. 2010;107:13636–13641. doi: 10.1073/pnas.1004008107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Newman MEJ, Barabási AL, Watts DJ, editors. The Structure and Dynamics of Networks. Princeton: Princeton Univ Press; 2006. [Google Scholar]
  • 3.Hogg T, Wilkinson D, Szabo G, Brzozowski M. Multiple Relationship Types in Online Communities and Social Networks: American Association for Artificial Intelligence—Social Information Processing; Palo Alto, CA: AAAI Press; 2008. [Google Scholar]
  • 4.Palla G, Barabasi A-L, Vicsek T. Quantifying social group evolution. Nature. 2007;446:664–667. doi: 10.1038/nature05670. [DOI] [PubMed] [Google Scholar]
  • 5.Albert R, Barabasi A-L. Topology of evolving networks: Local events and universality. Phys Rev Lett. 2000;85:5234–5237. doi: 10.1103/PhysRevLett.85.5234. [DOI] [PubMed] [Google Scholar]
  • 6.Milo R, et al. Network motifs: Simple building blocks of complex networks. Science. 2002;298:824–827. doi: 10.1126/science.298.5594.824. [DOI] [PubMed] [Google Scholar]
  • 7.Vega-Redondo F. Complex Social Networks. Cambridge, UK: Cambridge Univ Press; 2007. (Econometric Society Monographs). [Google Scholar]
  • 8.Newman MEJ. Modularity and community structure in networks. Proc Natl Acad Sci USA. 2006;103:8577–8582. doi: 10.1073/pnas.0601602103. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Borgatti SP, Mehra A, Brass DJ, Labianca G. Network analysis in the social sciences. Science. 2009;323:892–895. doi: 10.1126/science.1165821. [DOI] [PubMed] [Google Scholar]
  • 10.Wasserman S, Faust K. Social Network Analysis: Methods and Applications. Cambridge, UK: Cambridge Univ Press; 1994. [Google Scholar]
  • 11.Easley D, Kleinberg J. Networks, Crowds, and Markets. Reasoning About a Highly Connected World. Cambridge, UK: Cambridge Univ Press; 2010. [Google Scholar]
  • 12.Kunegis J, Lommatzsch A, Bauckhage C. The Slashdot zoo: Mining a social network with negative edges, 18th International World Wide Web Conference; New York: Association for Computing Machinery; 2009. p. 741. [Google Scholar]
  • 13.Leskovec J, Huttenlocher D, Kleinberg J. Signed Networks in Social Media, Conference on Human Factors in Computing Systems; New York: Association for Computing Machinery; 2010. [Google Scholar]
  • 14.Srinivasan A. Local balancing influences global structure in social networks. Proc Natl Acad Sci USA. 2011;108:1751–1752. doi: 10.1073/pnas.1018901108. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Heider F. Attitudes and cognitive organization. J Psychol. 1946;21:107–122. doi: 10.1080/00223980.1946.9917275. [DOI] [PubMed] [Google Scholar]
  • 16.Cartwright D, Harary F. Structural balance: A generalization of Heider’s theory. Psychol Rev. 1956;63:277–292. doi: 10.1037/h0046049. [DOI] [PubMed] [Google Scholar]
  • 17.Harary F, Kabell JA. A simple algorithm to detect balance in signed graphs. Math Soc Sci. 1980;1:131–136. [Google Scholar]
  • 18.Kunegis J, et al. Spectral Analysis of Signed Graphs for Clustering, Prediction and Visualization: Siam Conference on Data Mining 2010; Philadelphia: Society for Industrial and Applied Mathematics; 2010. pp. 559–570. [Google Scholar]
  • 19.Maybee JS, Maybee SJ. An algorithm for identifying Morishima and anti-Morishima matrices and balanced digraphs. Math Soc Sci. 1983;6:99–103. [Google Scholar]
  • 20.Harary F. On the measurement of structural balance. Behav Sci. 1959;4:316–323. [Google Scholar]
  • 21.Harary F. A matrix criterion for structural balance. Nav Res Logist Q. 1960;7:195–199. [Google Scholar]
  • 22.Barahona F. On the computational complexity of Ising spin glass models. J Phys A Math Gen. 1982;15:3241–3253. [Google Scholar]
  • 23.Commander CW. In: Encyclopedia of Optimization. Floudas CA, Pardalos PM, editors. New York: Springer; 2009. pp. 1991–1999. [Google Scholar]
  • 24.Festa P, Pardalos P, Resende M, Ribeiro C. Randomized heuristics for the max-cut problem. Optim Method Softw. 2002;17:1033–1058. [Google Scholar]
  • 25.Mezard M, Montanari A. Information, Physics, and Computation. New York: Oxford Univ Press; 2009. [Google Scholar]
  • 26.Galam S. Fragmentation versus stability in bimodal coalitions. Physica A. 1996;230:174–188. [Google Scholar]
  • 27.Antal T, Krapivsky PL, Redner S. Dynamics of social balance on networks. Phys Rev E Stat Nonlin Soft Matter Phys. 2005;72:036121. doi: 10.1103/PhysRevE.72.036121. [DOI] [PubMed] [Google Scholar]
  • 28.Marvel SA, Strogatz SH, Kleinberg JM. Energy landscape of social balance. Phys Rev Lett. 2009;103:198701. doi: 10.1103/PhysRevLett.103.198701. [DOI] [PubMed] [Google Scholar]
  • 29.Hartmann AK, Rieger H. Optimization Algorithms in Physics. New York: Wiley; 2001. [Google Scholar]
  • 30.Martin OC. In: New Optimization Algorithms in Physics. Hartmann AK, Rieger H, editors. New York: Wiley; 2005. [Google Scholar]
  • 31.Burer S, Monteiro R, Zhang Y. Rank-two relaxation heuristics for max-cut and other binary quadratic programs. SIAM J Optim. 2002;12:503–521. [Google Scholar]
  • 32.Palagi L, Piccialli V, Rendl F, Rinaldi G, Wiegele A. In: Handbook on Semidefinite, Cone and Polynomial Optimization: Theory, Algorithms, Software and Applications. Anjos MF, Lasserre JB, editors. Amsterdam: Centrum voor Werk en Inkomen; 2010. [Google Scholar]
  • 33.Iacono G, Ramezani F, Soranzo N, Altafini C. Determining the distance to monotonicity of a biological network: A graph-theoretical approach. IET Syst Biol. 2010;4:223–235. doi: 10.1049/iet-syb.2009.0040. [DOI] [PubMed] [Google Scholar]
  • 34.Toulouse G. Theory of the frustration effect in spin glasses: I. Commun Phys. 1977;2:115–119. [Google Scholar]
  • 35.Zaslavsky T. Signed graphs. Discrete Appl Math. 1982;4:47–74. [Google Scholar]
  • 36.Ciliberti S, Mézard M. The theoretical capacity of the parity source coder. J Stat Mech. 2005:P10003. [Google Scholar]
  • 37.Wainwright MJ, Maneva E, Martinian E. Lossy source compression using low-density generator matrix codes: Analysis and algorithms. IEEE Trans Inf Theory. 2010;56:1351–1368. [Google Scholar]
  • 38.Binder K, Young AP. Spin glasses: Experimental facts, theoretical concepts, and open questions. Rev Mod Phys. 1986;58:801–976. [Google Scholar]
  • 39.Cover TM, Thomas JA. Elements of Information Theory. New York: Wiley Interscience; 2006. (Telecommunications and Signal Processing). [Google Scholar]
  • 40.Guha R, Kumar R, Raghavan P, Tomkins A. Propagation of trust and distrust: Proceedings of World Wide Web conference 2004; New York: Association for Computing Machinery; 2004. pp. 403–412. [Google Scholar]
  • 41.Lampe CA, Johnston E, Resnick P. Follow the Reader: Filtering Comments on Slashdot: Proceedings of Computer/Human Interaction 2007 Conference; New York: Association for Computing Machinery; 2007. pp. 1253–1262. [Google Scholar]
  • 42.Burke M, Kraut R. Mopping up: Modeling Wikipedia Promotion Decisions: Proceedings of Computer Supported Cooperative Work 2008; New York: Association for Computing Machinery; 2008. pp. 27–36. [Google Scholar]
  • 43.Goemans M, Williamson D. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. J Assoc Comput Mach. 1995;42:1115–1145. [Google Scholar]

Associated Data

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

Supplementary Materials

Supporting Information

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES