Top Banner
Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge
53

Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Nov 29, 2018

Download

Documents

dokhuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Real Networks

By: Ralucca Gera, NPS

Excellence Through Knowledge

Page 2: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Outline

• The role of networks in life, nature, and research

• Examples of real life networks• Why study structure of real

networks?• Why study network models?

–Structure & dynamics

Page 3: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Recall: MA 4027 (Graph Theory)

• A vertex generally represents an object/idea• An edge relationships between objects/ideas

Small graphsOrGraphs with a pattern• edges (well understood laws)• usually static in time

3

Page 4: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

MA 4404: Complex Networks

Complex networks (nontrivial to define, here are some characteristics):• generally very large,• nodes may or may not have well-defined roles• nodes may interact according to rules that generally are not understood• the change or failure of a small subset may have a significant impact on the

entire network • mixed type of nodes/edges

(layered social network and acommunication network)

• they self-organize (emergent properties)

• such networks adapt, and therefore evolve

4

Page 5: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The future of networks

Networks seem to be here to stay– More and more systems are modeled as networks– Scientists from various disciplines are working on

networks (physicists, computer scientists, mathematicians, biologists, sociologist, economists)

– A very young, cutting edge research field with an international and interdisciplinary community

– Watch this introduction to understanding the brain as a network…

Page 6: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Common types of networks (1)

Sections 2-5 of Newman’s book present discussions of the following common networks:• Technological networks• Social networks• Networks of Information• Biological networks

Most pictures in this PPT are from Newman’s gallery of pictures: http://www-personal.umich.edu/~mejn/networks/

Page 7: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

TECHNOLOGICAL NETWORKS

Networks built for distribution of commodity

7

What are some examples that you can think of?

Page 8: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Technological networks

• Networks built for distribution of commodity– The Internet

• Interface, router level, AS level

– Power Grids– Airline networks– Telephone networks– Transportation Networks

• roads, railways, pedestrian traffic

– Software graphs

Source: “Networks, An introduction” by Newman

Page 9: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Structure of the Internet

9

• A physical network of computers linked by actual cables (vs. the www)• Its structure is derived from experiments rather than from a central repository

Commercial companies thatcontract for connection to the backbone and resell to end users

The “highways” of the internet(high-bandwidth, high performanceRouters and switching centers)operated by national governments andcommunication companies (AT&T)Source: “Networks, An introduction” by Newman

Page 10: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The internet is a layered network

10Source: Dave Alderson, NPS

Page 11: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Exploring the Internet

Empirically-based topology modeling of the Internet using traceroutes (tool that traces the IP-route that a data packet travels), to infer the IP-level

11From: Dave Alderson, NPS

Page 12: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Sample Traceroute

12

Internet routing is based on policy (i.e. economics) so traceroutes do not give shortest-paths

Page 13: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Constructing the Internet Topology using traceroutes data

13Source: “Networks, An introduction” by Newman

Vantage Points(routers)

Page 14: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

And This Is How We Can View Data in Gephi

14

Page 15: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Internet (IP level) in 2005

15Source: https://entropychaos.files.wordpress.com/2010/11/1069646562-lgl-2d-4000x4000.png

Bright clusters and points with many edges originating at them represent ISPs or DNS servers which redirect users to destination sites.

Colors represent different countries

Figure created bywww.opte.org

Page 16: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Internet (at the AS level) in 2009

Source: Bill Cheswick http://www.cheswick.com/ches/map/gallery/index.html

Figure created bywww.opte.org

Nodes are autonomous systemsEdges are routes taken by datausing trace-routes

Page 17: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Internet

• Graphical representations are not inspiring

• We can still describe it as we will see in this class, just keep in mind that it is an inferred topology not a true one

• However the graphs will be different at different granularity levels (the graphical representation might look the same)

17

Page 18: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Source: http://www.pnas.org/content/111/23/8351.figures-only

London Transport Netw. - Multiplex

London NYC

Page 19: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Airline network (multilayer)

19Source: https://www.nature.com/articles/ncomms7868

Page 20: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

SOCIAL NETWORKS

Links denote a social interaction

20

What are some examples that you can think of?

Page 21: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Social Networks

• Links denote a social interaction– Networks of acquaintances– actor networks (Bacon)– co-authorship networks (Erdos)– director networks– phone-call networks– e-mail networks– IM networks

• Microsoft buddy network– Bluetooth networks– sexual networks– home page networks

Source: “Networks, An introduction” by Newman

Page 22: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Facebook

22Source: http://blog.revolutionanalytics.com/2010/12/facebooks-social-network-graph.html

Page 23: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

source Richard Allain, Ralucca Gera, Daniel Hall, Mark Raffetto. “Modeling Network Community Evolution in YouTube Comment Posting”. BRIMS (2016)

YouTube Social Media posts

Nodes: Names from comments Edges: name mentions name

Collected between 01/2016 to 02/2016

Page 24: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Trump talk (tweeter using www.netlytic.org)

24Source: Tom Knuth, NPS

Page 25: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Organized the 14 layers of Noordin Top into 3 categories that become thelayers of our multilayered network

Figure: HIGGS Multiplex Social Interaction Twitter Data: retrieved fromhttp://deim.urv.cat/manlio.dedomenico/images/muxviz/muxViz community5.png

Dark Networks (Multilayered)

Trust

KnowledgeLoC

Trust LoC Knowledge

Source for Noordin Top network: Ryan Miller

Page 26: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Synthetic terrorist network

Find the terrorist networkembedded in the multilayered

Purple Network (using the layers of interest)

Given: A typical node “v” (R/B, Overall Degree, Degree in R1, R2, R3, B1, B2, B3, etc.)

Source: Scott Warnke, NPS

Page 27: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Zachary’s Karate Club

27Source: Identifying overlapping communities as well as hubs and outliers via nonnegative matrix factorization in Scientific Reports by Xiaochun Cao, Xiao Wang, Di Jin, Yixin Cao & D. He,

34 members 78 relations, 2 years, disagreements between instructor and club administrator, the club split into two

The paper referenced in the source tried a community detection algorithm on the reference Zachary’s karate club

Page 28: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Boards of directors (mixed data types of the vertices)

Source: http://theyrule.net

Page 29: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Erdos graph

29Source: http://www.math.ucsd.edu/~fan/complex/

Page 30: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

A subgraph of the Hollywood graph

30Source: http://www.math.ucsd.edu/~fan/complex/

Page 31: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Physicist Collaboration

31source: Newman’s gallery of pictures: http://www-personal.umich.edu/~mejn/networks/

Page 32: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Physicist Collaboration

32source: Newman’s gallery of pictures:http://www-personal.umich.edu/~mejn/networks/

Just like the IP vs AS level of the internetYou get different graphs at different granularity levels

Page 33: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Marvel Comics CharactersBiggest Communities:

Green: X-menTeal: Canadian X-menCyan: SpidermanPink: Captain AmericaLt. Purple: AvengersOrange: Fantastic FourBlack: Ghost RiderGrey: Thor

Marvel began in 1939. Each node is a character. An edge is formed when characters appear in a comic together.• Nodes: 10,469• Edges: 178,115• Average Degree: 34.027• Average Path Length: 2.889• Avg Clustering Coeff: 0.530• Modularity: 0.488• Highest Deg: Iron Man (2189)

Page 34: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

NETWORKS OF INFORMATION

Nodes store information, links associate information

34

What are some examples that you can think of?

Page 35: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Networks of information

• Nodes store information, links associate information– Citation network– The Web (a network of information stored on web pages)

– Peer-to-Peer networks– Word networks– Networks of Trust– Bluetooth networks

Page 36: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Citation Networks and WWW

36Source: “The Structure and Function of Complex Networks” by Newman

Page 37: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

A network of pages on a corporate website

37

Vertices are webpages; Edges are hyperlinks

Created using a crawler (a computer program that

automatically surfs the web)

Source: “Networks, An introduction” by Newman

Page 38: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Networks of personal homepages

Stanford MIT

Source: Lada A. Adamic and Eytan Adar, ‘Friends and neighbors on the web’, Social Networks, 25(3):211-230, July 2003.

Page 39: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Natural language processing

• Wordnet (lexical database of English in which nouns, verbs, adjectives and adverbs are grouped into unordered sets of cognitive synonyms)

Source: http://wordnet.princeton.edu/man/wnlicens.7WN

multiple typesof edges(relationships)

Page 40: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Semantic networks• The goal is “to make the Web content understandable for machines and

enable automated reasoning over it”• Edge labels

40Source: http://ai.ia.agh.edu.pl/wiki/_export/s5/hekate:dl_intro

Page 41: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Semantic networks (on historical data)

41Source: http://quod.lib.umich.edu/j/jahc/3310410.0010.301/--semantic-networks-and-historical-knowledge-management?rgn=main;view=fulltext

• “the most difficult element of historical research is the management of information”• a combination of different types of nodes

Page 42: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

BIOLOGICAL NETWORKS

They apply to biological systems

42

What are some examples that you can think of?

Page 43: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Biological networks

• Biological systems represented as networks– Protein-Protein Interaction Networks– Gene regulation networks– Metabolic pathways– The Food Web– Neural Networks

Source: “Networks, An introduction” by Newman

Page 44: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Brain

Source: https://media.nature.com/full/nature-assets/nrn/journal/v10/n3/images/nrn2575-i1.jpg

Page 45: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

45

A protein-protein interaction network for yeast

The yeast protein interaction network has a scalefree topology (Pareto-Zipf Mandelbrot distribution)

Source: http://www.bordalierinstitute.com/target1.html

Page 46: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

The Ecosystem Environment

46Source: http://www.bordalierinstitute.com/target1.html

biomass-size distribution of aquatic ecosystems (trophic web or food-web)

Particular netowrk: ecosystem evolution of the lake Constance

Page 47: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Conclusions

47Networks are everywhere!

Page 48: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

What do we do with them?

– Understand their topology– Understand how they formed/function – Measure their properties– Study their evolution and dynamics– Create realistic models (generative models)

• create algorithms for synthetic networks (that make use of the real network structure to mimic the existing ones)

• they allow researcher to study several examples of like networks, at different scales.

Page 49: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Jure Leskovec

Traditional approach in studying networks

• Graph theory introduced graphs, as simplified networks (static, with patterns, well understood laws create them).

• Sociologists were the first to study social networks:– Study of patterns of connections between people to

understand how society functions– Surveys are used to collect data (hard to obtain,

inaccurate, subjective)– Typical research questions: Centrality and

connectivity• Used to be limited (we now have bigdata)

Page 50: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Newer approaches (1)

• Networks got Larger (e.g., Web, Internet, on-line social networks) with millions of nodes

• Many traditional questions not useful anymore: – Traditional: What happens if a node x is removed? – Now: What percentage of nodes needs to be removed

to affect network connectivity?• Focus moves from a single node to study of

statistical properties of the network as a whole• Can not draw (plot) the network and examine it

Page 51: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Newer approaches (2)

• Need methods and tools to quantify large networks which is a 3 parts/goals:– Statistical properties of large networks– Develop models that help understand these

properties– Predict behavior of networked systems

based on measured structural properties

Page 52: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Statistical properties of real networks

Features that tend to be used to capture part of the structure (cannot have characterization):

• Degree distributions• Small-world effect• Clustering coefficient• Network resilience• Community structure• Subgraphs or motifs

• Capturing the structure helps to:– Generalize/transfer known properties to unknown data– Extend small networks to larger scales– Attempt to understand the future of the network

Page 53: Real Networks By: Ralucca Gera, NPSfaculty.nps.edu/rgera/MA4404/Winter2018/01-RealComplexNetworks.pdf · Real Networks By: Ralucca Gera, NPS Excellence Through Knowledge. Outline

Observations

• Complex systems can be viewed as complex networks of physical or abstract interactions.

• Different networks may be obtained at different granularity level (such as the Internet), choose the correct modeling for your question.

• The dominant approach of last decade is theoretical-physics/stats.

• Huge amount of work published on complex networks since 1998.

53