SlideShare a Scribd company logo
1 of 19
Download to read offline
Generating networks
with arbitrary properties
Social Interaction

“You’re my friend”

Jérôme Kunegis

Generating Networks with Arbitrary Properties

2
Many Social Interactions
”
y friend
m
You’re
“

Jérôme Kunegis

’re m
y frie
nd”

”
nd
rie

y friend”

“You

y

’re
my
frie
nd
”

f
my
’re
ou
“Y

“You’re m

’re
ou
“Y

m

d”
n
ie
fr

“Yo
u

y friend
m
“You’re

Generating Networks with Arbitrary Properties

”

3
Abstract: It's a Network

Jérôme Kunegis

Generating Networks with Arbitrary Properties

4
Problem: Generate Realistic Graphs

Why generate graphs?
To visualize an existing network: generate a
smaller graph with same properties as a large
real (note: sampling a subset will skew the properties)
●

For testing algorithms: Generate a larger
network then those currently known
●

Jérôme Kunegis

Generating Networks with Arbitrary Properties

5
Basic Idea for Generating Networks: Random Graphs

Each edge has
probability p of existing

Paul Erdős
Jérôme Kunegis

Generating Networks with Arbitrary Properties

6
Random Graphs Are Not Realistic

Real network

Random graph

Jérôme Kunegis

Generating Networks with Arbitrary Properties

7
Real Networks Have Special Properties

Many triangles
(“clustering”)

Many 2-stars
(“preferential attachment”)

Short paths (“small world”)
●
Assortativity
●
Power-law-like degree distributions
●
Connectivity
●
Reciprocity
●
Global structure
●
Subgraph patterns
●
etc., etc., etc., etc., etc.
●

Jérôme Kunegis

Generating Networks with Arbitrary Properties

8
Solution: Exponential Random Graph Models
Example with three statistics:
P(G) = exp( a1 m + a2 t + a3 s + b )
m, t, s: Properties of G
m = Number of edges; t = Number of triangles; s = Number of 2-stars
a1, a2, a3, b: Parameters of the model

Jérôme Kunegis

Generating Networks with Arbitrary Properties

9
Problems of Exponential Random Graph Models

P(G) = exp( a1 x1 + a2 x2 + … + ak xk + b )

Many exponential random graph models are degenerate:
They contain mostly almost-empty or almost-full graphs
But on average, they produce the correct statistics!

Jérôme Kunegis

Generating Networks with Arbitrary Properties

10
Explanation of Degeneracy

Consider a variable x between 0 and 1
with expected value 0.3.
An exponential random model for it is given by:
P(x) = exp( ax + b )

P(x)

We get
Mode[x] = 0
!!
0
Jérôme Kunegis

0

0.3

Generating Networks with Arbitrary Properties

1

x
11
Idea
Require not that E[x] = c, but that x follow a normal distribution
P(x)

0

0

0.3

1

x

P(G) = Pnorm (x1, x2, …; μ1, μ2, …, σ1, σ2, …)
Jérôme Kunegis

Generating Networks with Arbitrary Properties

12
Real Networks Have a Distribution of Values Anyway

P(G) = Pnorm (x1, x2, …)

Data from konect.uni-koblenz.de

Jérôme Kunegis

Generating Networks with Arbitrary Properties

13
Monte Carlo Markov Chain Methods
+ Current graphs
× Possible next steps
Wanted distribution
×
Random graphs
+
×

x2

×

×

×
P = high

×

Sampling will be bias
towards the distribution
of random graphs

P = low
×
×
×
×

×
×

×

×

×

×
x1
Jérôme Kunegis

Generating Networks with Arbitrary Properties

14
Solution: Integral of Measure of Voronoi Cells

Wanted distribution
×
×

Random graphs
×

×

x2

×

×

×

×

×
×

×

×
×

×

×

×
x1
Jérôme Kunegis

Generating Networks with Arbitrary Properties

15
How To Compute The Integral over Voronoi Cells
Answer: We don't have to.
Sampling strategy:
Sample point in statistic-space according to our
wanted distribution
●
Find nearest possible network (i.e., nearest “×”)
●

Claim: This distribution at each step is similar to the
underlying measure, giving an unbiased sampling.

Jérôme Kunegis

Generating Networks with Arbitrary Properties

16
Result: Close, But Not Exact

Jérôme Kunegis

Generating Networks with Arbitrary Properties

17
Convergence Speed (σ = 3)

Edge count

2-star count

Triangle count

Jérôme Kunegis

Generating Networks with Arbitrary Properties

18
Example: Generate Network with Same Properties as Zachary's Karate Club

Jérôme Kunegis

Generating Networks with Arbitrary Properties

19

More Related Content

Similar to Generating Networks with Arbitrary Properties

Camp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine LearningCamp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine LearningKrzysztof Kowalczyk
 
Graphical Models 4dummies
Graphical Models 4dummiesGraphical Models 4dummies
Graphical Models 4dummiesxamdam
 
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)Universitat Politècnica de Catalunya
 
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferMLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferCharles Deledalle
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsJérôme KUNEGIS
 
Synthetic Data Generation using exponential random Graph modeling
Synthetic Data Generation using exponential random Graph modelingSynthetic Data Generation using exponential random Graph modeling
Synthetic Data Generation using exponential random Graph modelingGraph-TA
 
Diving into Deep Learning (Silicon Valley Code Camp 2017)
Diving into Deep Learning (Silicon Valley Code Camp 2017)Diving into Deep Learning (Silicon Valley Code Camp 2017)
Diving into Deep Learning (Silicon Valley Code Camp 2017)Oswald Campesato
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural NetworksDatabricks
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Universitat Politècnica de Catalunya
 
Deep Learning for Computer Vision: Generative models and adversarial training...
Deep Learning for Computer Vision: Generative models and adversarial training...Deep Learning for Computer Vision: Generative models and adversarial training...
Deep Learning for Computer Vision: Generative models and adversarial training...Universitat Politècnica de Catalunya
 
Presentation slides for my simulation course at Dauphine
Presentation slides for my simulation course at DauphinePresentation slides for my simulation course at Dauphine
Presentation slides for my simulation course at DauphineChristian Robert
 
Machine Learning ICS 273A
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273Abutest
 
Machine Learning ebook.pdf
Machine Learning ebook.pdfMachine Learning ebook.pdf
Machine Learning ebook.pdfHODIT12
 
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 11_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1MostafaHazemMostafaa
 
Machine learning algorithms
Machine learning algorithmsMachine learning algorithms
Machine learning algorithmsShalitha Suranga
 
[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun YooJaeJun Yoo
 
2021_jiayuhe_portfolio.pdf
2021_jiayuhe_portfolio.pdf2021_jiayuhe_portfolio.pdf
2021_jiayuhe_portfolio.pdfJIAYU HE
 

Similar to Generating Networks with Arbitrary Properties (20)

Camp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine LearningCamp IT: Making the World More Efficient Using AI & Machine Learning
Camp IT: Making the World More Efficient Using AI & Machine Learning
 
Graphical Models 4dummies
Graphical Models 4dummiesGraphical Models 4dummies
Graphical Models 4dummies
 
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)
Unsupervised Learning (D2L6 2017 UPC Deep Learning for Computer Vision)
 
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transferMLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
MLIP - Chapter 6 - Generation, Super-Resolution, Style transfer
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
 
Synthetic Data Generation using exponential random Graph modeling
Synthetic Data Generation using exponential random Graph modelingSynthetic Data Generation using exponential random Graph modeling
Synthetic Data Generation using exponential random Graph modeling
 
Diving into Deep Learning (Silicon Valley Code Camp 2017)
Diving into Deep Learning (Silicon Valley Code Camp 2017)Diving into Deep Learning (Silicon Valley Code Camp 2017)
Diving into Deep Learning (Silicon Valley Code Camp 2017)
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
 
Android and Deep Learning
Android and Deep LearningAndroid and Deep Learning
Android and Deep Learning
 
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
Convolutional Neural Networks (DLAI D5L1 2017 UPC Deep Learning for Artificia...
 
Deep Learning for Computer Vision: Generative models and adversarial training...
Deep Learning for Computer Vision: Generative models and adversarial training...Deep Learning for Computer Vision: Generative models and adversarial training...
Deep Learning for Computer Vision: Generative models and adversarial training...
 
Presentation slides for my simulation course at Dauphine
Presentation slides for my simulation course at DauphinePresentation slides for my simulation course at Dauphine
Presentation slides for my simulation course at Dauphine
 
Machine Learning ICS 273A
Machine Learning ICS 273AMachine Learning ICS 273A
Machine Learning ICS 273A
 
Bayesian networks
Bayesian networksBayesian networks
Bayesian networks
 
Machine Learning ebook.pdf
Machine Learning ebook.pdfMachine Learning ebook.pdf
Machine Learning ebook.pdf
 
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 11_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1
1_5_AI_edx_ml_51intro_240204_104838machine learning lecture 1
 
Machine learning algorithms
Machine learning algorithmsMachine learning algorithms
Machine learning algorithms
 
[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo[PR12] Inception and Xception - Jaejun Yoo
[PR12] Inception and Xception - Jaejun Yoo
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
2021_jiayuhe_portfolio.pdf
2021_jiayuhe_portfolio.pdf2021_jiayuhe_portfolio.pdf
2021_jiayuhe_portfolio.pdf
 

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
 
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...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 2016Jérôme KUNEGIS
 
Algebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of ConflictAlgebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of ConflictJérôme KUNEGIS
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Jé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 CollectionJé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 ExplanationsJé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 ApproachJé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 LawJé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 CloudJé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 TwitterJé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 RecommendersJé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...
 
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...
Measuring the Conflict in a Social Network with Friends and Foes: A Recent Al...
 
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
 
Algebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of ConflictAlgebraic Graph-theoretic Measures of Conflict
Algebraic Graph-theoretic Measures of Conflict
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013
 
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

Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Recently uploaded (20)

Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

Generating Networks with Arbitrary Properties

  • 2. Social Interaction “You’re my friend” Jérôme Kunegis Generating Networks with Arbitrary Properties 2
  • 3. Many Social Interactions ” y friend m You’re “ Jérôme Kunegis ’re m y frie nd” ” nd rie y friend” “You y ’re my frie nd ” f my ’re ou “Y “You’re m ’re ou “Y m d” n ie fr “Yo u y friend m “You’re Generating Networks with Arbitrary Properties ” 3
  • 4. Abstract: It's a Network Jérôme Kunegis Generating Networks with Arbitrary Properties 4
  • 5. Problem: Generate Realistic Graphs Why generate graphs? To visualize an existing network: generate a smaller graph with same properties as a large real (note: sampling a subset will skew the properties) ● For testing algorithms: Generate a larger network then those currently known ● Jérôme Kunegis Generating Networks with Arbitrary Properties 5
  • 6. Basic Idea for Generating Networks: Random Graphs Each edge has probability p of existing Paul Erdős Jérôme Kunegis Generating Networks with Arbitrary Properties 6
  • 7. Random Graphs Are Not Realistic Real network Random graph Jérôme Kunegis Generating Networks with Arbitrary Properties 7
  • 8. Real Networks Have Special Properties Many triangles (“clustering”) Many 2-stars (“preferential attachment”) Short paths (“small world”) ● Assortativity ● Power-law-like degree distributions ● Connectivity ● Reciprocity ● Global structure ● Subgraph patterns ● etc., etc., etc., etc., etc. ● Jérôme Kunegis Generating Networks with Arbitrary Properties 8
  • 9. Solution: Exponential Random Graph Models Example with three statistics: P(G) = exp( a1 m + a2 t + a3 s + b ) m, t, s: Properties of G m = Number of edges; t = Number of triangles; s = Number of 2-stars a1, a2, a3, b: Parameters of the model Jérôme Kunegis Generating Networks with Arbitrary Properties 9
  • 10. Problems of Exponential Random Graph Models P(G) = exp( a1 x1 + a2 x2 + … + ak xk + b ) Many exponential random graph models are degenerate: They contain mostly almost-empty or almost-full graphs But on average, they produce the correct statistics! Jérôme Kunegis Generating Networks with Arbitrary Properties 10
  • 11. Explanation of Degeneracy Consider a variable x between 0 and 1 with expected value 0.3. An exponential random model for it is given by: P(x) = exp( ax + b ) P(x) We get Mode[x] = 0 !! 0 Jérôme Kunegis 0 0.3 Generating Networks with Arbitrary Properties 1 x 11
  • 12. Idea Require not that E[x] = c, but that x follow a normal distribution P(x) 0 0 0.3 1 x P(G) = Pnorm (x1, x2, …; μ1, μ2, …, σ1, σ2, …) Jérôme Kunegis Generating Networks with Arbitrary Properties 12
  • 13. Real Networks Have a Distribution of Values Anyway P(G) = Pnorm (x1, x2, …) Data from konect.uni-koblenz.de Jérôme Kunegis Generating Networks with Arbitrary Properties 13
  • 14. Monte Carlo Markov Chain Methods + Current graphs × Possible next steps Wanted distribution × Random graphs + × x2 × × × P = high × Sampling will be bias towards the distribution of random graphs P = low × × × × × × × × × × x1 Jérôme Kunegis Generating Networks with Arbitrary Properties 14
  • 15. Solution: Integral of Measure of Voronoi Cells Wanted distribution × × Random graphs × × x2 × × × × × × × × × × × × x1 Jérôme Kunegis Generating Networks with Arbitrary Properties 15
  • 16. How To Compute The Integral over Voronoi Cells Answer: We don't have to. Sampling strategy: Sample point in statistic-space according to our wanted distribution ● Find nearest possible network (i.e., nearest “×”) ● Claim: This distribution at each step is similar to the underlying measure, giving an unbiased sampling. Jérôme Kunegis Generating Networks with Arbitrary Properties 16
  • 17. Result: Close, But Not Exact Jérôme Kunegis Generating Networks with Arbitrary Properties 17
  • 18. Convergence Speed (σ = 3) Edge count 2-star count Triangle count Jérôme Kunegis Generating Networks with Arbitrary Properties 18
  • 19. Example: Generate Network with Same Properties as Zachary's Karate Club Jérôme Kunegis Generating Networks with Arbitrary Properties 19