DTMC Applications Randomized Routing. TELE4642: Week12

Similar documents
Management Science Letters

E-LEARNING USABILITY: A LEARNER-ADAPTED APPROACH BASED ON THE EVALUATION OF LEANER S PREFERENCES. Valentina Terzieva, Yuri Pavlov, Rumen Andreev

'Norwegian University of Science and Technology, Department of Computer and Information Science

arxiv: v1 [cs.dl] 22 Dec 2016

part2 Participatory Processes

HANDBOOK. Career Center Handbook. Tools & Tips for Career Search Success CALIFORNIA STATE UNIVERSITY, SACR AMENTO

Natural language processing implementation on Romanian ChatBot

CONSTITUENT VOICE TECHNICAL NOTE 1 INTRODUCING Version 1.1, September 2014

Fuzzy Reference Gain-Scheduling Approach as Intelligent Agents: FRGS Agent

Consortium: North Carolina Community Colleges

Application for Admission

2014 Gold Award Winner SpecialParent

Introduction to Simulation

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Welcome to California Colleges, Platform Exploration (6.1) Goal: Students will familiarize themselves with the CaliforniaColleges.edu platform.

On March 15, 2016, Governor Rick Snyder. Continuing Medical Education Becomes Mandatory in Michigan. in this issue... 3 Great Lakes Veterinary

6 Financial Aid Information

Introduction to Causal Inference. Problem Set 1. Required Problems

KIS MYP Humanities Research Journal

AN EXAMPLE OF THE GOMORY CUTTING PLANE ALGORITHM. max z = 3x 1 + 4x 2. 3x 1 x x x x N 2

Multimedia Application Effective Support of Education

Working with Rich Mathematical Tasks

Decision Analysis. Decision-Making Problem. Decision Analysis. Part 1 Decision Analysis and Decision Tables. Decision Analysis, Part 1

also inside Continuing Education Alumni Authors College Events

Lecture 10: Reinforcement Learning

Probabilistic Model Checking of DTMC Models of User Activity Patterns

Generating Test Cases From Use Cases

PDA (Personal Digital Assistant) Activity Packet

COMPUTER-ASSISTED INDEPENDENT STUDY IN MULTIVARIATE CALCULUS

UNIVERSITY OF CALIFORNIA SANTA CRUZ TOWARDS A UNIVERSAL PARAMETRIC PLAYER MODEL

Rottenberg, Annette. Elements of Argument: A Text and Reader, 7 th edition Boston: Bedford/St. Martin s, pages.

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

VISION, MISSION, VALUES, AND GOALS

Probabilistic Latent Semantic Analysis

AUTOMATIC DETECTION OF PROLONGED FRICATIVE PHONEMES WITH THE HIDDEN MARKOV MODELS APPROACH 1. INTRODUCTION

Office of Planning and Budgets. Provost Market for Fiscal Year Resource Guide

A SURVEY OF FUZZY COGNITIVE MAP LEARNING METHODS

QUESTIONS and Answers from Chad Rice?

BMBF Project ROBUKOM: Robust Communication Networks

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Shockwheat. Statistics 1, Activity 1

Seminar - Organic Computing

MOODLE 2.0 GLOSSARY TUTORIALS

Unit 3 Ratios and Rates Math 6

Georgetown University at TREC 2017 Dynamic Domain Track

Truth Inference in Crowdsourcing: Is the Problem Solved?

arxiv: v1 [cs.se] 20 Mar 2014

CS/SE 3341 Spring 2012

stateorvalue to each variable in a given set. We use p(x = xjy = y) (or p(xjy) as a shorthand) to denote the probability that X = x given Y = y. We al

ENHANCING PHYSICAL EDUCATION IN ILLINOIS SCHOOLS

AP Statistics Summer Assignment 17-18

TRAFFORD CHILDREN S THERAPY SERVICE. Motor Skills Checklist and Advice for Children in PRIMARY & SECONDARY Schools. Child s Name.Dob. Age.

CURRICULUM VITAE. To develop expertise in Graph Theory and expand my knowledge by doing Research in the same.

Model Ensemble for Click Prediction in Bing Search Ads

DOCTOR OF PHILOSOPHY BOARD PhD PROGRAM REVIEW PROTOCOL

VISTA GOVERNANCE DOCUMENT

Getting Started with TI-Nspire High School Science

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

Case study Norway case 1

Cal s Dinner Card Deals

Science Olympiad Competition Model This! Event Guidelines

Using SAM Central With iread

EVOLVING POLICIES TO SOLVE THE RUBIK S CUBE: EXPERIMENTS WITH IDEAL AND APPROXIMATE PERFORMANCE FUNCTIONS

Given a directed graph G =(N A), where N is a set of m nodes and A. destination node, implying a direction for ow to follow. Arcs have limitations

Beveridge Primary School. One to one laptop computer program for 2018

Program Review

Arizona s College and Career Ready Standards Mathematics

Edexcel GCSE. Statistics 1389 Paper 1H. June Mark Scheme. Statistics Edexcel GCSE

Discriminative Learning of Beam-Search Heuristics for Planning

Orange Elementary School FY15 Budget Overview. Tari N. Thomas Superintendent of Schools

A Case Study: News Classification Based on Term Frequency

MAT 122 Intermediate Algebra Syllabus Summer 2016

Experience: Virtual Travel Digital Path

arxiv: v1 [cs.cl] 2 Apr 2017

DERMATOLOGY. Sponsored by the NYU Post-Graduate Medical School. 129 Years of Continuing Medical Education

Preferences...3 Basic Calculator...5 Math/Graphing Tools...5 Help...6 Run System Check...6 Sign Out...8

MASTER S THESIS GUIDE MASTER S PROGRAMME IN COMMUNICATION SCIENCE

(Sub)Gradient Descent

Five Challenges for the Collaborative Classroom and How to Solve Them

Probability and Statistics Curriculum Pacing Guide

AMULTIAGENT system [1] can be defined as a group of

GRADUATE STUDENTS Academic Year

Chapter 10 APPLYING TOPIC MODELING TO FORENSIC DATA. 1. Introduction. Alta de Waal, Jacobus Venter and Etienne Barnard

Radius STEM Readiness TM

Functional Maths Skills Check E3/L x

Rule discovery in Web-based educational systems using Grammar-Based Genetic Programming

EECS 700: Computer Modeling, Simulation, and Visualization Fall 2014

Effective Supervision: Supporting the Art & Science of Teaching

Level 6. Higher Education Funding Council for England (HEFCE) Fee for 2017/18 is 9,250*

My first english teacher essay. To teacher first on research andor english, simply order an essay from us..

INTERMEDIATE ALGEBRA PRODUCT GUIDE

Web as Corpus. Corpus Linguistics. Web as Corpus 1 / 1. Corpus Linguistics. Web as Corpus. web.pl 3 / 1. Sketch Engine. Corpus Linguistics

A study of speaker adaptation for DNN-based speech synthesis

Digital Path. Here is a look at the organization and features of the program. After logging in, click Pearson Content on the Programs channel.

Can Money Buy Happiness? EPISODE # 605

Performance Modeling and Design of Computer Systems

MESSING AROUND IN GEOGEBRA: ONLINE INQUIRY THROUGH APPS AND GAMES

The Strong Minimalist Thesis and Bounded Optimality

Lesson plan for Maze Game 1: Using vector representations to move through a maze Time for activity: homework for 20 minutes

Transcription:

DTMC Applicatios Radomized Routig TELE4642: Week12

Radom Walk: Probabilistic Routig Radom eighbor selectio e.g. i ad-hoc/sesor etwork due to: Scalability: o routig table (e.g. geographical routig) Resiliece: ode failures, multiple paths Simplicity: easy algorithm Ca be modeled as radom walk i graph Formulate as a discrete-time Markov chai E.g.: 1 is source, 6 is destiatio 1 5 2 3 4 6 Network Performace 12-2

Metrics of iterest Ca we solve the Markov chai? Not irreducible, so o L Metrics of iterest: Where is the packet i k hops? Iterative: p [ k + 1] = p[ k] P How may hops are eeded for a 90% chace of the packet reachig the destiatio? Will the packet always get to the destiatio? What is the average umber of hops eeded? What is the impact of chagig trasitio probabilities? How would you compute the above aalytically? Network Performace 12-3

Exercise 1: Gambler s Rui You go ito a casio with $2 i your pocket, ad play i a slotmachie. Each play costs $1. I each play, if you wi (which happes with probability p), you get back double your moey (i.e. $2), whereas if you lose (with probability = 1-p), you lose your dollar. You stop playig ad leave the momet you either reach $4, or whe you have lost all your moey, whichever happes first. Draw the Discrete Time Markov chai (DTMC) that models your performace at the casio. Does this Markov chai have a steady-state solutio? Justify clearly. Compute the probability (i terms of p ad ) that you lose all your moey. Hit: Let u i deote the chaces of losig all your moey startig at state i. Compute the probability of losig all your moey whe p = = ½. Explai your aswer ituitively. Network Performace 12-4

Exercise 2 1 2 3 4 5 Cosider a small orgaizatio that sells a software product, ad has a corporate itraet cosistig of just five web-pages liked as below: Page 1 is the compay s mai page. It has liks to the software dowload page (page 2) ad the customer support page (page 3). Page 2 provides the software product for dowload. It liks back to the mai page (page 1). Page 3 is the customer support page, ad liks to the software dowload page (page 2), istallatio support page (pages 4) ad tech support page (page 5). Page 4 provides istallatio support for the software. It liks back to the mai page (page 1). Page 5 provides techical support for the software (bugs, patches, etc), ad has a lik back to the software dowload page (page 2). A search-egie uses the discrete-time Markov chai based PageRak algorithm for rakig these five web-pages, with the followig simplifyig assumptios: There are o liks to ay web-pages exteral to the orgaizatio. Each lik o a web-page is eually likely to be clicked by the user. A user avigatig the corporate web-site is assumed to click liks ad ot explicitly type the URL (i.e., the parameter α of the PageRak algorithm is set to 1; euivaletly, the user ever restarts the walk o the web-graph). Searchig for a word or phrase oly returs the top two web-pages that match. Network Performace 12-5

Exercise 2 (cotd.) Questios: Write the trasitio probability matrix P for the Markov chai correspodig to the above web-graph. Argue why the Markov chai for the above web-graph is irreducible ad aperiodic (ad coseuetly has a steady-state statioary solutio). What are two ways by which you ca compute the state probabilities for the above web-graph? Which method would you prefer to employ (usig pe ad paper, ot a computer), ad why? Now compute the statioary probabilities for each of the five states. A user searches for a keyword that is preset i all five web-pages. Which are the two top-raked web-pages that are retured by the search egie? Network Performace 12-6

Exercise 2 (cotd.) Now suppose you are the director of the customer support divisio, ad are free to modify web-pages 3, 4, ad 5 i ay way you wat, but you caot modify web-pages 1 ad 2 (which are maaged by aother group). Further, you are give the costraits that: (a) you ca add additioal liks i pages 3, 4, ad 5 (icludig liks from a page back to itself), but (b) you caot remove ay existig liks from these pages. Qualitatively (i.e. usig words, ot umbers) argue what liks you might wat to add to improve the rak of page 3 (the mai customer support page). Draw the modified web-graph that represets your solutio. Write the trasitio probability matrix P for the modified web-graph. For your modified web-graph from the previous part, compute the statioary state probabilities for all five web-pages. A user ow searches for a keyword that is preset i all five web-pages. Which are the two top-raked web-pages that are retured by the search egie? Network Performace 12-7

Exercise 3 4 1 2 3 Cosider a etwork of N = 4 idetical hosts itercoected i a rig, as show i the figure below. Oe day, a hacker ifects host 1 with a etwork virus that spreads i the etwork i the directio idicated by the arrows i the figure The virus spreads as follows: every morig, betwee 2am ad 6am, the virus o each ifected host has a ifectio probability p I = 0.2 of spreadig to the host adjacet i the clock-wise directio, provided the latter host is ot already ifected. Whe the system admiistrator comes i to work at 9am, he is able to idetify the hosts that are ifected, ad attempts to disifect (i.e., remove the virus from) hosts i the order i which they were ifected. Further, he is able to disifect at most oe host per day, with probability p D = 0.5, before he leaves at 5pm. Sice the virus always spreads i the clockwise directio ad the system admiistrator disifects them i the order of ifectio, ote that at ay poit of time, the ifected hosts are cotiguous o the rig. Describe the state of the system at midight each day, ad draw the Markov chai that models the spread of the virus. Is this Markov chai irreducible, i.e., is it possible to reach ay state from ay other state i a fiite umber of steps? Justify or show a couter-example. From the previous part, would you say that the Markov chai has a statioary solutio for the state probability vector? Network Performace 12-8

Exercise 3 (cotd.) Now suppose the hacker moitors the etwork betwee 2am ad 6am each day, ad if he fids that o host is ifected (i.e. the virus is eradicated from the etwork), reifects host 1 with probability p R = 0.2. Draw the Markov chai for this revised system. Is this Markov chai irreducible ad aperiodic? Justify. O a radom day what is the probability that the etwork is virus-free? Network Performace 12-9