MATH 168 Winter 2020

Total Page:16

File Type:pdf, Size:1020Kb

MATH 168 Winter 2020 Sheet 2 MATH 168 Winter 2020 Due: upload to Gradescope by Tuesday 21 January 2020 at 11am. Reading: • Chapter 7.1 of Newman's book • Axioms for Centrality, P. Boldi, S. Vigna (2013) (link on the course website) Submit your asnwers to the following problems: Problem 1 Read the paper Axioms for Centrality, P. Boldi, S. Vigna (2013) (link on the course website), and write a couple of sentences for each of the following points: • What are the take-aways of the paper? • What are some interesting follow-up questions? Problem 2 Consider the following networks: the Internet, the World Wide Web, a friend- ship network, a neural network and a power grid. Explain briefly in your own words what type of information is measured by degree centrality, betweenness centrality, closeness cen- trality and Katz centrality in these networks. Can you give some examples for which the centrality measures would give different rankings for the same network? (A couple of ex- amples are enough, you don't need to give examples for each network.) Problem 3 Compute the degree centrality, betweenness centrality and closeness centrality for the nodes in the following network: • • • • • • • • • • Indicate which nodes have the highest centrality value, and discuss the results obtained. 1 Sheet 2 MATH 168 Winter 2020 Note: For this problem it is best if you use some software, either to compute shortest paths, or to directly compute the centrality values. Widely used software packages for networks are NetworkX (https://networkx.github.io) and the Brain Connectivity Toolbox (https: //sites.google.com/site/bctnet/), though there are numerous other software packages. In your solutions please indicate how you computed the values (which software package, which implementation from that package, etc). Problem 4 (This is problem 7.5 in Newman's book) Suppose that a directed network takes the form of a tree with all edges pointing inward towards a central node: What is the PageRank centrality of the central node in terms of the single parameter α appearing in the definition of PageRank and the distances di from each node i to the central node? Problem 5 (This is Problem 7.1 in Newman's book) Consider a connected k-regular undi- rected network (i.e., a network in which every node hasScanned degree by CamScannerk and there is only one component). a) Show that the uniform vector 1 = (1; 1; 1;::: ) is an eigenvector of the adjacency matrix with eigenvalue k. In a connected network there is only one eigenvector with all elements positive and hence the eigenvector 1 gives, by definition, the eigenvector centrality of the k-regular network, and the centralities are the same for every vertex. b) Find the Katz centralities of all nodes in the network as a function of k. c) You should find that, like the eigenvector centralities, the Katz centralities of all nodes are the same. Name a centrality measure that could give different centrality values for different nodes in a regular network. 2 Sheet 2 MATH 168 Winter 2020 Problem 6 (This is Problem 7.3 in Newman's book) We saw in the lecture that the Katz centrality in vector form satisfies the equation x = αAx + 1. a) Show that the Katz centrality can also be written in series form as x = 1 + αA1 + α2A21 + ::: b) Hence, argue that in the limit where α is small but non-zero, the Katz centrality is essentially equivalent to degree centrality. c) Conversely, in the limit α ! 1/κ1, where κ1 is the largest (most positive) eigenvalue of the adjacency matrix, argue that x becomes proportional to the leading eigenvector, which is simply the eigenvector centrality. Thus, the Katz centrality can be thought of as a one-parameter family of centralities, parametrized by α 2 [0; 1/κ1], which includes the degree centrality and the eigenvector centrality at the two limits of the range and interpolates between them everywhere in between. 3.
Recommended publications
  • Network Centrality) (100 Points)
    In the name of God. Sharif University of Technology Analysis of Biological Networks CE 558 Spring 2020 Dr. H.R. Rabiee Homework 3 (Network Centrality) (100 points) 1. Compute centrality of the nodes with the most and least centrality for the following network according to the following measures: • Degree • Eccentricity • Closeness • Shortest Path Betweenness 1 2. For a complete (m,n)-bipartite graph compute Katz centrality measure with α = 2mn for each node and determine which nodes have the most centrality. ( (m, n)-bipartite graph consists of two independent partitions with m and n nodes each) 3. (a) For a cycle graph prove that we don't have a central node. (The centrality of all nodes are the same). Prove it for following centrality measures. • Degree • Eccentricity • Closeness • Shortest Path Betweenness • Katz • PageRank (b) Prove that in a graph that has a full-cycle automorphism, there is no central measure. Prove it for an arbitrary centrality measure. (Note that an appropriate centrality measure only depends on the structure of the graph and not the node labels) (c) for n > 2, find a graph with n nodes that has an automorphism but the centrality of the nodes are not all equal for some measure. 1 4. Prove that for any d-regular graph, PageRank centrality measure approaches to nm CKatz as the number of steps approaches to infinity, where n is the number of nodes, m is the number of steps and CKatz is 1 the Katz centrality measure with α = d . 5. (Fast Algorithm to Calculate Shortest-Path-Betweenness Centrality Measure) Consider an arbitrary undirected graph G = (V; E).
    [Show full text]
  • Models for Networks with Consumable Resources: Applications to Smart Cities Hayato Montezuma Ushijima-Mwesigwa Clemson University, [email protected]
    Clemson University TigerPrints All Dissertations Dissertations 12-2018 Models for Networks with Consumable Resources: Applications to Smart Cities Hayato Montezuma Ushijima-Mwesigwa Clemson University, [email protected] Follow this and additional works at: https://tigerprints.clemson.edu/all_dissertations Recommended Citation Ushijima-Mwesigwa, Hayato Montezuma, "Models for Networks with Consumable Resources: Applications to Smart Cities" (2018). All Dissertations. 2284. https://tigerprints.clemson.edu/all_dissertations/2284 This Dissertation is brought to you for free and open access by the Dissertations at TigerPrints. It has been accepted for inclusion in All Dissertations by an authorized administrator of TigerPrints. For more information, please contact [email protected]. Models for Networks with Consumable Resources: Applications to Smart Cities A Dissertation Presented to the Graduate School of Clemson University In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy Computer Science by Hayato Ushijima-Mwesigwa December 2018 Accepted by: Dr. Ilya Safro, Committee Chair Dr. Mashrur Chowdhury Dr. Brian Dean Dr. Feng Luo Abstract In this dissertation, we introduce different models for understanding and controlling the spreading dynamics of a network with a consumable resource. In particular, we consider a spreading process where a resource necessary for transit is partially consumed along the way while being refilled at special nodes on the network. Examples include fuel consumption of vehicles together with refueling stations, information loss during dissemination with error correcting nodes, consumption of ammunition of military troops while moving, and migration of wild animals in a network with a limited number of water-holes. We undertake this study from two different perspectives. First, we consider a network science perspective where we are interested in identifying the influential nodes, and estimating a nodes’ relative spreading influence in the network.
    [Show full text]
  • Katz Centrality for Directed Graphs • Understand How Katz Centrality Is an Extension of Eigenvector Centrality to Learning Directed Graphs
    Prof. Ralucca Gera, [email protected] Applied Mathematics Department, ExcellenceNaval Postgraduate Through Knowledge School MA4404 Complex Networks Katz Centrality for directed graphs • Understand how Katz centrality is an extension of Eigenvector Centrality to Learning directed graphs. Outcomes • Compute Katz centrality per node. • Interpret the meaning of the values of Katz centrality. Recall: Centralities Quality: what makes a node Mathematical Description Appropriate Usage Identification important (central) Lots of one-hop connections The number of vertices that Local influence Degree from influences directly matters deg Small diameter Lots of one-hop connections The proportion of the vertices Local influence Degree centrality from relative to the size of that influences directly matters deg C the graph Small diameter |V(G)| Lots of one-hop connections A weighted degree centrality For example when the Eigenvector centrality to high centrality vertices based on the weight of the people you are (recursive formula): neighbors (instead of a weight connected to matter. ∝ of 1 as in degree centrality) Recall: Strongly connected Definition: A directed graph D = (V, E) is strongly connected if and only if, for each pair of nodes u, v ∈ V, there is a path from u to v. • The Web graph is not strongly connected since • there are pairs of nodes u and v, there is no path from u to v and from v to u. • This presents a challenge for nodes that have an in‐degree of zero Add a link from each page to v every page and give each link a small transition probability controlled by a parameter β. u Source: http://en.wikipedia.org/wiki/Directed_acyclic_graph 4 Katz Centrality • Recall that the eigenvector centrality is a weighted degree obtained from the leading eigenvector of A: A x =λx , so its entries are 1 λ Thoughts on how to adapt the above formula for directed graphs? • Katz centrality: ∑ + β, Where β is a constant initial weight given to each vertex so that vertices with zero in degree (or out degree) are included in calculations.
    [Show full text]
  • A Systematic Survey of Centrality Measures for Protein-Protein
    Ashtiani et al. BMC Systems Biology (2018) 12:80 https://doi.org/10.1186/s12918-018-0598-2 RESEARCHARTICLE Open Access A systematic survey of centrality measures for protein-protein interaction networks Minoo Ashtiani1†, Ali Salehzadeh-Yazdi2†, Zahra Razaghi-Moghadam3,4, Holger Hennig2, Olaf Wolkenhauer2, Mehdi Mirzaie5* and Mohieddin Jafari1* Abstract Background: Numerous centrality measures have been introduced to identify “central” nodes in large networks. The availability of a wide range of measures for ranking influential nodes leaves the user to decide which measure may best suit the analysis of a given network. The choice of a suitable measure is furthermore complicated by the impact of the network topology on ranking influential nodes by centrality measures. To approach this problem systematically, we examined the centrality profile of nodes of yeast protein-protein interaction networks (PPINs) in order to detect which centrality measure is succeeding in predicting influential proteins. We studied how different topological network features are reflected in a large set of commonly used centrality measures. Results: We used yeast PPINs to compare 27 common of centrality measures. The measures characterize and assort influential nodes of the networks. We applied principal component analysis (PCA) and hierarchical clustering and found that the most informative measures depend on the network’s topology. Interestingly, some measures had a high level of contribution in comparison to others in all PPINs, namely Latora closeness, Decay, Lin, Freeman closeness, Diffusion, Residual closeness and Average distance centralities. Conclusions: The choice of a suitable set of centrality measures is crucial for inferring important functional properties of a network.
    [Show full text]
  • An Axiom System for Feedback Centralities
    Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence (IJCAI-21) An Axiom System for Feedback Centralities Tomasz W ˛as∗ , Oskar Skibski University of Warsaw {t.was, o.skibski}@mimuw.edu.pl Abstract Centrality General axioms EC _ EM CY _ BL Eigenvector LOC ED NC EC CY In recent years, the axiomatic approach to central- Katz LOC ED NC EC BL ity measures has attracted attention in the literature. Katz prestige LOC ED NC EM CY However, most papers propose a collection of ax- PageRank LOC ED NC EM BL ioms dedicated to one or two considered centrality measures. In result, it is hard to capture the differ- Table 1: Our characterizations based on 7 axioms: Locality (LOC), ences and similarities between various measures. Edge Deletion (ED), Node Combination (NC), Edge Compensation In this paper, we propose an axiom system for four (EC), Edge Multiplication (EM), Cycle (CY) and Baseline (BL). classic feedback centralities: Eigenvector central- ity, Katz centrality, Katz prestige and PageRank. ties, while based on the same principle, differ in details which We prove that each of these four centrality mea- leads to diverse results and often opposite conclusions. sures can be uniquely characterized with a subset In recent years, the axiomatic approach has attracted at- of our axioms. Our system is the first one in the lit- tention in the literature [Boldi and Vigna, 2014; Bloch et al., erature that considers all four feedback centralities. 2016]. This approach serves as a method to build theoret- ical foundations of centrality measures and to help in mak- ing an informed choice of a measure for an application at 1 Introduction hand.
    [Show full text]
  • Utilizing the Simple Graph Convolutional Neural Network As a Model for Simulating Infuence Spread in Networks
    Mantzaris et al. Comput Soc Netw (2021) 8:12 https://doi.org/10.1186/s40649-021-00095-y RESEARCH Open Access Utilizing the simple graph convolutional neural network as a model for simulating infuence spread in networks Alexander V. Mantzaris1* , Douglas Chiodini1 and Kyle Ricketson2 *Correspondence: [email protected] Abstract 1 Department of Statistics The ability for people and organizations to connect in the digital age has allowed the and Data Science, University of Central Florida (UCF), growth of networks that cover an increasing proportion of human interactions. The 4000 Central Florida Blvd, research community investigating networks asks a range of questions such as which Orlando 32816, USA participants are most central, and which community label to apply to each mem- Full list of author information is available at the end of the ber. This paper deals with the question on how to label nodes based on the features article (attributes) they contain, and then how to model the changes in the label assignments based on the infuence they produce and receive in their networked neighborhood. The methodological approach applies the simple graph convolutional neural network in a novel setting. Primarily that it can be used not only for label classifcation, but also for modeling the spread of the infuence of nodes in the neighborhoods based on the length of the walks considered. This is done by noticing a common feature in the formulations in methods that describe information difusion which rely upon adjacency matrix powers and that of graph neural networks. Examples are provided to demonstrate the ability for this model to aggregate feature information from nodes based on a parameter regulating the range of node infuence which can simulate a process of exchanges in a manner which bypasses computationally intensive stochas- tic simulations.
    [Show full text]
  • Arxiv:2105.01931V2 [Physics.Soc-Ph] 24 May 2021 Barrat Et Al., 2008; Boccaletti Et Al., 2006; Albert and Barab´Asi, 2002)
    Centralities in complex networks Alexandre Bovet1, ∗ and Hern´anA. Makse2, y 1Mathematical Institute, University of Oxford, United Kingdom 2Levich Institute and Physics Department, City College of New York, New York, NY 10031, USA I. GLOSSARY NetworkA network is a collection of nodes (also called vertices) and edges (also called links) linking pair of nodes. Mathematically, it is represented by a graph G = (V; E) where V is the set of nodes and E ⊆ V × V is the set of edges. Additional information can be attached to each node or edge, for example edges can have different weights. Edges can be undirected or directed. Adjacency matrix The adjacency matrix, A, of a network is a N × N matrix (N = jV j) with element Aij = 1 if there is an edge from node i and to node j and Aij = 0 otherwise. If the network is weighted, Aij = wij where wij 2 R is the weight associated with the edge between nodes i and j if it exists and Aij = 0 otherwise. For undirected network, Aij = Aji, i.e. A is symmetric. Degree of a node The degree, ki, of node i in an undirected network is equal to its number of connections, i.e. P in P ki = j Aij. For directed network, we differentiate the in-degree, ki = j Aji and the out- out P degree, ki = j Aij, i.e. the number of edges in-coming to node i and out-coming from node i, respectively. In weighted undirected networks, the degree of a node is replaced by its strength, P si = j wij or in-strength and out-strength for weighted directed networks.
    [Show full text]
  • Pagerank Centrality and Algorithms for Weighted, Directed Networks with Applications to World Input-Output Tables
    PageRank centrality and algorithms for weighted, directed networks with applications to World Input-Output Tables Panpan Zhanga, Tiandong Wangb, Jun Yanc aDepartment of Biostatistics, Epidemiology and Informatics, University of Pennsylvania, Philadelphia, 19104, PA, USA bDepartment of Statistics, Texas A&M University, College Station, 77843, TX, USA cDepartment of Statistics, University of Connecticut, Storrs, 06269, CT, USA Abstract PageRank (PR) is a fundamental tool for assessing the relative importance of the nodes in a network. In this paper, we propose a measure, weighted PageRank (WPR), extended from the classical PR for weighted, directed networks with possible non-uniform node-specific information that is dependent or independent of network structure. A tuning parameter leveraging node degree and strength is introduced. An efficient algorithm based on R pro- gram has been developed for computing WPR in large-scale networks. We have tested the proposed WPR on widely used simulated network models, and found it outperformed other competing measures in the literature. By applying the proposed WPR to the real network data generated from World Input-Output Tables, we have seen the results that are consistent with the global economic trends, which renders it a preferred measure in the analysis. Keywords: node centrality, weighted directed networks, weighted PageRank, World Input-Output Tables 2008 MSC: 91D03, 05C82 1. Introduction Centrality measures are widely accepted tools for assessing the relative importance of the entities in networks. A variety of centrality measures have been developed in the literature, including position/degree centrality [1], closeness centrality [2], betweenness centrality [2], eigenvector centrality [3], Katz centrality [4], and PageRank [5], among others.
    [Show full text]
  • Networks Beyond Pairwise Interactions: Structure and Dynamics
    Networks beyond pairwise interactions: structure and dynamics Federico Battiston, Giulia Cencetti, Iacopo Iacopini, Vito Latora, Maxime Lucas, Alice Patania, Jean-Gabriel Young, Giovanni Petri To cite this version: Federico Battiston, Giulia Cencetti, Iacopo Iacopini, Vito Latora, Maxime Lucas, et al.. Networks beyond pairwise interactions: structure and dynamics. Physics Reports, Elsevier, 2020, 874, pp.1-92. 10.1016/j.physrep.2020.05.004. hal-03094211 HAL Id: hal-03094211 https://hal.archives-ouvertes.fr/hal-03094211 Submitted on 4 Jan 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Networks beyond pairwise interactions: structure and dynamics Federico Battiston∗ Department of Network and Data Science, Central European University, Budapest 1051, Hungary Giulia Cencetti Mobs Lab, Fondazione Bruno Kessler, Via Sommarive 18, 38123, Povo, TN, Italy Iacopo Iacopini School of Mathematical Sciences, Queen Mary University of London, London E1 4NS, United Kingdom and Centre for Advanced Spatial Analysis, University College London, London, W1T 4TJ,
    [Show full text]
  • 2-Centrality, Similarity
    COMPLEX NETWORKS Centrality measures NODE • We can measure nodes importance using so-called centrality. • Bad term: nothing to do with being central in general • Usage: ‣ Some centralities have straightforward interpretation ‣ Centralities can be used as node features for machine learning on graph - (Classification, link prediction, …) Connectivity based centrality measures Degree centrality - recap Number of connections of a node • Undirected network N 2 1 ki = Ai1 + Ai2 + ... + AiN = Aij j X 3 ki m = i where m = E 2 | | 3 1 P 1 N 1 mean degree k = k h i N i 2 i • Directed network X 2 N 0 in In degree ki = Aij 1 j X 3 1 1 N out Out degree kj = Aij 0 i X 1 1 N N m = kin = kout = A 2 i j ij i j ij 0 X X X 1 0 1 N 1 N kin = kin = kout = kout h i N i N j h i i=1 j=1 3 X X NODE DEGREE • Degree: how many neighbors • Often enough to find important nodes ‣ Main characters of a series talk with the more people ‣ Largest airports have the most connections ‣ … • But not always ‣ Facebook users with the most friends are spam ‣ Webpages/wikipedia pages with most links are simple lists of references ‣ … NODE CLUSTERING COEFFICIENT • Clustering coefficient: closed triangles/triads • Tells you if the neighbors of the node are connected • Be careful! ‣ Degree 2: value 0 or 1 ‣ Degree 1000: Not 0 or 1 (usually) ‣ Ranking them is not meaningful • Can be used as a proxy for “communities” belonging: ‣ If node belong to single group: high CC ‣ If node belong to several groups: lower CC RECURSIVE DEFINITIONS • Recursive importance: ‣ Important nodes are those connected to important nodes • Several centralities based on this idea: ‣ Eigenvector centrality ‣ PageRank ‣ Katz centrality ‣ … RECURSIVE DEFINITION and PageRank.
    [Show full text]
  • VRDI 2019 Networks Breakout Day 1: Metrics and Measures
    VRDI 2019 Networks Breakout Day 1: Metrics and Measures Daryl DeFord June 24, 2019 1 Introduction The purpose of this session is to introduce you to the types of questions that mathematicians ask about graphs and networks. In particular, we are examining the different types of integer and real valued functions that are used to measure properties of a given graph. One of the interesting features that we will observe is how the questions that we ask distinguish the fields of graph theory and network science from each other, even when we are computing the same metrics. 2 Glossary of Graph Measures It is useful to establish some notation and definitions so that we are all on the same page. • We start by introducing some terminology: { A graph will be represented G = (V; E) with jV j = n and jEj = m { We will use nodes or vertices to refer to elements of the set V { We will use edges or arcs to refer to elements of the set E { Two vertices are neighbors if there is an edge connecting them { A vertex and edge are incident if the vertex is one endpoint of the edge • It is helpful to define some commonly studied types of graphs: { A directed graph has oriented edges { A multi- graph allows multiple edges between pairs of nodes { A tree is a connected graph with no cycles. { A spanning tree of a given graph is a subset of the edges whose induced subgraph forms a tree. { The vertices of a bipartite graph can be partitioned into two sets, so that no edges connect vertices that belong to the same set.
    [Show full text]
  • Characterizing the Interactions Between Classical and Community
    www.nature.com/scientificreports OPEN Characterizing the interactions between classical and community‑aware centrality measures in complex networks Stephany Rajeh *, Marinette Savonnet, Eric Leclercq & Hocine Cherif Identifying vital nodes in networks exhibiting a community structure is a fundamental issue. Indeed, community structure is one of the main properties of real‑world networks. Recent works have shown that community‑aware centrality measures compare favorably with classical measures agnostic about this ubiquitous property. Nonetheless, there is no clear consensus about how they relate and in which situation it is better to use a classical or a community‑aware centrality measure. To this end, in this paper, we perform an extensive investigation to get a better understanding of the relationship between classical and community‑aware centrality measures reported in the literature. Experiments use artifcial networks with controlled community structure properties and a large sample of real‑ world networks originating from various domains. Results indicate that the stronger the community structure, the more appropriate the community‑aware centrality measures. Furthermore, variations of the degree and community size distribution parameters do not afect the results. Finally, network transitivity and community structure strength are the most signifcant drivers controlling the interactions between classical and community‑aware centrality measures. Interactions between entities are pervasive in social, technological, infrastructural, information, and biological systems. Identifying infuential nodes in those networks is a crucial problem. Indeed, multitude of applications exist compassing from combating epidemic outbreaks1, detecting essential proteins2, predicting contagions in animal groups3, to estimating robustness of infrastructure networks4, planning landscapes5, improving routing efciency on the internet6, understanding information difusion 7 and many other more 8,9.
    [Show full text]