using complex networks for mobility modeling and opportunistic networking

36
Eurecom, Sophia-Antipolis Thrasyvoulos Spyropoulos / [email protected] Using Complex Networks for Mobility Modeling and Opportunistic Networking Thrasyvoulos (Akis) Spyropoulos EURECOM

Upload: weston

Post on 22-Feb-2016

55 views

Category:

Documents


0 download

DESCRIPTION

Using Complex Networks for Mobility Modeling and Opportunistic Networking. Thrasyvoulos ( Akis ) Spyropoulos EURECOM. Traffic Regulation. Economy. Architecture/ Urban Planning. Gaming. Mobility : Many domains. Network Design. Public Transport Design. user on the phone. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Eurecom, Sophia-AntipolisThrasyvoulos Spyropoulos / [email protected]

Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos (Akis) SpyropoulosEURECOM

Page 2: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Mobility: Many domainsTraffic Regulation

Architecture/ Urban Planning Economy

Gaming

Public Transport Design

user on the phone

Network Design

2

Page 3: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Rationale for Mobility Models Mobility Models are required for

Performance evaluation - Analytical

• A system dynamics must be tractable in order to derive characteristics of interest

- Simulations • Often used as an alternative when models are too complex (no analytical

derivation)• But still complementary to the analytical approach

- Trace-replaying and experiments

Solution design- Networking solutions should be designed according to their in situ

environment (i.e., mobility context and characteristics)

3

Page 4: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Aim at providing integrated communications (i.e., voice, video, and data) between nomadic subscribers in a seamless fashion

Input Arrival rate of new calls (traffic) Arrival rate of handoffs (mobility)

Output HLR load, probability of call rejection

Evaluation of Cellular Networks

Mobile userwill generate

handoffs

Mobile userGeneratesnew call

Mobile Switching

Center

VLR

HLR

Keeps currentUser location

4

Page 5: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Cisco: Global Mobile Data Traffic

The Mobile Internet

Exponential growth of demand in bandwidth

New technologies (LTE, other 4G)

Smaller cells (Femtocells)

Physical limits to capacity!?Cost??

Flash crowdsSparsely populated regionsNatural disasters

Connectivity anywhere, anytime is infeasible!

1018

5

Page 6: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Device-to-Device Communication (e.g. Bluetooth or WiFi Direct)

6

Page 7: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Data/Malware Spreading Over Opp. Nets

A

C

B

D

D

EF

D

D

D

D

Contact Process: Due to node mobility Q: How long until X% of nodes “infected”?

7

Page 8: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Opportunistic networks Connect devices to each other

Bluetooth, WiFi direct

It’s all about Contacts! Opportunities to exchange data

How do we route messages (unicast/multicast)? Whom do we trust? Where do we place services?

8

Page 9: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Understanding mobility is complex

9

Page 10: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Outline Motivation

Introduction to Mobility Modeling

Complex Network Analysis for Opportunistic Routing

Complex Network Properties of Human Mobility

Mobility Modeling using Complex Networks

Performance Analysis for Opportunistic Networks

10

Page 11: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Classification of Mobility Models Scale

Microscopic- accurately describes the motion of mobile individuals

Macroscopic- considers the displacement of mobile entities (e.g., pedestrians,

vehicles, animals) at a coarse grain, for example in the context of large geographic areas such as adjacent regions or cells

Inputs Standard Parameters: speed, direction, … Additional Inputs: map, topology, preferred/popular

locations… Behavioral: intention, social relations, time-of-day schedule,… Inherent Randomness: stochastic models (Markov, ODEs,

Queuing)

11

Page 12: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

I. Random Waypoint (RWP) Model 1. A node chooses a random destination anywhere in the

network field 2. The node moves towards that destination with a velocity

chosen randomly from [0, Vmax]3. After reaching the destination, the node stops for a duration

defined by the “pause time” parameter. 4. This procedure is repeated until the simulation ends Parameters: Pause time T, max velocity Vmax Comments:

- Speed decay problem, non-uniform node distribution- Variants: random walk, random direction, smooth random, ...

12

Page 13: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Random Way Point: Basics

13

Page 14: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

- 1- RWP leads to non-uniform distribution of nodes due to bias towards the center of the area, due to non-uniform direction selection. To remedy this the “random direction” mobility model can be chosen.

- 2- Average speed decays over time due to nodes getting ‘stuck’ at low speeds

14

Page 15: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

II. Random (RWK) Walk Model Similar to RWP but

Nodes change their speed/direction every time slot New direction is chosen randomly between (0,2] New speed chosen from uniform (or Gaussian) distribution When node reaches boundary it bounces back with (-)

15

Page 16: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Random Walk

16

Page 17: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Community-based Mobility (Spatial Preference) Multiple Communities (house, office, library, cafeteria) Time-dependency

House(C1)

Community (e.g. house, campus)

p11(i)

p12(i)

Rest of the network

p21(i)

OfficeC2

LibraryC3

p23(i)

p32(i)

17

Page 18: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Microscopic Models Quickly Get VERY complicated!

18

Page 19: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

A Macroscopic Mob. Model for Cell. Networks A simple handover model

cell -> state need to find transition probabilities depend on road structure, user

profile, statistics

user on the phone

Cellular Network

0.2

0.30.5

0.40.4

0.7

0.2

0.15

0.2

0.8

0.6

Markov Chain19

Page 20: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Opportunistic networks: Macroscopic View Connect devices to each other

Bluetooth, WiFi direct

It’s all about Contacts! Opportunities to exchange data

How do we route messages (unicast/multicast)? Whom do we trust? Where do we place services?

Contacts are driven by our mobility in a social context!

20

Page 21: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Outline Motivation

Introduction to Mobility Modeling

Complex Network Analysis for Opportunistic Routing

Complex Network Properties of Human Mobility

Mobility Modeling using Complex Networks

Performance Analysis for Opportunistic Networks

21

Page 22: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Human mobility not fully random: Patterns, Recurrence e.g. recent Barabasi’s Nature papers

Human mobility is heterogeneous Different neighbors, different numbers of neighbors

Infer Contact Pattern => Predict Future Contacts => Forward to node with Highest Delivery Probability

HOW??? (maybe?) recent contact with X => high prob. of

future contact with X [Lindgren et al. ’03, Dubois-Ferriere et al., ‘03] (maybe?) frequent contact with X => high prob. of

future contact with X [Burgess et al ’06] (maybe?) many total contacts (with anyone) => high

prob of future contact with any X [Spyropoulos et al. ’07, Erramilli et al. ‘08]

Opportunistic Routing: Contact Prediction

22

Page 23: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

The Contact Graph

Routing?

Trust?Content Placement?

Protocolperformance?

23

Page 24: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

SimBet [MobiHoc ‘07], Bubble Rap [MobiHoc ’08] Represent Mobility using a Social/Complex Graph

Physics, Sociology discipline study of large graphs scale-free, small-world, navigation, etc,

Routing using Social Network Analysis (SNA)

1 0 1 0 00 1 0 1 01 0 1 0 00 1 0 1 10 0 0 1 1

1 0 0 0 10 1 1 0 00 1 1 0 00 0 0 1 11 0 0 1 1

1 0 0 0 10 1 1 0 00 1 1 0 00 0 0 1 11 0 0 1 1

time

Actual Graph (over time) Conceptual Graph

aggregate

strong tie between nodes• social (friends) • geographic (familiar strangers)

24

Page 25: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

D

?

SNA-based Forwarding (SimBet, BubbleRap)

Look at graph; Forward IFF1. relay in same community as D2. OR relay has higher centrality

D

SNA-based Forwarding shows promising performance!25

Page 26: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

(used by SimBet, BubbleRap) „Growing Time Window“: Edges for all contacts in [0, T] „Sliding Time Window“: Edges for all contacts in [T-ΔT, T]

Time-based Aggregation

26

ΔT = 1h ΔT = 2h ΔT = 72h

Different networks need different time windows! !✗ ✔ ✗

Example: ETH trace, 20 nodes on one floor

Page 27: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Density-based Aggregation

Density N: # nodes, E: edges included

Easier to compare between scenarios (0 ≤ d ≤ 1)

How to „fill“ the social graph to this density? „Most recent“: Create an edge for the x most recent

contacts „Most frequent“: An edge for the x most frequent

contacts What is the right density???

Aggregate to a certain density of the graph

27

Page 28: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Sensitivity of SNA-based Routing Performance

Sensitivity of routing to graph densityGood graphs => good routing

performanceSimulation using SimBet and Bubble Rap

Synthetic contact processes- Small-world, cavemen

Contact traces - ETH (20 nodes, students and staff working on 1 floor) - INFO (41 Infocom 2005 participants) - MIT (97 students and staff)

How to evaluate the social graphs? ?

28

Page 29: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Contribution 1 - Sensitivity of Routing Performance

Bad performance in „extreme“ cases!

There is an optimal density range!29

Page 30: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Contribution 2 - Online Algorithm

Assumption: Two types of contacts Regular, with nodes of same community -> high similarity Random, with nodes of different communities -> low

similiarity We want all regular links but no random links =>

Predictive!

✔✗

Similarity(u,v) =Number of common neighbors of u and v

✗Regular: low similarityRandom: low similarity

✗Regular: high similarityRandom: high similarity

✔Regular: high similarityRandom: low similarity

30

Page 31: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Based on cavemen graph model

Maximize avg similarity of Regular links Minimize avg similarity of Random links

Doing the Math

Maximize Difference

31

Page 32: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Maximizing Modularity (I)

Clustering to distinguish Random and Regular links Synthetic models: 2-means clustering

Density with maximal cluster distance is optimal Real world requires more robust solution

d = 0.01

d = 0.1 d = 0.5

Histogram of similarity values between all pairs of nodes

cavemen model

MIT

32

Page 33: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Maximizing Modularity (II): Spectral Analysis Arrange observed similarity values

(si) into a matrix W

Spectral Graph Theory Calculate Laplacian L of W D: diagonal normalization matrix

Eigenvalue decomposition of L: 1 =0 ≤ 2 ≤ …≤ n 2 = 0 if two clusters are perfectly seperable (2 connected

components) 2 (Algebraic Connectivity): small for highly modular data

Minimizing λ2 -> max. “distance“ between Regular and Random

2

2ji

ij 2σss

expw

-1/2 1/2WDDL

ii eeL i

33

Page 34: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Maximizing Modularity (III)

Minimum correlates with optimal density

34

Page 35: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Performance of Online Algorithm (II)

Delivery ratio relative to Direct Transmission using optimal fixed density / online algorithm

Online Algorithm performance is close to optimal

35

Page 36: Using Complex Networks for Mobility Modeling and Opportunistic Networking

Thrasyvoulos Spyropoulos / [email protected] Eurecom, Sophia-Antipolis

Opportunistic Routing Using SNA: Summary

Contribution 1 - Sensitivity analysis Choosing the right aggregation density

matters! More than specific routing algorithm!

Contribution 2 – Optimal density algorithm Maximize modularity of observed similarity

values Spectral Graph Theory techniques Performance close to that of optimal density

General Applicability (not just routing)! !

Mobility Structure

Contacts

Predict

36