SlideShare a Scribd company logo
naXys – Namur Centre for Complex Networks – Univ. of Namur
Measuring the Conflict in a Social
Network with Friends and Foes:
A Recent Algebraic Approach
Jérôme KUNEGIS
Based on work performed in collaboration with Christian Bauckhage, Andreas Lommatzsch,
Stephan Spiegel, Jürgen Lerner, Fariba Karimi and Christoph Carl Kling
Algebraic Conflict 2J. Kunegis
Social Network
Algebraic Conflict 3J. Kunegis
http://slashdot.org/
Algebraic Conflict 4J. Kunegis
The Slashdot Zoo
Slashdot Zoo: Tag users as friends and foes
You are the fan of your friends and the freak of your foes.
Graph has two types of edges: friendship and enmity
me
FriendFoe
FanFreak
The resulting graph is sparse,
square, asymmetric and has
signed edge weights.
Algebraic Conflict 5J. Kunegis
Wikipedia Edit Wars
Algebraic Conflict 6J. Kunegis
Signed Bipartite Networks
Algebraic Conflict 7J. Kunegis
Other Signed Networks
konect.uni-koblenz.de/networks
Algebraic Conflict 8J. Kunegis
Polarization
 Slashdot: 23.9% of edges are negative
Polarization,
No conflict
Algebraic Conflict 9J. Kunegis
Dyadic Conflict (Reciprocity of Valences)
Balance Conflict
Algebraic Conflict 10J. Kunegis
Measuring Dyadic Conflict
C =₂
#conflictTriads
#totalTriads
C = 0₂
Algebraic Conflict 11J. Kunegis
Tryadic Conflict (Balance Theory)
Balance
Conflict
(Harary 1953)
Algebraic Conflict 12J. Kunegis
Measuring Tryadic Conflict
 Definition:
C =₃
#negTriangles
#totalTriangles
(cf. Signed relative clustering coefficient, Kunegis et al. 2009)
C = 0₃
Algebraic Conflict 13J. Kunegis
Balance on Longer Cycles
 Equivalent definitions: a graph is balanced when
(a) all cycles contain an even number of negative edges
(b) its nodes can be partitioned into two groups such
that all positive edges are within each group, and all
negative edges connect the two groups
Algebraic Conflict 14J. Kunegis
Frustration
 Definition: The minimum number of edges f that
have to be removed from a signed graph to make
the graph balanced.
Example: f = 1
Algebraic Conflict 15J. Kunegis
Frustration (partitioning view)
 Definition: minimum number of edges that are
frustrated (i.e., inconsistent with balance) given any
partition of the graph's nodes into two groups.
Example:
f = 1
Algebraic Conflict 16J. Kunegis
Frustration: Computation
 Computation of frustration is equivalent to
MAX-2-XORSAT
max (a XOR b) + (¬a XOR c) + (b XOR ¬d) ⋯
 MAX-2-XORSAT is NP complete
 Solution: Relax the problem
see overview in (Facchetti & al. 2011)
a
b
c
d
Algebraic Conflict 17J. Kunegis
Algebraic Formulation
 Let G = (V, E, σ) be a signed graph. σuv = ±1 is the
sign of edge (uv).
 Given a partition V = S T, let x be the characteristic
node-vector:
 Number of frustrated edges: Σ (xu − σuv xv)²
xu
=
+1/2 when u ∈ S
−1/2 when u ∈ T
uv∈E
∪
Algebraic Conflict 18J. Kunegis
Frustration as Minimization
 f is given by the solution to:
f = min Σ (xu − σuv xv)²
s.t. x ∈ {±1/2}V
Σ xu² = |V| / 4
⇔ ||x|| = |V| / 2
uv∈Ex
u
Relaxation
*
Algebraic Conflict 19J. Kunegis
Using Matrices
 The quadratic form can be expressed using matrices
Σ (xu − σuv xv)² = xT L x
where L ∈ ℝV × V is the matrix given by
Luv = −σuv when (uv) is an edge
Luu = d(u) is the degree of node u
 L = D − A is the signed graph Laplacian
uv∈E
1
2
Algebraic Conflict 20J. Kunegis
Minimizing Quadratic Forms
f* = min xT L x
s.t. ||x|| = |V| / 2
xT L x
xT x
x
f* = min
x
1
2
8
|V|
Rayleigh
quotient
min-max
theoremf* = λmin
[L]8
|V|
f* = λmin
[L]
|V|
8
Algebraic Conflict 21J. Kunegis
Relative Relaxed Frustration
 Definition: Proportion of edges that have to be removed
to make the graph balanced
F* =
F* =
0 ≤ F* ≤ ≤ 1
λmin[L] ≤
f*
|E|
|V|
8 |E|
λmin
[L]
f
|E|
8 |E|
|V|
Algebraic Conflict 22J. Kunegis
Properties of L (Unsigned Graphs)
 L is positive-semidefinite (all λ[L] ≥ 0)
 Multiplicity of λ = 0 equals number of connected
components
Algebraic Conflict 23J. Kunegis
Properties of L (Signed Graphs)
L = Σ L(uv)
L(uv)
= [ ]when σuv = +1
L(uv)
= [ ]when σuv = –1
uv∈E
1 –1
–1 1
1 1
1 1
Algebraic Conflict 24J. Kunegis
Minimal Eigenvalue of L (Signed Graphs)
 L is positive-semidefinite (all eigenvalues ≥ 0)
 L is positive-definite (all eigenvalues > 0) iff all
connected components are unlabanced
– Proof “ ”: by equivalence by all-positive graph⇒
– Proof “ ”: by contradiction (eigenvector would be all-zero)⇐
Algebraic Conflict 25J. Kunegis
What Unsigned L can Do
Algebraic Conflict 26J. Kunegis
What Signed L Can Do
Algebraic Conflict 27J. Kunegis
Computing λmin
[L]
 Sparse LU decomposition + inverse power iteration:
O(|V|²) memory, but then very fast
% Matlab pseudocode
[ X Y ] = sparse_lu(L);
[ U D ] = eigs(@(x)(Y  X  x), k, 'sm');
Algebraic Conflict 28J. Kunegis
Temporal Analysis of C₂
Epinions ratings
Wikipedia elections
Algebraic Conflict 29J. Kunegis
Temporal Analysis of C₃
Epinions ratings
Wikipedia elections
Algebraic Conflict 30J. Kunegis
F* over Time
MovieLens 100k
Wikipedia elections
Algebraic Conflict 31J. Kunegis
Cross-Dataset Comparison of F*
For larger networks, a smaller
proportion of edges must be removed
to make it balanced

More Related Content

What's hot

Math chapter 3 non-positive integer exponents with materials
Math chapter 3 non-positive integer exponents with materialsMath chapter 3 non-positive integer exponents with materials
Math chapter 3 non-positive integer exponents with materials
JaredSalvan
 
9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming
smiller5
 
LINEAR INEQUALITIES IN TWO VARIABLES
LINEAR INEQUALITIES IN TWO VARIABLESLINEAR INEQUALITIES IN TWO VARIABLES
LINEAR INEQUALITIES IN TWO VARIABLES
MISS ESTHER
 
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLESMATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
MISS ESTHER
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 
Solucion control 2
Solucion control 2Solucion control 2
Solucion control 2
KimberlymoshaR
 
Control 3 solucion
Control 3 solucionControl 3 solucion
Control 3 solucion
KimberlymoshaR
 

What's hot (7)

Math chapter 3 non-positive integer exponents with materials
Math chapter 3 non-positive integer exponents with materialsMath chapter 3 non-positive integer exponents with materials
Math chapter 3 non-positive integer exponents with materials
 
9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming
 
LINEAR INEQUALITIES IN TWO VARIABLES
LINEAR INEQUALITIES IN TWO VARIABLESLINEAR INEQUALITIES IN TWO VARIABLES
LINEAR INEQUALITIES IN TWO VARIABLES
 
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLESMATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
MATHEMATICS FORM 4 KSSM CHAPTER 6 LINEAR INEQUALITIES IN TWO VARIABLES
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
Solucion control 2
Solucion control 2Solucion control 2
Solucion control 2
 
Control 3 solucion
Control 3 solucionControl 3 solucion
Control 3 solucion
 

Similar to Measuring the Conflict in a Social Network with Friends and Foes: A Recent Algebraic Approach

Algebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of ConflictAlgebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of Conflict
Jérôme KUNEGIS
 
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdfConsider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
feroz544
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
VjekoslavKovac1
 
Randomness conductors
Randomness conductorsRandomness conductors
Randomness conductorswtyru1989
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributions
Frank Nielsen
 
OI.ppt
OI.pptOI.ppt
OI.ppt
raj20072
 
Proportional and decentralized rule mcst games
Proportional and decentralized rule mcst gamesProportional and decentralized rule mcst games
Proportional and decentralized rule mcst gamesvinnief
 
graph theory
graph theorygraph theory
graph theory
Shashank Singh
 
Entity Linking via Graph-Distance Minimization
Entity Linking via Graph-Distance MinimizationEntity Linking via Graph-Distance Minimization
Entity Linking via Graph-Distance Minimization
Roi Blanco
 
Subquad multi ff
Subquad multi ffSubquad multi ff
Subquad multi ff
Fabian Velazquez
 
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By Recski
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By RecskiCombinatorial Conditions For The Rigidity Of Tensegrity Frameworks By Recski
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By RecskiTensegrity Wiki
 
Edge linking hough transform
Edge linking hough transformEdge linking hough transform
Edge linking hough transform
aruna811496
 
1627 simultaneous equations and intersections
1627 simultaneous equations and intersections1627 simultaneous equations and intersections
1627 simultaneous equations and intersections
Dr Fereidoun Dejahang
 
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFULLADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
Fransiskeran
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curves
mmasdeu
 
On the lambert w function
On the lambert w functionOn the lambert w function
On the lambert w function
TrungKienVu3
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
Economics Homework Helper
 
Optimisation random graph presentation
Optimisation random graph presentationOptimisation random graph presentation
Optimisation random graph presentation
Venkat Sai Sharath Mudhigonda
 

Similar to Measuring the Conflict in a Social Network with Friends and Foes: A Recent Algebraic Approach (20)

Algebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of ConflictAlgebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of Conflict
 
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdfConsider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
Consider a l-D elastic bar problem defined on [0, 4]. The domain .pdf
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
 
Randomness conductors
Randomness conductorsRandomness conductors
Randomness conductors
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributions
 
cswiercz-general-presentation
cswiercz-general-presentationcswiercz-general-presentation
cswiercz-general-presentation
 
OI.ppt
OI.pptOI.ppt
OI.ppt
 
Proportional and decentralized rule mcst games
Proportional and decentralized rule mcst gamesProportional and decentralized rule mcst games
Proportional and decentralized rule mcst games
 
graph theory
graph theorygraph theory
graph theory
 
Entity Linking via Graph-Distance Minimization
Entity Linking via Graph-Distance MinimizationEntity Linking via Graph-Distance Minimization
Entity Linking via Graph-Distance Minimization
 
Subquad multi ff
Subquad multi ffSubquad multi ff
Subquad multi ff
 
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By Recski
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By RecskiCombinatorial Conditions For The Rigidity Of Tensegrity Frameworks By Recski
Combinatorial Conditions For The Rigidity Of Tensegrity Frameworks By Recski
 
Edge linking hough transform
Edge linking hough transformEdge linking hough transform
Edge linking hough transform
 
1627 simultaneous equations and intersections
1627 simultaneous equations and intersections1627 simultaneous equations and intersections
1627 simultaneous equations and intersections
 
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFULLADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
LADDER AND SUBDIVISION OF LADDER GRAPHS WITH PENDANT EDGES ARE ODD GRACEFUL
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curves
 
On the lambert w function
On the lambert w functionOn the lambert w function
On the lambert w function
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Es272 ch4a
 
Optimisation random graph presentation
Optimisation random graph presentationOptimisation random graph presentation
Optimisation random graph presentation
 

More from Jérôme KUNEGIS

Succinct Summarisation of Large Networks via Small Synthetic Representative G...
Succinct Summarisation of Large Networks via Small Synthetic Representative G...Succinct Summarisation of Large Networks via Small Synthetic Representative G...
Succinct Summarisation of Large Networks via Small Synthetic Representative G...
Jérôme KUNEGIS
 
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
Jérôme KUNEGIS
 
Schach und Computer
Schach und ComputerSchach und Computer
Schach und Computer
Jérôme KUNEGIS
 
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
Jérôme KUNEGIS
 
Generating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesGenerating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesJérôme KUNEGIS
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013
Jérôme KUNEGIS
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
Jérôme KUNEGIS
 
What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?
Jérôme KUNEGIS
 
KONECT – The Koblenz Network Collection
KONECT – The Koblenz Network CollectionKONECT – The Koblenz Network Collection
KONECT – The Koblenz Network Collection
Jérôme KUNEGIS
 
Preferential Attachment in Online Networks: Measurement and Explanations
Preferential Attachment in Online Networks:  Measurement and ExplanationsPreferential Attachment in Online Networks:  Measurement and Explanations
Preferential Attachment in Online Networks: Measurement and Explanations
Jérôme KUNEGIS
 
Predicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsPredicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsJérôme KUNEGIS
 
Online Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number ApproachOnline Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number Approach
Jérôme KUNEGIS
 
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresWhy Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresJérôme KUNEGIS
 
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)Jérôme KUNEGIS
 
Fairness on the Web: Alternatives to the Power Law
Fairness on the Web:  Alternatives to the Power LawFairness on the Web:  Alternatives to the Power Law
Fairness on the Web: Alternatives to the Power Law
Jérôme KUNEGIS
 
KONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the CloudKONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the Cloud
Jérôme KUNEGIS
 
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
Jérôme KUNEGIS
 
Searching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualitySearching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualityJérôme KUNEGIS
 
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on TwitterBad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Jérôme KUNEGIS
 
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative RecommendersOn the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
Jérôme KUNEGIS
 

More from Jérôme KUNEGIS (20)

Succinct Summarisation of Large Networks via Small Synthetic Representative G...
Succinct Summarisation of Large Networks via Small Synthetic Representative G...Succinct Summarisation of Large Networks via Small Synthetic Representative G...
Succinct Summarisation of Large Networks via Small Synthetic Representative G...
 
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
Title: What Is the Difference between a Social and a Hyperlink Network? -- Ho...
 
Schach und Computer
Schach und ComputerSchach und Computer
Schach und Computer
 
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
Winning Science Slam by Jérôme Kunegis – First Prize at ICWSM 2016
 
Generating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesGenerating Networks with Arbitrary Properties
Generating Networks with Arbitrary Properties
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
 
What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?
 
KONECT – The Koblenz Network Collection
KONECT – The Koblenz Network CollectionKONECT – The Koblenz Network Collection
KONECT – The Koblenz Network Collection
 
Preferential Attachment in Online Networks: Measurement and Explanations
Preferential Attachment in Online Networks:  Measurement and ExplanationsPreferential Attachment in Online Networks:  Measurement and Explanations
Preferential Attachment in Online Networks: Measurement and Explanations
 
Predicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsPredicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix Decompositions
 
Online Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number ApproachOnline Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number Approach
 
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresWhy Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
 
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
 
Fairness on the Web: Alternatives to the Power Law
Fairness on the Web:  Alternatives to the Power LawFairness on the Web:  Alternatives to the Power Law
Fairness on the Web: Alternatives to the Power Law
 
KONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the CloudKONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the Cloud
 
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)
 
Searching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualitySearching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document Quality
 
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on TwitterBad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
 
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative RecommendersOn the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
 

Recently uploaded

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

Measuring the Conflict in a Social Network with Friends and Foes: A Recent Algebraic Approach

  • 1. naXys – Namur Centre for Complex Networks – Univ. of Namur Measuring the Conflict in a Social Network with Friends and Foes: A Recent Algebraic Approach Jérôme KUNEGIS Based on work performed in collaboration with Christian Bauckhage, Andreas Lommatzsch, Stephan Spiegel, Jürgen Lerner, Fariba Karimi and Christoph Carl Kling
  • 2. Algebraic Conflict 2J. Kunegis Social Network
  • 3. Algebraic Conflict 3J. Kunegis http://slashdot.org/
  • 4. Algebraic Conflict 4J. Kunegis The Slashdot Zoo Slashdot Zoo: Tag users as friends and foes You are the fan of your friends and the freak of your foes. Graph has two types of edges: friendship and enmity me FriendFoe FanFreak The resulting graph is sparse, square, asymmetric and has signed edge weights.
  • 5. Algebraic Conflict 5J. Kunegis Wikipedia Edit Wars
  • 6. Algebraic Conflict 6J. Kunegis Signed Bipartite Networks
  • 7. Algebraic Conflict 7J. Kunegis Other Signed Networks konect.uni-koblenz.de/networks
  • 8. Algebraic Conflict 8J. Kunegis Polarization  Slashdot: 23.9% of edges are negative Polarization, No conflict
  • 9. Algebraic Conflict 9J. Kunegis Dyadic Conflict (Reciprocity of Valences) Balance Conflict
  • 10. Algebraic Conflict 10J. Kunegis Measuring Dyadic Conflict C =₂ #conflictTriads #totalTriads C = 0₂
  • 11. Algebraic Conflict 11J. Kunegis Tryadic Conflict (Balance Theory) Balance Conflict (Harary 1953)
  • 12. Algebraic Conflict 12J. Kunegis Measuring Tryadic Conflict  Definition: C =₃ #negTriangles #totalTriangles (cf. Signed relative clustering coefficient, Kunegis et al. 2009) C = 0₃
  • 13. Algebraic Conflict 13J. Kunegis Balance on Longer Cycles  Equivalent definitions: a graph is balanced when (a) all cycles contain an even number of negative edges (b) its nodes can be partitioned into two groups such that all positive edges are within each group, and all negative edges connect the two groups
  • 14. Algebraic Conflict 14J. Kunegis Frustration  Definition: The minimum number of edges f that have to be removed from a signed graph to make the graph balanced. Example: f = 1
  • 15. Algebraic Conflict 15J. Kunegis Frustration (partitioning view)  Definition: minimum number of edges that are frustrated (i.e., inconsistent with balance) given any partition of the graph's nodes into two groups. Example: f = 1
  • 16. Algebraic Conflict 16J. Kunegis Frustration: Computation  Computation of frustration is equivalent to MAX-2-XORSAT max (a XOR b) + (¬a XOR c) + (b XOR ¬d) ⋯  MAX-2-XORSAT is NP complete  Solution: Relax the problem see overview in (Facchetti & al. 2011) a b c d
  • 17. Algebraic Conflict 17J. Kunegis Algebraic Formulation  Let G = (V, E, σ) be a signed graph. σuv = ±1 is the sign of edge (uv).  Given a partition V = S T, let x be the characteristic node-vector:  Number of frustrated edges: Σ (xu − σuv xv)² xu = +1/2 when u ∈ S −1/2 when u ∈ T uv∈E ∪
  • 18. Algebraic Conflict 18J. Kunegis Frustration as Minimization  f is given by the solution to: f = min Σ (xu − σuv xv)² s.t. x ∈ {±1/2}V Σ xu² = |V| / 4 ⇔ ||x|| = |V| / 2 uv∈Ex u Relaxation *
  • 19. Algebraic Conflict 19J. Kunegis Using Matrices  The quadratic form can be expressed using matrices Σ (xu − σuv xv)² = xT L x where L ∈ ℝV × V is the matrix given by Luv = −σuv when (uv) is an edge Luu = d(u) is the degree of node u  L = D − A is the signed graph Laplacian uv∈E 1 2
  • 20. Algebraic Conflict 20J. Kunegis Minimizing Quadratic Forms f* = min xT L x s.t. ||x|| = |V| / 2 xT L x xT x x f* = min x 1 2 8 |V| Rayleigh quotient min-max theoremf* = λmin [L]8 |V| f* = λmin [L] |V| 8
  • 21. Algebraic Conflict 21J. Kunegis Relative Relaxed Frustration  Definition: Proportion of edges that have to be removed to make the graph balanced F* = F* = 0 ≤ F* ≤ ≤ 1 λmin[L] ≤ f* |E| |V| 8 |E| λmin [L] f |E| 8 |E| |V|
  • 22. Algebraic Conflict 22J. Kunegis Properties of L (Unsigned Graphs)  L is positive-semidefinite (all λ[L] ≥ 0)  Multiplicity of λ = 0 equals number of connected components
  • 23. Algebraic Conflict 23J. Kunegis Properties of L (Signed Graphs) L = Σ L(uv) L(uv) = [ ]when σuv = +1 L(uv) = [ ]when σuv = –1 uv∈E 1 –1 –1 1 1 1 1 1
  • 24. Algebraic Conflict 24J. Kunegis Minimal Eigenvalue of L (Signed Graphs)  L is positive-semidefinite (all eigenvalues ≥ 0)  L is positive-definite (all eigenvalues > 0) iff all connected components are unlabanced – Proof “ ”: by equivalence by all-positive graph⇒ – Proof “ ”: by contradiction (eigenvector would be all-zero)⇐
  • 25. Algebraic Conflict 25J. Kunegis What Unsigned L can Do
  • 26. Algebraic Conflict 26J. Kunegis What Signed L Can Do
  • 27. Algebraic Conflict 27J. Kunegis Computing λmin [L]  Sparse LU decomposition + inverse power iteration: O(|V|²) memory, but then very fast % Matlab pseudocode [ X Y ] = sparse_lu(L); [ U D ] = eigs(@(x)(Y X x), k, 'sm');
  • 28. Algebraic Conflict 28J. Kunegis Temporal Analysis of C₂ Epinions ratings Wikipedia elections
  • 29. Algebraic Conflict 29J. Kunegis Temporal Analysis of C₃ Epinions ratings Wikipedia elections
  • 30. Algebraic Conflict 30J. Kunegis F* over Time MovieLens 100k Wikipedia elections
  • 31. Algebraic Conflict 31J. Kunegis Cross-Dataset Comparison of F* For larger networks, a smaller proportion of edges must be removed to make it balanced