SlideShare a Scribd company logo
Random Networks
&
Strategic Networks
Why and how networks form
A gentle introduction
Who am I?
Software engineer by day
…curious all the time
@1littleendian
https://www.linkedin.com/in/junasalviati/
Random Networks
How networks form?
Why random networks are important?
in-school friendship network
(http://icecreamhitearth.blogspot.com/)
ER network with parameters n=50, p=0.3
Approximating “real” networks
Try to explain “how” real networks form
Some Social Networks properties
- Short average path length
- High clustering
- Characteristic degree distributions
- Homophily
- Link interdependence
- Different measures for prestige and importance
Models
- random formation (Erdős–Rényi)
- rewiring (Watts-Strogatz)
- preferential attachment (Barabasi-Albert)
Erdős–Rényi Watts-Strogatz Barabasi-Albert
ER Model
Given n nodes, links form with independent probability p.
Observation (trivial): when p is high, we get more connections.
n=20, p=0.03 n=20, p=0.08n=20, p=0.06
Modello ER - Thresholds
Playing with n,p values, we observe some “threshold” phenomena...
- links emerge
- giant component emerge
- connected component emerge
...and those thresholds and transition phases are well defined!
ER Model - Thresholds and phases
Some links emerge but some nodes
are pretty isolated.
n = 50
p = 0.01
ER Model - Thresholds and phases
0.02 is threshold for cycles and
giants components.
We still observe isolated nodes and
small links.
n = 50
p = 0.02
Modello ER - Soglie
0.05 is the threshold for a well
defined giant component.
n = 50
p = 0.05
Modello ER - Soglie
0.08 is the threshold for the
connected component to emerge.
n = 50
p = 0.1
ER Model - Playground
https://antigones.github.io/SimpleNets/erdosSteps.html
Watts-Strogatz Model (Small World)
Enriches ER model introducing clustering properties
Watts-Strogatz
Starts with a n nodes lattice, with a base wiring k (high clustering and high diameter)
Watts-Strogatz
...does a rewiring with β probability (and the diameter gets low)
Watts-Strogatz Model - Playground
https://antigones.github.io/SimpleNets/wattsSteps.html
Barabasi-Albert Model
No starting configuration defined in the paper…!
We choose to start with a n nodes lattice...
Barabasi-Albert
...adding nodes following “preferential attachment” rule.
A small set of nodes with many links (hub)
Rich gets richer
Barabasi-Albert - Playground
https://antigones.github.io/SimpleNets/barabasiSteps.html
Block models
Probability of link formation depends on some property:
● Age
● Gender
● Nearness/Farness
● Cetus
This model allows to see homophily (“those who are similar tends to connect”)
Exponential Random Graph (ERGMs)
Allows to observe interdependence, analyzing network as a whole and not as a result of
composition of dyadic relationship.
For example:
- network probability depends on the number of friends in common
- network probability depends on the number of triangles
𝛽ₜL(g)+𝛽ₜL(g)
Exponential Random Graph (ERGMs)
Passing to exponential (a trick!) we ensure positive probability and 0=<p<=1:
Pr(G) ~exp[𝛽ₜL(g)+𝛽ₜT(g)-𝘤]
Subtracting c, we ensure that the probabilities sums to 1.
Every network model can be expressed in exponential with respect of some of its
properties (Hammersly e Clifford)
Strategic Networks
Why networks form?
Why strategic networks?
Attempt to explain “why” social network tend to have some particular form.
- agents can choose to form links or not
- every agents has a utility and relationships imply a gain and a cost
Symmetric Connections model (Jackson-Wolinsky)
Agents simultaneously declare the will to form a link or not: if they agree a link is
formed.
Symmetric Connections model (Jackson-Wolinsky)
Nash equilibrium: a configuration where nobody obtain a gain changing his/her own
action.
For a dyad, we have a Nash equilibrium:
- when both agents announce each
other and the link forms
- when nobody announces nobody
- because even if the other gives the
announcement, the link will not form
anyway!
...and this is a problem because we can’t make
predictions, since every possible configuration is an
equilibrium!
Pairwise stability (Jackson-Wolinsky)
Network is pairwise stable:
- no two agents both gain from adding a link (at least one “stricly”)
- no one gain severing the link
Both are Nash equilibria, only the latter is pairwise stable
Pareto efficiency and (strong) efficiency
- Network is Pareto efficient when someone gains moving and someone else
consequently suffer a loss.
- we can have many Pareto efficient configurations.
- Network is efficient if maximizes the sum of agent utilities.
- we care about maximizing the whole network efficiency instead of that of the single agent.
(utilitarianism)
- with a utility transfer the network can obtain Pareto efficiency
- Network stability is independent from those two properties so a stable
configuration does not imply maximizing network or single agent utility!
Efficiency
Efficient configuration varies depending on delta and cost.
● 𝙘 < 𝛅-𝛅², cost to form a link is very low so the complete network is efficient
● 𝛅-𝛅²<𝙘<𝛅+(n-2)*𝛅²/2, the cost is medium and the star network is efficient
● 𝛅+(n-2)*𝛅²/2<𝙘, the cost is high so the empty network is efficient
Why stars? Because stars connect individuals at a minimum distances, minimizing
indirect link delta loss.
Efficiency - Playground
https://antigones.github.io/StrategicNets/efficiencyComplete.html
Pairwise stability vs Efficiency
Pairwise stable configuration varies depending on delta and cost.
● for a low cost 𝙘 < 𝛅-𝛅^2, complete network is pairwise stable
● for a medium/low cost 𝛅-𝛅^2< 𝙘 < 𝛅, star network is pairwise stable (but other networks can be pairwise
stable too)
● for a medium/high cost 𝛅 < 𝙘 < 𝛅 + (n-2)𝛅^2/2, the cost does not justify bringing only one person in the
network with the link so forming links tends to bring in more people to get indirect benefits to
compensate cost. Additionally, every agent forms a link only with agents bringing other connection with
them. This is actually the case where a star network is efficient but not pairwise stable.
● 𝛅 + (n-2)𝛅^2/2< 𝙘, the empty network is pairwise stable
Pairwise stability vs Efficiency
For a low cost 𝙘 < 𝛅-𝛅^2, complete network is pairwise stable and efficient
Pairwise stability Efficiency
𝛅 = 0.5
𝙘 = 0.2
Pairwise stability vs Efficiency
For a medium cost 𝛅 > 𝙘 > 𝛅-𝛅^2, star network is pairwise stable and efficient
Pairwise stability Efficiency
𝛅 = 0.5
𝙘 = 0.3
Pairwise stability vs Efficiency
For a cost 𝙘 > 𝛅-𝛅^3, circle is pairwise stable, too.
Pairwise stability
𝛅 = 0.5
𝙘 = 0.3
Pairwise stability vs Efficiency
For a medium cost 𝙘 > 𝛅, star network is efficient but not pairwise stable.
Pairwise stability Efficiency
𝛅 = 0.5
𝙘 = 0.7
Pairwise stability - Playground
https://antigones.github.io/StrategicNets/pairwiseStableComplete.html
Links and reference
https://www.coursera.org/learn/social-economic-networks
Matthew O. Jackson, “Social and Economic Networks” (Princeton University Press)
https://medium.com/@1littleendian/
https://github.com/antigones/SimpleNets
https://github.com/antigones/StrategicNets
https://antigones.github.io/SimpleNets/
https://antigones.github.io/StrategicNets/
Questions?
Thank you!

More Related Content

Similar to A gentle introduction to random and strategic networks (20)

PPT
Topology ppt
Daksh Bapna
 
PDF
SN- Lecture 10
Manu Muñoz H
 
PDF
Complexity Play&Learn
Massimo Conte
 
PDF
Minicourse on Network Science
Pavel Loskot
 
PPT
Topology ppt
boocse11
 
PPT
Topology ppt
karan saini
 
PDF
Legal Analytics Course - Class 11 - Network Analysis and Law - Professors Dan...
Daniel Katz
 
PPT
TopologyPPT.ppt
ssuser933685
 
PPTX
Small Worlds Social Graphs Social Media
suresh sood
 
PDF
1 dorogovtsev
Yandex
 
PDF
1 dorogovtsev
Yandex
 
PPT
It’s a “small world” after all
quanmengli
 
PDF
Network Models
Vani Kandhasamy
 
PDF
Mathematical Foundations of Network Analysis (by Steve Borgatti).pdf
IrfanSohail11
 
PDF
Complex Networks Analysis @ Universita Roma Tre
Matteo Moci
 
PDF
08 Exponential Random Graph Models (ERGM)
dnac
 
PDF
08 Exponential Random Graph Models (2016)
Duke Network Analysis Center
 
PPT
Information Networks And Their Dynamics
Srinath Srinivasa
 
PPTX
17 Statistical Models for Networks
Duke Network Analysis Center
 
Topology ppt
Daksh Bapna
 
SN- Lecture 10
Manu Muñoz H
 
Complexity Play&Learn
Massimo Conte
 
Minicourse on Network Science
Pavel Loskot
 
Topology ppt
boocse11
 
Topology ppt
karan saini
 
Legal Analytics Course - Class 11 - Network Analysis and Law - Professors Dan...
Daniel Katz
 
TopologyPPT.ppt
ssuser933685
 
Small Worlds Social Graphs Social Media
suresh sood
 
1 dorogovtsev
Yandex
 
1 dorogovtsev
Yandex
 
It’s a “small world” after all
quanmengli
 
Network Models
Vani Kandhasamy
 
Mathematical Foundations of Network Analysis (by Steve Borgatti).pdf
IrfanSohail11
 
Complex Networks Analysis @ Universita Roma Tre
Matteo Moci
 
08 Exponential Random Graph Models (ERGM)
dnac
 
08 Exponential Random Graph Models (2016)
Duke Network Analysis Center
 
Information Networks And Their Dynamics
Srinath Srinivasa
 
17 Statistical Models for Networks
Duke Network Analysis Center
 

More from GraphRM (14)

PDF
How to leverage Kafka data streams with Neo4j
GraphRM
 
PDF
From zero to gremlin hero - Part I
GraphRM
 
PDF
Topology Visualization at Sysdig
GraphRM
 
PPTX
Tecniche per la Visualizzazione di Grafi di Grandi Dimensioni Basate sulla Co...
GraphRM
 
PDF
aRangodb, un package per l'utilizzo di ArangoDB con R
GraphRM
 
PDF
The power of the cosmos in a DB .... CosmosDB
GraphRM
 
PDF
OrientDB graph e l'importanza di una relazione mancante
GraphRM
 
PDF
Il "Knowledge Graph" della Pubblica Amministrazione Italiana
GraphRM
 
PDF
Elastic loves Graphs
GraphRM
 
PDF
From text to entities: Information Extraction in the Era of Knowledge Graphs
GraphRM
 
PPTX
Graph analysis over relational database
GraphRM
 
PDF
GraphRM - Introduzione al Graph modelling
GraphRM
 
PDF
GraphQL ♥︎ GraphDB
GraphRM
 
PDF
Costruiamo un motore di raccomandazione con Neo4J - Workshop 25/1/2018
GraphRM
 
How to leverage Kafka data streams with Neo4j
GraphRM
 
From zero to gremlin hero - Part I
GraphRM
 
Topology Visualization at Sysdig
GraphRM
 
Tecniche per la Visualizzazione di Grafi di Grandi Dimensioni Basate sulla Co...
GraphRM
 
aRangodb, un package per l'utilizzo di ArangoDB con R
GraphRM
 
The power of the cosmos in a DB .... CosmosDB
GraphRM
 
OrientDB graph e l'importanza di una relazione mancante
GraphRM
 
Il "Knowledge Graph" della Pubblica Amministrazione Italiana
GraphRM
 
Elastic loves Graphs
GraphRM
 
From text to entities: Information Extraction in the Era of Knowledge Graphs
GraphRM
 
Graph analysis over relational database
GraphRM
 
GraphRM - Introduzione al Graph modelling
GraphRM
 
GraphQL ♥︎ GraphDB
GraphRM
 
Costruiamo un motore di raccomandazione con Neo4J - Workshop 25/1/2018
GraphRM
 
Ad

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Biography of Daniel Podor.pdf
Daniel Podor
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Ad

A gentle introduction to random and strategic networks

  • 1. Random Networks & Strategic Networks Why and how networks form A gentle introduction
  • 2. Who am I? Software engineer by day …curious all the time @1littleendian https://www.linkedin.com/in/junasalviati/
  • 4. Why random networks are important? in-school friendship network (http://icecreamhitearth.blogspot.com/) ER network with parameters n=50, p=0.3 Approximating “real” networks Try to explain “how” real networks form
  • 5. Some Social Networks properties - Short average path length - High clustering - Characteristic degree distributions - Homophily - Link interdependence - Different measures for prestige and importance
  • 6. Models - random formation (Erdős–Rényi) - rewiring (Watts-Strogatz) - preferential attachment (Barabasi-Albert) Erdős–Rényi Watts-Strogatz Barabasi-Albert
  • 7. ER Model Given n nodes, links form with independent probability p. Observation (trivial): when p is high, we get more connections. n=20, p=0.03 n=20, p=0.08n=20, p=0.06
  • 8. Modello ER - Thresholds Playing with n,p values, we observe some “threshold” phenomena... - links emerge - giant component emerge - connected component emerge ...and those thresholds and transition phases are well defined!
  • 9. ER Model - Thresholds and phases Some links emerge but some nodes are pretty isolated. n = 50 p = 0.01
  • 10. ER Model - Thresholds and phases 0.02 is threshold for cycles and giants components. We still observe isolated nodes and small links. n = 50 p = 0.02
  • 11. Modello ER - Soglie 0.05 is the threshold for a well defined giant component. n = 50 p = 0.05
  • 12. Modello ER - Soglie 0.08 is the threshold for the connected component to emerge. n = 50 p = 0.1
  • 13. ER Model - Playground https://antigones.github.io/SimpleNets/erdosSteps.html
  • 14. Watts-Strogatz Model (Small World) Enriches ER model introducing clustering properties
  • 15. Watts-Strogatz Starts with a n nodes lattice, with a base wiring k (high clustering and high diameter)
  • 16. Watts-Strogatz ...does a rewiring with β probability (and the diameter gets low)
  • 17. Watts-Strogatz Model - Playground https://antigones.github.io/SimpleNets/wattsSteps.html
  • 18. Barabasi-Albert Model No starting configuration defined in the paper…! We choose to start with a n nodes lattice...
  • 19. Barabasi-Albert ...adding nodes following “preferential attachment” rule. A small set of nodes with many links (hub) Rich gets richer
  • 21. Block models Probability of link formation depends on some property: ● Age ● Gender ● Nearness/Farness ● Cetus This model allows to see homophily (“those who are similar tends to connect”)
  • 22. Exponential Random Graph (ERGMs) Allows to observe interdependence, analyzing network as a whole and not as a result of composition of dyadic relationship. For example: - network probability depends on the number of friends in common - network probability depends on the number of triangles 𝛽ₜL(g)+𝛽ₜL(g)
  • 23. Exponential Random Graph (ERGMs) Passing to exponential (a trick!) we ensure positive probability and 0=<p<=1: Pr(G) ~exp[𝛽ₜL(g)+𝛽ₜT(g)-𝘤] Subtracting c, we ensure that the probabilities sums to 1. Every network model can be expressed in exponential with respect of some of its properties (Hammersly e Clifford)
  • 25. Why strategic networks? Attempt to explain “why” social network tend to have some particular form. - agents can choose to form links or not - every agents has a utility and relationships imply a gain and a cost
  • 26. Symmetric Connections model (Jackson-Wolinsky) Agents simultaneously declare the will to form a link or not: if they agree a link is formed.
  • 27. Symmetric Connections model (Jackson-Wolinsky) Nash equilibrium: a configuration where nobody obtain a gain changing his/her own action. For a dyad, we have a Nash equilibrium: - when both agents announce each other and the link forms - when nobody announces nobody - because even if the other gives the announcement, the link will not form anyway! ...and this is a problem because we can’t make predictions, since every possible configuration is an equilibrium!
  • 28. Pairwise stability (Jackson-Wolinsky) Network is pairwise stable: - no two agents both gain from adding a link (at least one “stricly”) - no one gain severing the link Both are Nash equilibria, only the latter is pairwise stable
  • 29. Pareto efficiency and (strong) efficiency - Network is Pareto efficient when someone gains moving and someone else consequently suffer a loss. - we can have many Pareto efficient configurations. - Network is efficient if maximizes the sum of agent utilities. - we care about maximizing the whole network efficiency instead of that of the single agent. (utilitarianism) - with a utility transfer the network can obtain Pareto efficiency - Network stability is independent from those two properties so a stable configuration does not imply maximizing network or single agent utility!
  • 30. Efficiency Efficient configuration varies depending on delta and cost. ● 𝙘 < 𝛅-𝛅², cost to form a link is very low so the complete network is efficient ● 𝛅-𝛅²<𝙘<𝛅+(n-2)*𝛅²/2, the cost is medium and the star network is efficient ● 𝛅+(n-2)*𝛅²/2<𝙘, the cost is high so the empty network is efficient Why stars? Because stars connect individuals at a minimum distances, minimizing indirect link delta loss.
  • 32. Pairwise stability vs Efficiency Pairwise stable configuration varies depending on delta and cost. ● for a low cost 𝙘 < 𝛅-𝛅^2, complete network is pairwise stable ● for a medium/low cost 𝛅-𝛅^2< 𝙘 < 𝛅, star network is pairwise stable (but other networks can be pairwise stable too) ● for a medium/high cost 𝛅 < 𝙘 < 𝛅 + (n-2)𝛅^2/2, the cost does not justify bringing only one person in the network with the link so forming links tends to bring in more people to get indirect benefits to compensate cost. Additionally, every agent forms a link only with agents bringing other connection with them. This is actually the case where a star network is efficient but not pairwise stable. ● 𝛅 + (n-2)𝛅^2/2< 𝙘, the empty network is pairwise stable
  • 33. Pairwise stability vs Efficiency For a low cost 𝙘 < 𝛅-𝛅^2, complete network is pairwise stable and efficient Pairwise stability Efficiency 𝛅 = 0.5 𝙘 = 0.2
  • 34. Pairwise stability vs Efficiency For a medium cost 𝛅 > 𝙘 > 𝛅-𝛅^2, star network is pairwise stable and efficient Pairwise stability Efficiency 𝛅 = 0.5 𝙘 = 0.3
  • 35. Pairwise stability vs Efficiency For a cost 𝙘 > 𝛅-𝛅^3, circle is pairwise stable, too. Pairwise stability 𝛅 = 0.5 𝙘 = 0.3
  • 36. Pairwise stability vs Efficiency For a medium cost 𝙘 > 𝛅, star network is efficient but not pairwise stable. Pairwise stability Efficiency 𝛅 = 0.5 𝙘 = 0.7
  • 37. Pairwise stability - Playground https://antigones.github.io/StrategicNets/pairwiseStableComplete.html
  • 38. Links and reference https://www.coursera.org/learn/social-economic-networks Matthew O. Jackson, “Social and Economic Networks” (Princeton University Press) https://medium.com/@1littleendian/ https://github.com/antigones/SimpleNets https://github.com/antigones/StrategicNets https://antigones.github.io/SimpleNets/ https://antigones.github.io/StrategicNets/