660 likes | 1.05k Views
On Balanced Signed Graphs and Consistent Marked Graphs. Fred S. Roberts DIMACS, Rutgers University Piscataway, NJ, USA. Signed Graphs and Marked Graphs. Data in the social sciences can often be modeled using a signed graph : A graph where every edge has a sign + or –.
E N D
On Balanced Signed Graphs and Consistent Marked Graphs Fred S. Roberts DIMACS, Rutgers University Piscataway, NJ, USA
Signed Graphs and Marked Graphs Data in the social sciences can often be modeled using asigned graph: A graph where every edge has a sign + or –. Less widely used in the social sciences is a marked graph, where every vertex has a sign + or –. A signed graph is balanced if every cycle has an even number of – signs. A marked graph is consistent if every cycle has an even number of – signs.
- a b - - + - c d Balanced
- + - + - Every cycle uses two vertices from the set of – vertices. Therefore, consistent.
We will speak of the sign of a path or cycle as being + if it has an even number of – signs, and – otherwise . So: a signed graph is balanced iff every cycle is +. A marked graph is consistent iff every cycle is +.
Balance: Sociological Motivation Small group is “balanced” if it works well together, lacks tension. Signed graphs used to “explicate” this concept. Vertices = people Edges = strong relationship Sign = positive or negative (likes/dislikes, lies/tells truth to, associates with/avoids)
Balance: Sociological Motivation Balanced signed graphs introduced as model for balanced small groups by Cartwright and Harary in early 1950s. Evidence that small group is balanced iff its corresponding signed graph is balanced.
+ + + + I: II: - + - - - - III: IV: - + Motivation: Heider’s Experiments
+ + + + I: II: - + - - - - III: IV: - + unbalanced balanced balanced unbalanced
Balance: Other Applications Political science: international relations Vertices = countries, signs = allies/enemies Analysis of literature: At point of “tension,” tension is resolved by changing to balance.
Balance: Other Applications Sociology: social justice, analysis of inequities. Economics: Analysis of structure of mathematical models for large complex systems such as those used to analyze energy and economic systems
Characterization of Balanced Signed Graphs Theorem (Harary 1954): A signed graph G is balanced iff the set of vertices of G can be partitioned into two disjoint sets such that each + edge joins vertices in the same set and each – edge joins vertices in different sets.
c a e - + - + + - - f b d - + + + h g
c a e - + - + + - - f b d - + + + h g
c a e - + - + + - - f b d - + + + h g It is easy to find the two sets if they exist.
This can be made into a linear time algorithm to check for balance (Maybee and Maybee 1983, Hansen 1978).
Idealized Political Party Structure Idealized party structure: Whenever members of the same party have a dialogue, they agree; whenever members of different parties have a dialogue, they disagree.
Idealized Political Party Structure Idealized party structure: Whenever members of the same party have a dialogue, they agree; whenever members of different parties have a dialogue, they disagree. Theorem: A political system is balanced iff it has an idealized two party structure.
Idealized Political Party Structure Idealized party structure: Whenever members of the same party have a dialogue, they agree; whenever members of different parties have a dialogue, they disagree. Theorem: A political system is balanced iff it has an idealized two party structure. One party could be empty.
Balance and Graph Coloring Balanced signed graphs are a generalization of bipartite graphs or 2-colorable graphs. (Given undirected graph, let all signs be –.) There is (as in political party example) also interest in finding ways to partition the vertices of a signed graph into more than two sets (more than two colors) so that all + edges join vertices of the same set and all – edges join vertices of different sets. So, balance theory is a type of coloring theory.
Testing the Balance Model How does one test the model? Morisette’s experiments.
Consistent Marked Graphs: Communication Networks Motivation Binary messages sent through a network. Messages reversed at – vertices. In a consistent marked graph: If a message is sent from x to y through two different vertex-disjoint paths and x and y have the same sign, then y will receive the same message no matter which path is followed.
- + - - x y - + + - Assuming that x and y also either reverse the message or keep it intact, the hypothesis that x and y have the same sign can be removed.
Consistent Marked Graphs Social Networks Interpretation: Vertices represent people who always lie or always tell the truth. Characterization Problem: There is no simple structural characterization of consistent marked graphs analogous to the 2-class structural theorem for balance.
Main Agenda of this Talk • Results about graphs that have • consistent markings • 2. Efficient Algorithms for • determining if a marked graph has • a consistent marking • 3. The “markability problem”: When can we mark a graph with signs on vertices (at least one –) to obtain consistency?
Connection Among Balance, Consistency, and other Graph-theoretical Notions: Balance and Consistency Signed graph G. Put a + sign on each vertex and insert a vertex with – sign in each negative edge. Get a marked graph H. G is balanced iff H is consistent.
+ + - - + G - + + + + - - H - + + + So: problem of checking for balance can be reduced to problem of checking for consistency.
- - - - G H - - Balance and Bipartiteness Graph G. Put a – sign on each edge, obtaining signed graph H. Then G is bipartite iff H is balanced.
+ + - - + G - + - - - - - - - H - - - - Balance and Bipartiteness Signed graph G. Replace each + edge by two consecutive – edges to get signed graph H. Then G is balanced iff H is balanced iff H is bipartite. So, testing balancedness of signed graphs is equivalent to testing bipartiteness of graphs.
Double Balancedness Bipartite graph G. If each cycle has length 0 mod 4, say G is double balanced. Bipartite graph G. Assign + signs to one bipartite class and – signs to the other, getting marked graph H. Then, G is double balanced iff H is consistent.
Double Balancedness Marked graph G. Insert a + vertex in each edge incident to 2 – vertices and insert 3 vertices with signs –, +, – in each edge incident to 2 + vertices, getting marked graph H. Then H is bipartite with one part + and the other part –. Moreover, G is consistent iff H is double balanced. Proof is by induction on number of edges of G that join vertices of the same sign.
+ - - - - - - H G + + + + + - - - - + Thus, checking for consistency of marked graphs is equivalent to checking for double balancedness of bipartite graphs.
Characterization of Consistency I G[V+] = subgraph induced by all + vertices G[V–] = subgraph induced by all – vertices. Theorem (Acharya 1984, Rao 1984). If marked graph G is consistent, then G[V–] is bipartite. Moreover, there is at most one edge between each component of G[V+] and each set in the bipartition of each component of G[V–].
- - b1 + a1 c1 G c2 - - + a2 b2 G[V–] is bipartite. There are 2 edges between bipartite class {b1,b2} and component {c1,c2} Therefore, not consistent.
Characterization of Consistency I Theorem (R and Xu 2003). Let G be a 2-connected marked graph satisfying the necessary conditions of the Theorem of Acharya and Rao. Shrink each component of G[V–] that is not a single vertex into a single edge, to get marked graph H. Then G is consistent iff H is. This is sometimes helpful in reducing size of graphs in checking for consistency.
+ h + + a g - - G i f b - + + + e c d Fundamental Cycles G any graph. T a spanning tree. Adding any edge of G joining 2 vertices of T gives rise to a unique cycle of G called a fundamental cycle relative to T.
+ h + + a g - - T i f b - + + + e c d
Characterization of Consistency II Theorem (Hoede 1992). Let G be a marked graph and T be a spanning tree of G. Then G is consistent iff 1). Every fundamental cycle relative to T is +; and 2). Each common path of a pair of fundamental cycles relative to T has end vertices with the same sign.
Characterization of Consistency II • In the example: • The 2 fundamental cycles relative to T are + • There is only one common path of the pair of fundamental cycles, namely, d, i, h. • This path has both end vertices with the same sign. • Thus, G is consistent.
Characterization of Consistency II Hoede’s Theorem provides an O(m2n) algorithm to check if a marked graph is consistent. (m = number of edges, n = number of vertices) R and Xu (2003) give an O(mn) algorithm.
Characterization of Consistency II Variant of Hoede’s Theorem: Theorem (R and Xu 2003). Let G be a marked graph and T be a spanning tree of G. Then G is consistent iff 1). Every fundamental cycle relative to T is +; and 2). Each 3-connected vertex pair in G has the same sign. In example: h and d are the only 3-connected pair.
Characterization of Consistency II Because checking for consistency of a marked graph is equivalent to checking for double balancedness of a bipartite graph, the following can be thought of as a bipartite analogue of R-Xu Theorem: Theorem (Conforti and Rao 1987). Let G be a bipartite graph and T be a spanning tree of G. Then G is double balanced iff 1). Every fundamental cycle relative to T has length congruent to 0 mod 4 ; and 2). Any cycle that is a symmetric difference of 2 fundamental cycles relative to T has length congruent to 0 mod 4.
Characterization of Consistency II Conforti-Rao Theorem leads to an O(m2n) algorithm to determine if a bipartite graph is double balanced. R-Xu (2003) provide an O(mn) algorithm.
Cycle Bases Recall that a set K of cycles in a graph is a cycle basis if every cycle of G can be expressed as a symmetric difference of cycles in K and K is minimal.
c a a b c e d C1 = C1 C2 b a b b c c c d = C1 C3 b e c d d d e a G C2 = C2 C3 e d b c C3 C1, C2, C3 is a cycle basis
Characterization of Consistency III The set of fundamental cycles relative to a given spanning tree forms a cycle basis. Here is a generalization of Hoede’s Theorem: Theorem (R and Xu, 2003). Let G be a marked graph and B be any cycle basis of G. Then G is consistent iff 1). Every cycle in B is +; and 2). Each 3-connected vertex pair in G has the same sign. This theorem leads to the O(mn) algorithm to test for consistency.
The Markability Problem Given G unmarked. Can always mark it consistently: Use all + signs. What if at least one – sign is required? Then even K4 cannot be consistently marked. G is markable if it can be consistently marked using at least one – sign. Problem: When is a graph markable? Problem: Find a “structure theorem” that characterizes markable graphs.
3-Connected Markable Graphs Theorem (R 1995). If graph G is 3-connected, then G is markable iff it is bipartite. Proof: Straightforward using Menger’s Theorem. Thus, we may concentrate on graphs that are not 3-connected.
Markable Blocks Recall that a block is a connected graph with more than one vertex and no cutpoints. A block in a graph is a maximal subgraph that is a block. A graph is 2-connected iff it is a block consisting of more than one edge.
Markable Blocks Observation: A graph is markable if every block is markable. (Trivial by induction on number of blocks.) The converse is false.