Statistical Analysis of Network Data

Similar documents
Statistical and computational challenges in networks and cybersecurity

Protein Protein Interaction Networks

Practical Graph Mining with R. 5. Link Analysis

Network Analysis. BCH 5101: Analysis of -Omics Data 1/34

Statistical Models in Data Mining

An Overview of Knowledge Discovery Database and Data mining Techniques

Multivariate Normal Distribution

Analysis of Internet Topologies

Principles of Data Mining by Hand&Mannila&Smyth

Sampling Biases in IP Topology Measurements

Linear Programming I

Distance Degree Sequences for Network Analysis

IJCSES Vol.7 No.4 October 2013 pp Serials Publications BEHAVIOR PERDITION VIA MINING SOCIAL DIMENSIONS

Big Data Analytics of Multi-Relationship Online Social Network Based on Multi-Subnet Composited Complex Network

Part 2: Community Detection

Service courses for graduate students in degree programs other than the MS or PhD programs in Biostatistics.

Walk-Based Centrality and Communicability Measures for Network Analysis

Statistics Graduate Courses

Subgraph Patterns: Network Motifs and Graphlets. Pedro Ribeiro

Introduction to nonparametric regression: Least squares vs. Nearest neighbors

Exponential Random Graph Models for Social Network Analysis. Danny Wyatt 590AI March 6, 2009

Graph Mining and Social Network Analysis

Graph theoretic approach to analyze amino acid network

How To Run Statistical Tests in Excel

Performance Metrics for Graph Mining Tasks

USE OF EIGENVALUES AND EIGENVECTORS TO ANALYZE BIPARTIVITY OF NETWORK GRAPHS

Network (Tree) Topology Inference Based on Prüfer Sequence

Why Taking This Course? Course Introduction, Descriptive Statistics and Data Visualization. Learning Goals. GENOME 560, Spring 2012

1. Introduction Gene regulation Genomics and genome analyses Hidden markov model (HMM)

DATA ANALYSIS II. Matrix Algorithms

An Order-Invariant Time Series Distance Measure [Position on Recent Developments in Time Series Analysis]

Access Code: RVAE4-EGKVN Financial Aid Code: 6A9DB-DEE3B-74F

LABEL PROPAGATION ON GRAPHS. SEMI-SUPERVISED LEARNING. ----Changsheng Liu

Introduction to Data Mining

HT2015: SC4 Statistical Data Mining and Machine Learning

Data Science Center Eindhoven. Big Data: Challenges and Opportunities for Mathematicians. Alessandro Di Bucchianico

Bioinformatics: Network Analysis

The Basics of Graphical Models

South Carolina College- and Career-Ready (SCCCR) Probability and Statistics

Social Media Mining. Network Measures

How To Understand The Theory Of Probability

Learning outcomes. Knowledge and understanding. Competence and skills

Social Media Mining. Graph Essentials

How To Get A Computer Science Degree At Appalachian State

A Brief Introduction to Property Testing

Course: Model, Learning, and Inference: Lecture 5

How To Cluster Of Complex Systems

2DI36 Statistics. 2DI36 Part II (Chapter 7 of MR)

Data, Measurements, Features

Equivalence Concepts for Social Networks

BASIC STATISTICAL METHODS FOR GENOMIC DATA ANALYSIS

Traffic Prediction in Wireless Mesh Networks Using Process Mining Algorithms

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

Current Standard: Mathematical Concepts and Applications Shape, Space, and Measurement- Primary

KATE GLEASON COLLEGE OF ENGINEERING. John D. Hromi Center for Quality and Applied Statistics

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

Final Project Report

Complex Networks Analysis: Clustering Methods

Gerry Hobbs, Department of Statistics, West Virginia University

CHAPTER 1 INTRODUCTION

. Learn the number of classes and the structure of each class using similarity between unlabeled training patterns

Non-negative Matrix Factorization (NMF) in Semi-supervised Learning Reducing Dimension and Maintaining Meaning

Exploratory Spatial Data Analysis

Practical statistical network analysis (with R and igraph)

A SOCIAL NETWORK ANALYSIS APPROACH TO ANALYZE ROAD NETWORKS INTRODUCTION

Solving Simultaneous Equations and Matrices

Unsupervised Outlier Detection in Time Series Data

High-dimensional labeled data analysis with Gabriel graphs

Faculty of Science School of Mathematics and Statistics

The Open University s repository of research publications and other research outputs

Formulations of Model Predictive Control. Dipartimento di Elettronica e Informazione

General Network Analysis: Graph-theoretic. COMP572 Fall 2009

Common Core Unit Summary Grades 6 to 8

SGL: Stata graph library for network analysis

A discussion of Statistical Mechanics of Complex Networks P. Part I

USING SPECTRAL RADIUS RATIO FOR NODE DEGREE TO ANALYZE THE EVOLUTION OF SCALE- FREE NETWORKS AND SMALL-WORLD NETWORKS

Graphical Modeling for Genomic Data

Evaluation & Validation: Credibility: Evaluating what has been learned

The Scientific Data Mining Process

Big Data: a new era for Statistics

How To Understand Multivariate Models

The Master s Degree with Thesis Course Descriptions in Industrial Engineering

Analysis of Internet Topologies: A Historical View

Graph Mining Techniques for Social Media Analysis

Cluster Analysis: Advanced Concepts

B490 Mining the Big Data. 2 Clustering

How To Write A Data Analysis

Mining Social-Network Graphs

Data Mining: Algorithms and Applications Matrix Math Review

Reputation Management Algorithms & Testing. Andrew G. West November 3, 2008

Comparing Functional Data Analysis Approach and Nonparametric Mixed-Effects Modeling Approach for Longitudinal Data Analysis

QUALITY ENGINEERING PROGRAM

Drawing a histogram using Excel

Transcription:

Statistical Analysis of Network Data A Brief Overview Eric D. Kolaczyk Dept of Mathematics and Statistics, Boston University kolaczyk@bu.edu

Introduction Focus of this Talk In this talk I will present a brief overview of the foundations common to the statistical analysis of network data across the disciplines, from a statistical perspective. Approach will be that of a high-level, whirlwind overview of the topics of network summary and visualization network sampling network modeling and inference, and network processes. Concepts will be illustrated drawing on examples from bioinformatics, computer network traffic analysis, neuroscience, and social networks.

ISBN 978-1-4939-0982-7 Introduction Resources Organization and presentation of material in this quick talk will largely parallel that in USE R! UseR! Use R! Eric Kolaczyk Gábor Csárdi Statistical Analysis of Network Data with R Th is book is the first of its kind in network research. It can be used as a stand-alone resource in which multiple R packages are used to illustrate how to use the base code for many tasks. igraph is the central package and has created a standard for developing and manipulating network graphs in R. Measurement and analysis are integral components of network research. As a result, there is a critical need for all sorts of statistics for network analysis, ranging from applications to methodology and theory. Networks have permeated everyday life through everyday realities like the Internet, social networks, and viral marketing, and as such, network analysis is an important growth area in the quantitative sciences. Their roots are in social network analysis going back to the 1930s and graph theory going back centuries. This text also builds on Eric Kolaczyk s book Statistical Analysis of Network Data (Springer, 2009). Eric Kolaczyk is a professor of statistics, and Director of the Program in Statistics, in the Department of Mathematics and Statistics at Boston University, where he also is an affiliated faculty member in the Bioinformatics Program, the Division of Systems Engineering, and the Program in Computational Neuroscience. His publications on network-based topics, beyond the development of statistical methodology and theory, include work on applications ranging from the detection of anomalous traffic patterns in computer networks to the prediction of biological function in networks of interacting proteins to the characterization of influence of groups of actors in social networks. He is an elected fellow of the American Statistical Association (ASA) and an elected senior member of the Institute of Electrical and Electronics Engineers (IEEE). Gábor Csárdi is a research associate at the Department of Statistics at Harvard University, Cambridge, Mass. He holds a PhD in Computer Science from Eötvös University, Hungary. His research includes applications of network analysis in biology and social sciences, bioinformatics and computational biology, and graph algorithms. He created the igraph software package in 2005 and has been one of the lead developers since then. Statistics Kolaczyk Csárdi 1 Statistical Analysis of Network Data with R Eric Kolaczyk Gábor Csárdi Statistical Analysis of Network Data with R 9 781493 909827

Introduction Our Focus... The statistical analysis of network data i.e., analysis of measurements either of or from a system conceptualized as a network. Challenges: relational aspect to the data; complex statistical dependencies (often the focus!); high-dimensional and often massive in quantity.

Network Mapping Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Network Mapping Descriptive Statistics for Networks First two topics go together naturally, i.e., network mapping characterization of network graphs May seem soft... but it s important! This is basically descriptive statistics for networks. Probably constitutes at least 2/3 of the work done in this area. Note: It s sufficiently different from standard descriptive statistics that it s something unto itself.

Network Mapping Network Mapping What is network mapping? Production of a network-based visualization of a complex system. What is the network? Network as a system of interest; Network as a graph representing the system; Network as a visual object. Analogue: Geography and the production of cartographic maps.

Network Mapping Example: Mapping Belgium Which of these is the Belgium?

Network Mapping Three Stages of Network Mapping Question: What is the impact on network visualization of differential privacy applied at these various stages?

Network Characterization Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Network Characterization Characterization of Network Graphs: Intro Given a network graph representation of a system (i.e., perhaps a result of network mapping), often questions of interest can be phrased in terms of structural properties of the graph. social dynamics can be connected to patterns of edges among vertex triples; routes for movement of information can be approximated by shortest paths between vertices; importance of vertices can be captured through so-called centrality measures; natural groups/communities of vertices can be approached through graph partitioning.

Network Characterization Characterization Intro (cont.) Structural analysis of network graphs descriptive analysis; this is a standard first (and sometimes only!) step in statistical analysis of networks. Main contributors of tools are social network analysis, mathematics & computer science, statistical physics Many tools out there... two rough classes include characterization of vertices/edges, and characterization of network cohesion.

Network Characterization Characterization of Vertices/Edges Examples include Degree distribution Vertex/edge centrality Role/positional analysis We ll look at the vertex centrality as an example.

Network Characterization Centrality: Motivation Many questions related to importance of vertices. Which actors hold the reins of power? How authoritative is a WWW page considered by peers? The deletions of which genes is more likely to be lethal? How critical to traffic flow is a given Internet router? Researchers have sought to capture the notion of vertex importance through so-called centrality measures.

Network Characterization Centrality: An Illustration Clockwise from top left: (i) toy graph, with (ii) closeness, (iii) betweenness, and (iv) eigenvector centralities. Example and figures courtesy of Ulrik Brandes.

Network Characterization Network Cohesion: Motivation Many questions involve scales coarser than just individual vertices/edges. More properly considered questions regarding cohesion of network. Do friends of actors tend to be friends themselves? Which proteins are most similar to each other? Does the WWW tend to separate according to page content? What proportion of the Internet is constituted by the backbone? These questions go beyond individual vertices/edges.

Network Characterization Network Cohesion: Various Notions! Various notions of cohesion. density clustering connectivity flow partitioning... and more...

Network Characterization Illustration: Detecting Malicious Internet Sources Source/Destination Network Ding et al. a use the idea of cutvertices to detect Internet IP addresses associated with malicious behavior. Projected Source Network Corresponds to a type of (anti)social behavior. a Ding, Q., Katenka, N., Barford, P., Kolaczyk, E.D., and Crovella, M. (2012). Intrusion as (Anti)social Communication: Characterization and Detection. Proceedings of the 2012 ACM SIGKDD Conference on Knowledge Discovery and Data Mining.

Network Sampling Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Network Sampling Network Sampling: Point of Departure... Common modus operandi in network analysis: System of elements and their interactions is of interest. Collect elements and relations among elements. Represent the collected data via a network. Characterize properties of the network. Sounds good... right?

Network Sampling Interpretation: Two Scenarios With respect to what frame of reference are the network characteristics interpreted? 1 The collected network data are themselves the primary object of interest. 2 The collected network data are interesting primarily as representative of an underlying true network. The distinction is important! Under Scenario 2, statistical sampling theory becomes relevant... but is not trivial.

Network Sampling Common Network Sampling Designs Viewed from the perspective of classical statistical sampling theory, the network sampling design is important. Examples include Induced Subgraph Sampling Incident Subgraph Sampling Snowball Sampling Link Tracing

Network Sampling Common Network Sampling Designs (cont.) Induced Subgraph Sampling Incident Subgraph Sampling s1 s2 t1 Snowball Sampling Traceroute Sampling t2

Network Sampling Caveat emptor... Completely ignoring sampling issues is equivalent to using plug-in estimators. The resulting bias(es) can be both substantial and unpredictable! BA PPI AS arxiv Degree Exponent = = = Average Path Length = Betweenness = = = Assortativity = = = = = = = = Clustering Coefficient = = Lee et al (2006): Entries indicate direction of bias for induced subgraph (red), incident subgraph (green), and snowball (blue) sampling.

Network Sampling Accounting for Sampling Design Accounting for sampling design can be non-trivial. Classical work goes back to the 1970 s (at least), with contributions of Frank and colleagues, based mainly on Horvitz-Thompson theory. More recent resurgence of interest, across communities, has led to additional studies using both classical and modern tools. See Kolaczyk (2009), Chapter 5.

Network Sampling Illustration: Estimation of Degree Distribution Under a variety of sampling designs, the following holds: where E[N ] = PN, (1) N = (N 0, N 1,..., N M ): the true degree vector, for N i : the number of vertices with degree i in the original graph N = (N0, N 1,..., N M ): the observed degree vector, for : the number of vertices with degree i in the sampled graph N i P is an M + 1 by M + 1 matrix operator, where M = maximum degree in the original graph

Network Sampling Estimating Degree Distribution: An Inverse Problem Ove Frank (1978) proposed solving for the degree distribution by an unbiased estimator of N, defined as ˆN naive = P 1 N. (2) There are two problems with this simple solution: 1 The matrix P is typically not invertible in practice. 2 The non-negativity of the solution is not guaranteed.

Network Sampling Does It Really Matter? Yes! True Degree Sequence Naive Estimated Degree Sequence Number of vertices 0 5 10 15 20 Number of vertices 600 400 200 0 200 400 0 3 6 9 13 17 21 0 3 6 9 13 17 21 Degree Degree Figure : Left: ER graph with 100 vertices and 500 edges. Right: Naive estimate of degree distribution, according to equation (2). Data drawn according to induced subgraph sampling with sampling rate p = 60%.

Network Sampling A Modern Variant: Constrained, Penalized WLS We have recently proposed 1 a penalized weighted least squares with additional constraints. where minimize N subject to C = Cov(N ), (PN N ) T C 1 (PN N ) + λ pen(n) N i 0, i = 0, 1,... M M N i = n v, i=0 pen(n) is a penalty on the complexity of N, λ is a smoothing parameter, and n v is the total number of vertices of the true graph. 1 Zhang, Y., Kolaczyk, E.D., and Spencer, B.D. (2013). Estimating network degree distributions under sampling: an inverse problem, with applications to monitoring social media networks. Under review by Annals of Applied Statistics. arxiv-1305.4977 (3)

Network Sampling Application to Online Social Networks Friendster cmty 1 5 Friendster cmty 6 15 Friendster cmty 16 30 log2(freq) log2(freq) log2(freq) 5 10 15 0 5 10 log2(degree) Orkut cmty 1 5 5 10 15 0 5 10 log2(degree) LiveJournal cmty 1 5 5 10 15 0 5 10 log2(degree) log2(freq) log2(freq) log2(freq) 5 10 15 0 5 10 log2(degree) Orkut cmty 6 15 5 10 15 0 5 10 log2(degree) LiveJournal cmty 6 15 5 10 15 0 5 10 log2(degree) log2(freq) log2(freq) log2(freq) 5 10 15 0 5 10 log2(degree) Orkut cmty 16 30 5 10 15 0 5 10 log2(degree) LiveJournal cmty 16 30 5 10 15 0 5 10 log2(degree) Figure : Estimating degree distributions of communities from Friendster, Orkut and Livejournal. Blue dots represent the true degree distributions, black dots represent the sample degree distributions, red dots represent the estimated degree distributions. Sampling rate=30%. Dots which correspond to a density < 10 4 are eliminated from the plot.

Network Sampling Estimating Approximate Epidemic Thresholds: Friendster Moments of degree distributions can be used to obtain bounds of the network s epidemic threshold τ c. Friendster cmty 1 5 0.03 0.03 0.025 0.025 Friendster cmty 6 15 Friendster cmty 16 30 0.03 0.025 An approximate threshold is give by the inverse of the largest eigenvalue λ 1 of the adjacency matrix (Mieghem, Omic, & Kooij 09). 0.02 0.015 0.01 0.005 0.02 0.015 0.01 0.005 0.02 0.015 0.01 0.005 Simple bounds for λ 1 are M 1 M 2 λ 1 (2N e ) 1/2 (4) 0 1 / M 1 1/ M 2 1 / E 0 1 / M 1 1/ M 2 1 / E 0 1 / M 1 1/ M 2 Figure : Estimated bounds for epidemic threshold in Friendster, based on 20 samples. Four horizontal lines are the true values for 1 M2, 1 λ 1 and 1 2Ne from top to bottom. 1 / E 1 M 1,

Network Modeling Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Network Modeling 2 A third option, that we observe attributes X, but lack some or all of the network G, and we wish to infer G, is usually called network topology inference, which we ll talk about last. Two Scenarios We will look at two complementary scenarios 2 : 1 we observe a network G (and possibly attributes X) and we wish to model G (and X); 2 we observe the network G, but lack some or all of the attributes X, and we wish to infer X. These are, of course, caricatures. Reality can be more complex!

Network Modeling High Standards Statisticians demand a great deal of their modeling: 1 theoretically plausible 2 estimable from data 3 computationally feasible estimation strategies 4 quantification of uncertainty in estimates (e.g., confidence intervals) 5 assessment of goodness-of-fit 6 understanding of the statistical properties of the overall procedure Still have a long way to go in the context of networks!

Network Modeling Classes of Statistical Network Models Roughly speaking, there are network-based versions of three canonical classes of statistical models: 1 regression models (i.e., ERGMs) 2 latent variable models (i.e., latent network models) 3 mixture models 3 (i.e., stochastic blocks models) 3 These may be viewed as a special case of latent variable models.

Network Modeling Statistical Network Models: Progress and Challenges This is one of the most active areas of research in statistics and networks. Most work in ERGMs and SBMs. A few high-level comments: ERGMS have the largest body of work associated with them...... but they also arguably have the greatest number of problems (i.e., degeneracy, instability, problems under sampling, as well as the least supporting formal theory). SBMs arguably have the most extensive theoretical development (i.e., fully general formulation, consistency and asymptotic normality of parameter estimates, etc.)...... but they can be still too simple for many modeling situations, and lack the link to regression possessed by ERGMs.

Network Modeling Processes on Network Graphs So far we have focused on network graphs, as representations of network systems of elements and their interactions. But often it is some quantity associated with the elements that is of most interest, rather than the network per se. Nevertheless, such quantities may be influenced by the interactions among elements. Examples: Behaviors and beliefs influenced by social interactions. Functional role of proteins influenced by their sequence similarity. Computer infections by viruses may be affected by proximity to infected computers.

Network Modeling Illustration: Predicting Signaling in Yeast Baker s yeast (i.e., S. cerevisiae) All proteins known to participate in cell communication and their interactions Question: Is knowledge of the function of a protein s neighbors predictive of that protein s function? In fact... yes!

Network Modeling A Simple Approach: Nearest-Neighbor Prediction Egos w/ ICSC A simple predictive algorithm uses nearest neighbor principles. Frequency 0 5 15 25 0.0 0.2 0.4 0.6 0.8 1.0 Proportion Neighbors w/ ICSC Egos w/out ICSC Let X i = { 1, if corporate 0, if litigation Frequency 0 5 15 25 0.0 0.2 0.4 0.6 0.8 1.0 Proportion Neighbors w/ ICSC Compare j N i x j N i to a threshold.

Network Modeling Modeling Static Network-Indexed Processes The nearest-neighbor algorithm (also sometimes called guilt-by-association ), although seemingly informal, can be quite competitive with more formal, model-based methods. Various models have been proposed for static network-indexed processes. Two commonly used classes/paradigms: Markov random field (MRF) models = Extends ideas from spatial/lattice modeling. Kernel-learning regression models = Key innovation is construction of graph kernels

Network Inference Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Network Inference Network Topology Inference Recall our characterization of network mapping, as a three-stage process involving 1 Collecting relational data 2 Constructing a network graph representation 3 Producing a visualization of that graph Network topology inference is the formalization of Step 2 as a task in statistical inference. Note: Casting the task this way also allows us to formalize the question of validation.

Network Inference Network Topology Inference (cont.) There are many variants of this problem! Three general, and fairly broadly applicable, versions are Link prediction Association network inference Tomographic network inference

Network Inference Schematic Comparison of Inference Problems Original Network Link Prediction Assoc. Network Inf. Tomography

Network Inference Link Prediction: Examples Examples of link prediction include predicting new hyperlinks in the WWW assessing the reliability of declared protein interactions predicting international relations between countries

Network Inference Link Prediction: Problem & Solutions Goal is to predict the edge status Y miss for all potential edges with missing (i.e., unknown) status, based on observed status Y obs, and any other auxilliary information. Two main classes of methods proposed in the literature to date. Scoring methods Classification methods See Kolaczyk (2009), Chapter 7.2.

Network Inference Link Prediction: Illustration Number of Common Neighbors 0 5 10 15 20 25 30 35 No Edge Edge Scoring methods come in all shapes and sizes. Number of common neighbors a basic example. Sufficient here (in a network of blogs) to obtain substantial discrimination (e.g., AUC of 0.9 in leave-one-out prediction).

Wrap-Up Outline 1 Introduction 2 Network Mapping 3 Network Characterization 4 Network Sampling 5 Network Modeling 6 Network Inference 7 Wrap-Up

Wrap-Up Wrapping Up Lots of additional topics we have not touched upon: Dynamic networks Weighted networks Community detection Etc.

Wrap-Up Wrapping Up (cont.) Some of the things my group is working on currently include: Uncertainty in graph summary statistics under noisy conditions. Asymptotics for parameter estimation in network models. Estimation of degree distributions from sampled data. Bayesian latent-factor network perturbation models. Multi-attribute networks.