This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Structural Balance Considerations for Networks with Preference Orders as Node Attributes

Olle Abrahamsson, Danyo Danev and Erik G. Larsson

Dept. of Electrical Engineering (ISY),
Linköping University, 58183 Linköping, Sweden
Email: {olle.abrahamsson, danyo.danev, erik.g.larsson}@liu.se
Abstract

We discuss possible definitions of structural balance conditions in a network with preference orderings as node attributes. The main result is that for the case with three alternatives (A,B,CA,B,C) we reduce the (3!)3=216(3!)^{3}=216 possible configurations of triangles to 1010 equivalence classes, and use these as measures of balance of a triangle towards possible extensions of structural balance theory. Moreover, we derive a general formula for the number of equivalent classes for preferences on nn alternatives. Finally, we analyze a real-world data set and compare its empirical distribution of triangle equivalence classes to a null hypothesis in which preferences are randomly assigned to the nodes.

This work was supported in part by ELLIIT and the KAW foundation.

I Introduction

In network science, nodes and edges may be associated with attributes that encode various properties. An important example of a node attribute is when each node is assigned a particular type. Various homophily measures, with modularity as the most important example [1], are then available to quantify whether edges between nodes of the same type are more prevalent than edges between nodes of different types. Edge attributes may consist of, for example, a weight that describes how strongly two nodes are connected, or a sign (+/+/-) that determines whether the the relation between two nodes is friendly or antagonistic. For complete networks with signed edges, a celebrated result is the structural balance theorem [2]. This theorem states that if every triangle in a (complete) network has the signs either ++++++ or ++--, then the network can be partitioned into two subnetworks 𝒜\mathcal{A} and \mathcal{B}, such that all edges within 𝒜\mathcal{A} are ++, all edges within \mathcal{B} are ++, but all edges between 𝒜\mathcal{A} and \mathcal{B} are - (as illustrated in Figure 1). The network is then said to be balanced. The popular interpretation is that the “enemy’s enemy is a friend”: in a balanced network either all three nodes in every triangle are friends, or two team up against a third, common, enemy. Thus, in signed networks balance means polarization, i.e., there are two camps of friends with mutual antagonism between them.

v1v_{1}v2v_{2}v3v_{3}v4v_{4}++----++
Figure 1: A balanced network with subnetworks 𝒜\mathcal{A}, induced by the nodes v1v_{1} and v2v_{2}, and \mathcal{B}, induced by v3v_{3} and v4v_{4}. All edges within 𝒜\mathcal{A} and \mathcal{B} have positive signs, but the edges between 𝒜\mathcal{A} and \mathcal{B} have negative signs.

In this paper we are concerned with extensions of the structural balance concept that go beyond signed networks. Specifically we consider networks where nodes have preference orderings as attributes. A preference ordering is defined in terms of a strict linear order of alternatives (e.g., ABCA\succ B\succ C) and may be interpreted as an expression of the opinion that AA is preferable to BB, which in turn is preferable to CC, and so on. The extent to which two neighbors’ preference orderings differ can be viewed as a measure of agreement or disagreement. In the extreme cases when a pair of neighbors have the exact same preferences or maximally different preferences (e.g., according to some distance metric), it would be quite natural to associate their edge with a ++ or -, respectively. In the case of partial disagreement, one could either extend the number of edge weights or argue for a way to project the partial disagreements onto the two signs +/+/-. In view of this intuitive connection between preference orderings as node attributes and signed edges, one might ask a more general question: Can triangles of nodes with preference orderings as node attributes be associated with a notion of balance? We approach, and partially answer this question by enumerating all possible combinations of preference orderings that can appear in a triangle, and categorize them into classes that are equivalent in a certain sense.

I-A Related Work

I-A1 Preference Orderings as Node Attributes

The motivation for studying networks with preference orderings is clear. For example, it is reported in the literature that the use of preference orderings to express opinions is superior to the use of numerical scores [3, 4]. In the field of collaborative filtering-based recommender systems, several papers have leveraged on users’ preference orderings data [5, 6, 7], and in social choice theory, an important problem is how to aggregate preference orderings in a group of people [8], with applications in the design of voting methods and ethical AI systems [9].

Yet, only scattered results are available in the literature on networks with preference orderings as node attributes. In [4], opinion diffusion processes were considered and it was concluded that the outcome of a diffusion process depends both on the structure of the social network (e.g., directed or undirected; cyclic or acyclic) and on the properties of the initial preferences of each agent, for example whether the initial preference profiles satisfy the Condorcet condition or not. In [10] (with results refined in [11]), preference aggregation via a form of “emphatic” voting was considered, taking into account the connections between nodes in addition to their opinions in the aggregation. In [12], two closely related problems were tackled: Preference inference and group recommendation based on partially observed ranking data. The main idea was to utilize the underlying social network structure under the assumption that the homophily and/or social influence shapes the network dynamics. The proposed models were tested empirically on several data sets, one of which was the Flixter data set [13], consisting of a social network of movie watchers and their ratings of movies. Based on the ratings for each user, the relative number of movies of each genre watched by a specific user was calculated, and from these so-called user-genre scores, ranking data of movie genres was constructed. However, due to the sparsity typical of movie ratings, only partial orders could be constructed in a this manner. Finally, in [14], two models were proposed for capturing how preferences are distributed among nodes in a typical social network. By sampling a small subset of representative nodes, the algorithms can harness the network structure to effectively construct an aggregate preference of the entire network population, and for preferences related to personal topics (such as lifestyle choices), the proposed approach was shown to be advantageous over traditional random polling. The said papers also connect to the (relatively rich) literature on preference aggregation and voting theory. However, network aspects seem to be rarely considered in that context, and we are only aware of [12, 11, 10] and [14].

I-A2 Structural Balance

The discovery of the structural balance theorem in 1956 [2] has spawned a large literature on empirical analysis of real-world networks [15, 16, 17, 18], analysis of dynamic processes [19, 20], partially balanced networks [21], and perhaps most importantly in the current context, extensions to cases beyond the canonical signed-link +/+/- setup. The most representative extensions are [22] and [23]. In [22], the edge weights can be any real number drawn from a total ordering. A distance metric is defined such that the negative (positive) are mapped to large (small) distances. A triangle is then said to be structurally balanced if the three distances involved satisfy the metric triangle inequality. In [23], the authors considered signed digraphs and redefine structural balance as a local node property: A node is called structurally balanced if a ceratin subgraph related to the node can be bipartitioned such that all directed edges within a partition have non-negative weights, and all directed edges between partitions have non-positive weights.

Another interesting direction of research is the generalization of structural balance in networks with node attributes. For example, in [24], the authors defined balance in fully signed networks, i.e., networks where both the edges and the nodes have signs. Such a network is then said to be balanced if and only if it can be partitioned into clusters, within which nodes have identical attributes and all edges are negative. The authors provide an energy function whose minimum is taken as a measure of partial network balance, and they also propose an algorithm for the efficient computation of this value. In [25] the method was further generalized to fully signed networks in which the number of attributes for each node is arbitrary (that is, not only ++ or -).

However, none of the existing literature on balance, to our knowledge, has dealt with networks with preference orderings as attributes.

I-B Contributions

In this paper we discuss possible definitions of structural balance in a network with preference orderings as node attributes. The main result (Theorem 1) is that for the three-alternative case (A,B,CA,B,C) we reduce the (3!)3=216(3!)^{3}=216 possible configurations of triangles to 10 equivalence classes. These 10 classes represent the 10 different types of triangles that can occur in a network, and based on them, a notion of balance can be defined. We also give a general formula for the number of equivalence classes for the nn-alternative case (Theorem 2). Finally, we examine numerically the data set in [14] and compare its empirical distribution of the equivalence classes to a null hypothesis in which preference orderings are randomly assigned to the nodes.

II Main results

We define a preference ordering on nn alternatives, n2n\geq 2, as a permutation σ\sigma on nn elements. A preference triangle on nn alternatives, PnP_{n}, is then defined to be a complete graph on 33 nodes (i.e., K3K_{3}), where each node is associated with a preference ordering. We introduce a relation \mathcal{R} and we say that two preference triads Pn1P_{n}^{1} and Pn2P_{n}^{2} are related if Pn1P_{n}^{1} can be transformed into Pn2P_{n}^{2} by relabeling its nodes and by applying the same permutation of the elements to all nodes (which corresponds to to relabeling the elements). This is denoted by Pn1Pn2P_{n}^{1}\sim P_{n}^{2}.

For example, the two preference triads depicted in Figure 2 are related: In P31P_{3}^{1}, change the node labels v1,v2,v3v_{1},v_{2},v_{3} to w3,w2,w1w_{3},w_{2},w_{1}, respectively, and let elements AA and BB swap places in all three permutations to obtain P32P_{3}^{2}.

v1v_{1}ABCABCv2v_{2}ACBACBv3v_{3}BACBACP31P_{3}^{1}
w3w_{3}BACBACw2w_{2}BCABCAw1w_{1}ABCABCP32P_{3}^{2}
Figure 2: Two equivalent preference triads on 33 alternatives: P31P32P_{3}^{1}\sim P_{3}^{2}.

It is easy to see that the relation \mathcal{R} is an equivalence relation: Let Pn1,Pn2P_{n}^{1},P_{n}^{2} and Pn3P_{n}^{3} be preference triads. Clearly Pn1Pn1P_{n}^{1}\sim P_{n}^{1} since no transformation is needed, so \mathcal{R} is reflexive. Furthermore, if Pn1Pn2P_{n}^{1}\sim P_{n}^{2}, then we can recover Pn1P_{n}^{1} from Pn2P_{n}^{2} by reversing the swaps and undo the relabeling, so \mathcal{R} is symmetric. Finally, if Pn1Pn2P_{n}^{1}\sim P_{n}^{2} and Pn2Pn3P_{n}^{2}\sim P_{n}^{3} we can first transform Pn1P_{n}^{1} into Pn2P_{n}^{2}, and then transform Pn2P_{n}^{2} into Pn3P_{n}^{3}, so \mathcal{R} is transitive.

This relation restricts the number of unique preference triangles. Our first theorem states that \mathcal{R} reduces the number of preference triangles on 33 alternatives to 1010 cases.

Theorem 1.

The (3!)3=216(3!)^{3}=216 possible preference triads on 33 alternatives can be partitioned into 1010 equivalence classes induced by the relation \mathcal{R}.

Proof.

There are (3!)3=216(3!)^{3}=216 possible preference triads on 33 alternatives, A,B,CA,B,C, but since we always can swap the alternatives such that one of the preferences is ABCA\succ B\succ C (abbreviated ABCABC), the 216216 cases can first be reduced to (3!)2=36(3!)^{2}=36 cases. These 3636 cases are listed in Table a, where the three rows in each case represent the three nodes in the corresponding preference triad. The top row is always ABCABC. Thus, a swap of two rows is equivalent to letting the two corresponding nodes change labels with each other.

The equivalence relation \mathcal{R} partitions the cases into different equivalence classes: Consider for example Case 2. We can list all of its possible transformations,

ABCABCABCABCACBACBACBABCACB,\begin{smallmatrix}ABC&ABC&ABC\\ ABC&ACB&ACB\\ ACB&ABC&ACB,\end{smallmatrix}

where the middle matrix is obtained by swapping rows 22 and 33, and the last matrix is obtained by first swapping rows 11 and 33 and then swapping BB and CC in all three rows. We identify the middle matrix as Case 7, and the last matrix as Case 8, so Case 2 is related to both of these cases under \mathcal{R}. On the other hand, it is not related to any other case, for example Case 2323. To see this, we can list all possible transformations of case 2323, to obtain

ABCABCBCACABCABBCA,\begin{smallmatrix}ABC&ABC\\ BCA&CAB\\ CAB&BCA,\end{smallmatrix}

and note that none of these matrices matches the transformations of Case 2. By proceeding in this manner for all 3636 cases, it can be shown by exhaustion that there are exactly 1010 equivalence classes, highlighted in color in Table a. The equivalence classes with their representatives are listed in Table b. ∎

TABLE: (a) The equivalence classes on 33 elements, and (b) their partitioning of the possible preference triads.
[Uncaptioned image]
(a) The possible preference triads on 33 elements, with the 1010 equivalence classes induced by the relation \mathcal{R} marked in color.
Equivalence class Cases
1 1
2 2, 7, 8
3 9, 11, 14, 16, 21, 26
4 10, 12, 20, 30, 32, 35
5 3, 13, 15
6 17, 18, 24, 27, 33, 34
7 4, 19, 29
8 5, 22, 25
9 6, 31, 36
10 23, 28
(b) The1010 equivalence classes and their representatives.

A natural question is if it is possible to define a notion of a balanced preference triangle. In classical balance theory, a triangle is either balanced or unbalanced. There is no obvious analog to this idea for preference triangles since, by Theorem 1, each such triangle falls into one of 1010 different equivalent classes. However, if the equivalence classes could be totally ordered, it might be possible to define balance so that the order could be interpreted as ranging from “most balanced” to “least balanced”. This is motivated by the fact that there seems to be at least one intuitive partial order on the equivalence classes: In case 11 in Table a, all nodes agree perfectly on the preference orderings, which could be interpreted as positive relations between all three nodes, i.e., a ++++++ triangle in terms of classical balance theory. The cases 2,3,4,52,3,4,5 and 66 (and their equivalents) might be interpreted as ++-- triangles, with further refinement of the internal order possible since in case 22 all preference orderings starts with AA, while in cases 33 to 66 only two preference orderings start with AA. Similarly, in cases 9,10,179,10,17 and 2323 (and their equivalents), none of the preference orderings are identical, which might be interpreted as --- triangles, and again the internal order might be further refined since in case 99 and 1010 two of the preferences start with AA. In case 2323 the preference orderings are in fact maximally different, so in some sense this could be seen as the “least balanced” preference triangle. A triangle reminiscent of ++++- in classical balance theory does not exist. This is an important observation, since it leaves only --- as a possible unbalanced triangle. However, it has been argued (see, e.g., [26]) that the definition of balance should be generalized to permit also the triangle --- as a balanced triangle, in which case one talks about weak balance theory. Therefore, in view of the above mapping from preference triangles to signed triangles, all triangles are weakly balanced.

Consequently, a notion of balance for preference triangles is perhaps best defined in terms of partial balance, a concept discussed in [21], since the equivalence classes intuitively can be partially ordered. However, we have been unsuccessful in finding a total order for the equivalence classes, and even though several partial orderings can be constructed if one allows ties, we have not found an objective argument for preferring one partial ordering over another. Therefore we have not addressed this question in detail in the current paper, and while we may not have a firm answer, it might be an interesting direction to explore further.

Another natural question is if Theorem 1 can be generalized to the case with nn alternatives, with n2n\geq 2. In the appendix we derive a closed form expression for the number of equivalence classes induced by \mathcal{R}, and show that it can be expressed as a function of nn (the number of elements in the permutations). In particular, we prove the following theorem.

Theorem 2.

Let nn\in\mathbb{N} with n2n\geq 2, let 𝒮\mathcal{S} denote the set of all preference triads on nn elements and let [x][x] denote the integer part of xx\in\mathbb{R}. Then the number of equivalence classes of 𝒮\mathcal{S} induced by the relation \mathcal{R} is

|𝒮/|=n!(n!+3)+2(n+1)6,\left|\mathcal{S}/\mathcal{R}\right|=\dfrac{n!(n!+3)+2(\ell_{n}+1)}{6},

where

n=m=1[n3]n!(n3m)!m!3m.\ell_{n}=\sum_{m=1}^{\left[\dfrac{n}{3}\right]}\dfrac{n!}{(n-3m)!m!3^{m}}. (1)

Since the number of equivalence classes increases super-exponentially with nn (for n=4,5,6,n=4,5,6,\dots there are 111,2467,86787,111,2467,86787,\dots number of equivalence classes, respectively), it quickly becomes impractical to explicitly list all of them. Therefore this paper is confined to the minimal non-trivial case, n=3n=3.

III Experimental results

In this section, we analyze an authentic social network with preferences as node attributes. In the standard theory of structural balance, a complete signed network is said to be balanced if all of its triangles are balanced. We extend this idea to preference triangles and enumerate all such triangles into the different equivalence classes described in the previous section. The aim is to determine if the distribution of equivalence classes of preference triangles is significantly different from what one would expect by chance: Specifically we construct synthetic networks by performing randomized degree-preserving edge-rewirings [27, Chapter 4] on the real-world network, where the nodes have preferences that follow the empirical distribution of the authentic data set. The null hypothesis is that there is no significant difference between the distribution of equivalence classes for the authentic network and those of the synthetic networks.

The data set, shared with us by the authors of [14], was collected from a specially designed Facebook app where users were asked to rank their preferences on 88 topics, with each topic containing 55 items, see [14, Table VI, Appendix A] for details. Thus the data set consists of each individual’s preferences on each topic together with the underlying social network (there is a link between two users if they are friends on Facebook). The network consists of 844844 nodes, 61296129 edges and the fraction of closed triangles is 0.45420.4542.[14, Table 1]

The data is analyzed as follows: For each of the 88 topics, we pick a subset of 33 out of the 55 available items, giving us 8(53)=808\binom{5}{3}=80 sets of preferences, where each set contains 844844 individual preferences (one per node). The internal order of these partial preferences is preserved, so for example if one of the original preferences is ADCEBADCEB and we select {A,B,E}\{A,B,E\} as our subset of items, then the extracted preference becomes AEBAEB. For each of the 8080 so-obtained preference sets, we calculate the empirical distribution of all possible preferences over the nodes. We then construct 10 synthetic networks by randomly rewiring the edges in the network such that the node degrees are preserved. For each of the 8080 preference sets, we let the preferences of the nodes in the synthetic networks follow the same empirical distribution as the authentic data. Finally, we calculate the distribution of the 1010 equivalence classes for both the authentic and synthetic networks. Thus we obtain 8080 sets of real-world data, where each set is compared to 1010 artificially constructed networks in order to test our null hypothesis.

In our analysis we were unable to find a sufficient significant difference to reject the null hypothesis, as illustrated by Figure 3: The histograms of equivalence classes for the 1010 synthetic networks and that of the authentic network overlap to a high extent, and we found similar results for all of the 8080 preference sets. As noted in Section I, research on preference orders as node attributes in a network is scarce, and we are currently not aware of any other available data sets. Therefore it is at this point unclear whether this negative result is due to the particular data set or if it is indicative of a more general phenomenon.

Refer to caption
Figure 3: Histograms over equivalence classes of preference triads for the authentic network compared with 1010 random degree-preserving edge-rewirings of said network (R1-R10), where the distribution of preferences in the rewired networks follow the empirical distribution of the authentic network. Here, the topic is “Facebook activity”, and the alternatives are “Viewing posts”, “Chatting” and “Games/Apps’
TABLE I: Reproduction of Table VI in [14, Appendix A]
Personal Social
Hangout Chatting Facebook Lifestyle Website Government Serious Leader
place app activity visited investment crime
Friend’s place WhatsApp Viewing posts Intellectual Google Education Rape N. Modi (India)
Adventure park Facebook Chatting Exercising Facebook Agriculture Terrorism B. Obama (USA)
Trekking Hangouts Posting Social activist Youtube Infrastructure Murder D. Cameron (UK)
Mall SMS Games/Apps Lavish Wikipedia Military Corruption V. Putin (Russia)
Historical place Skype Marketing Smoking Amazon Space explore Extortion X. Jinping (China)

IV Conclusions and discussion

We have characterized the triangles that can occur in net- works with preference orders as node attributes. Specifically, for preference orders with three alternatives, we showed in Theorem 1 that there are only 1010 unique preference triangles. We have also analyzed numerically an authentic data set and compared its empirical distribution of unique preference triangles with a null hypothesis with randomized preference orderings. We hope that these results will stimulate others to explore variations of the framework presented here, and collect data that can be used for further quantitative studies. Some open problems include the following:

  • Is it possible to find a total order for the equivalence classes?

  • Is there an objective argument for choosing a particular partial order for the equivalence classes? While we are not aware of any literature that addresses this particular issue, a recent paper [28] proposed a partial order of the set of preference profiles between individuals. Another paper of potential interest is [29], where combinatorial Hodge theory was proposed as a tool for statistical analysis of ranking data through minimization of pairwise ranking disagreement. To the best of our knowledge, it is an open problem for both of these approaches whether or not they are generalizable to comparisons between groups of n2n\geq 2 preferences per group (with n=3n=3 being the special case of interest in our setting).

  • Given an order of equivalence classes, how should the different classes map to structural balance? That is, how should such a mapping be formally defined?

  • Does the distribution of equivalence classes differ significantly between real-world networks and synthetic networks? More samples of authentic networks with preferences as node attributes are needed for a robust analysis.

As a final remark, note that by pairing the two node attributes associated with a particular edge, a network with node attributes could always be mapped onto a network with edge attributes. In particular, in an attempt to interpret structural balance in terms of node preferences, one could consider networks with two different types of nodes, representing two different opinions (AA and BB, say) and define an edge to be “++” if it connects two nodes of type AA or two nodes of type BB, and “-” otherwise. Unfortunately, this does not lead anywhere as the resulting network is always balanced (in fact, it has the natural partitioning in two parts consisting of AA-nodes and BB-nodes, respectively). In order to map node attributes to edge attributes in a way that leads to non-trivial results, one must go beyond binary node attributes. The path we explored in this paper has been to associate preference orderings with the nodes. Future work may consider other possibilities.

In order to prove Theorem 2, we first need a lemma.

Lemma 1.

Let n\ell_{n} denote the number of elements of order 33 in the symmetric group SnS_{n}. Then

n=m=1[n3]n!(n3m)!m!3m.\ell_{n}=\sum_{m=1}^{\left[\dfrac{n}{3}\right]}\dfrac{n!}{(n-3m)!m!3^{m}}. (2)
Proof.

Any element gSng\in S_{n} can be written as a product of disjoint cyclic permutations, and the order of gg is the least common multiple of the orders of these cycles. Thus gg has order 33 only if its cyclic decomposition consists of identities and 33-cycles. The latter will be constructed from a subset with 3m3m elements, for some positive integer mm such that 3mn3m\leq n, and there are (n3m)\binom{n}{3m} ways of choosing such a subset. From this set we can create mm disjoint 33-cycles in (3m)!(3m)! ways to obtain a product of the form

(a2a3a3)3-cycle(a4a5a6)3-cycle(a3m2a3m1am)3-cycle3-cycles\underbrace{\underbrace{(a_{2}a_{3}a_{3})}_{\text{$3$-cycle}}\underbrace{(a_{4}a_{5}a_{6})}_{\text{$3$-cycle}}\dots\underbrace{(a_{3m-2}a_{3m-1}a_{m})}_{\text{$3$-cycle}}}_{\text{m $3$-cycles}} (3)

Since these cycles are disjoint, there are m!m! ways to permute them. In turn, each 33-cycle can be permuted in 3!/2=33!/2=3 unique ways, giving us 3m3^{m} ways to arrange them in total.

Putting this together, we have the following result. For any positive integer m[n/3]m\leq[n/3], the number of elements of order 33 in SnS_{n} is equal to

(n3m)(3m)!m!3m\displaystyle\binom{n}{3m}\dfrac{(3m)!}{m!3^{m}} (4)
=n!(3m)!(3m)!(n3m)!m!3m\displaystyle=\dfrac{n!(3m)!}{(3m)!(n-3m)!m!3^{m}}
=n!(n3m)!m!3m\displaystyle=\dfrac{n!}{(n-3m)!m!3^{m}}

The result follows by summing over all mm such that
1m[n/3]1\leq m\leq[n/3]. ∎

Now we proceed to prove the Theorem 2.

Proof of Theorem 2.

Note that we can always relabel the nodes and swap elements in the permutations such that the permutation associated with one of the nodes is the identity permutation, denoted by ε\varepsilon. Therefore we only need to consider ordered lists of the form (ε,σ,π)(\varepsilon,\sigma,\pi), where σ\sigma and π\pi are arbitrary permutations on nn elements. Four cases can occur:

(ε,ε,ε)\displaystyle(\varepsilon,\varepsilon,\varepsilon) (5a)
(ε,ε,σ)(ε,σ1,σ1)(ε,σ,ε),σε\displaystyle(\varepsilon,\varepsilon,\sigma)\sim(\varepsilon,\sigma^{-1},\sigma^{-1})\sim(\varepsilon,\sigma,\varepsilon),\ \sigma\neq\varepsilon (5b)
(ε,σ,σ2)(ε,σ2,σ),{σεσ3=ε\displaystyle(\varepsilon,\sigma,\sigma^{2})\sim(\varepsilon,\sigma^{2},\sigma),\ \begin{cases}\sigma\neq\varepsilon\\ \sigma^{3}=\varepsilon\end{cases} (5c)
(ε,σ,σπ)(ε,σπ,σ)\displaystyle(\varepsilon,\sigma,\sigma\pi)\sim(\varepsilon,\sigma\pi,\sigma) (5d)
(ε,σ1,π)(ε,π,σ1)\displaystyle\sim(\varepsilon,\sigma^{-1},\pi)\sim(\varepsilon,\pi,\sigma^{-1})
(ϵ,π1,σ1π1)(ε,σ1π1,σ1),{σεπεσπ.\displaystyle\sim(\epsilon,\pi^{-1},\sigma^{-1}\pi^{-1})\sim(\varepsilon,\sigma^{-1}\pi^{-1},\sigma^{-1}),\ \begin{cases}\sigma\neq\varepsilon\\ \pi\neq\varepsilon\\ \sigma\neq\pi.\end{cases}

In cases (5b) to (5d) we can obtain equivalent lists by multiplying the permutations with an inverse permutation that takes one of them to the identity (e.g. (ε,ε,σ)(\varepsilon,\varepsilon,\sigma) can be multiplied with σ1\sigma^{-1} resulting in (ε,σ1,σ1)(\varepsilon,\sigma^{-1},\sigma^{-1})). By relabeling the nodes we can also obtain additional equivalent lists: (ε,ε,σ)(\varepsilon,\varepsilon,\sigma) is equivalent to (ε,σ,ε)(\varepsilon,\sigma,\varepsilon). By doing so we get 1,3,21,3,2 and 66 possibilities for cases (5a), (5b), (5c) and (5d), respectively.

The number of equivalence classes will be equal to the sum of the number of unique representatives in each case. In case (5a) there is only one possibility. In case (5b) there are n!1n!-1 possibilities since σ\sigma can be any permutation on nn symbols except the identity. In (5c) we require σ\sigma to be of order 33, and by Lemma 1 the number of possibilities for such permutations is n\ell_{n}. It follows that the number of possibilities is n/2\ell_{n}/2. Finally, note that the number of ways to arrange (ε,σ,π)(\varepsilon,\sigma,\pi) is equal to (n!)2(n!)^{2}. Therefore we can deduce that the number of possibilities for (5d) must be equal to

(n!)213(n!1)2n/26.\dfrac{(n!)^{2}-1-3(n!-1)-2\ell_{n}/2}{6}. (6)

Thus the total number of equivalence classes is

|𝒮/|\displaystyle\left|\mathcal{S}/\mathcal{R}\right| =1+(n!1)+n2+(n!)213(n!1)2n/26\displaystyle=1+(n!-1)+\dfrac{\ell_{n}}{2}+\dfrac{(n!)^{2}-1-3(n!-1)-2\ell_{n}/2}{6} (7)
=n!(n!+3)+n/26.\displaystyle=\dfrac{n!(n!+3)+\ell_{n}/2}{6}.

Acknowledgments

We thank the authors of [14] for generously sharing the datset that we used for the numerical experiments.

References

  • [1] M. E. J. Newman and M. Girvan, “Finding and evaluating community structure in networks,” Phys. Rev. E, vol. 69, p. 026113, 2004.
  • [2] D. Cartwright and F. Harary, “Structural balance: a generalization of Heider’s theory,” Psychological Review, vol. 63, no. 5, pp. 277–293, 1956.
  • [3] A. Ammar and D. Shah, “Ranking: Compare, don’t score,” in Proc. of the 49th Annual Allerton Conference on Communication, Control, and Computing, 2011, pp. 776–783.
  • [4] M. Brill, E. Elkind, U. Endriss, and U. Grandi, “Pairwise diffusion of preference rankings in social networks,” in Proc. of the 25th Joint Conference on Artificial Intelligence. AAAI Press, 2016, pp. 130–136.
  • [5] A. Brun, A. Hamad, O. Buffet, and A. Boyer, “Towards Preference Relations in Recommender Systems,” in Workshop on Preference Learning (PL2010) in European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases - ECML-PKDD, Barcelona, Spain, Sep. 2010.
  • [6] N. Jones, A. Brun, and A. Boyer, “Comparisons instead of ratings: Towards more stable preferences,” in 2011 IEEE/WIC/ACM International Conferences on Web Intelligence and Intelligent Agent Technology, vol. 1. IEEE, 2011, pp. 451–456.
  • [7] L. Shaowu, “Relative preference-based recommender systems,” Ph.D. dissertation, Deakin University, 2016. [Online]. Available: http://hdl.handle.net/10536/DRO/DU:30088962
  • [8] H. H. Bajgiran and H. Owhadi, “Aggregation of models, choices, beliefs, and preferences,” 2021. [Online]. Available: https://arxiv.org/abs/2111.11630
  • [9] G. Bana, W. Jamroga, D. Naccache, and P. Y. Ryan, “Convergence voting: From pairwise comparisons to consensus,” 2021. [Online]. Available: https://arxiv.org/abs/2102.01995
  • [10] A. Salehi-Abari, C. Boutilier, and K. Larson, “Empathetic decision making in social networks,” Artificial Intelligence, vol. 275, pp. 174–203, 2019.
  • [11] E. Becirovic, “On social choice in social networks,” Linköping university, 2017. [Online]. Available: http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-138578
  • [12] A. Salehi-Abari and C. Boutilier, “Preference-oriented social networks: Group recommendation and inference,” in Proc. of the 9th ACM Conference on Recommender Systems. New York, NY, USA: ACM, 2015, pp. 35–42.
  • [13] M. Jamali and M. Ester, “A matrix factorization technique with trust propagation for recommendation in social networks,” in Proceedings of the Fourth ACM Conference on Recommender Systems, ser. RecSys ’10. New York, NY, USA: Association for Computing Machinery, 2010, p. 135–142.
  • [14] S. Dhamal, R. D. Vallam, and Y. Narahari, “Modeling spread of preferences in social networks for sampling-based preference aggregation,” IEEE Transactions on Network Science and Engineering, vol. 6, pp. 46–59, 2018.
  • [15] F. Harary, “A structural analysis of the situation in the middle east in 1956,” Journal of Conflict Resolution, vol. 5, no. 2, pp. 167–178, 1961.
  • [16] M. Moore, “Structural balance and international relations,” European Journal of Social Psychology, vol. 9, no. 3, pp. 323–326, 1979.
  • [17] T. Newcomb, “Heiderian balance as a group phenomenon,” Journal of Personality and Social Psychology, vol. 40, pp. 862–867, 05 1981.
  • [18] E. Estrada and M. Benzi, “Are social networks really balanced?” 2014. [Online]. Available: https://arxiv.org/abs/1406.2132
  • [19] G. Shi, C. Altafini, and J. S. Baras, “Dynamics over signed networks,” SIAM Review, vol. 61, no. 2, pp. 229–257, 2019.
  • [20] P. Cisneros-Velarde, N. E. Friedkin, F. Bullo et al., “Dynamic social balance and convergent appraisals via homophily and influence mechanisms,” Automatica: A journal of IFAC the International Federation of Automatic Control, no. 110, p. 11, 2019.
  • [21] S. Aref and M. C. Wilson, “Measuring partial balance in signed networks,” Journal of Complex Networks, vol. 6, no. 4, pp. 566–595, 09 2017.
  • [22] Y. Qian and S. Adali, “Foundations of trust and distrust in networks: Extended structural balance theory,” ACM Trans. Web, vol. 8, no. 3, Jul. 2014.
  • [23] D. Meng, M. Du, and Y. Wu, “Extended structural balance theory and method for cooperative-antagonistic networks,” IEEE Transactions on Automatic Control, vol. 65, no. 5, pp. 2147–2154, 2020.
  • [24] H. Du, X. He, and M. W. Feldman, “Structural balance in fully signed networks,” Complexity, vol. 21, no. S1, pp. 497–511, 2016.
  • [25] X. He, H. Du, X. Xu, and W. Du, “An energy function for computing structural balance in fully signed network,” IEEE Transactions on Computational Social Systems, vol. 7, no. 3, pp. 696–708, 2020.
  • [26] J. A. Davis, “Clustering and structural balance in graphs,” Human Relations, vol. 20, no. 2, pp. 181–187, 1967.
  • [27] A.-L. Barabasi, Network science. Cambrdige University Press, 2016.
  • [28] W. Y. Gao, “A partial order on preference profiles,” 2021. [Online]. Available: https://arxiv.org/abs/2108.08465
  • [29] X. Jiang, L.-H. Lim, Y. Yao, and Y. Ye, “Statistical ranking and combinatorial hodge theory,” Mathematical Programming, vol. 127, no. 1, pp. 203–244, 2011.