Random surfing model

From HandWiki
Short description: Model of web browser usage

The random surfing model is a graph model which describes the probability of a random user visiting a web page. The model attempts to predict the chance that a random internet surfer will arrive at a page by either clicking a link or by accessing the site directly, for example by directly entering the website's URL in the address bar. For this reason, an assumption is made that all users surfing the internet will eventually stop following links in favor of switching to another site completely. The model is similar to a Markov chain, where the chain's states are web pages the user lands on and transitions are equally probable links between these pages.

Description

Navigation through hyperlinks, after directly arriving at a site's home page

A user navigates the internet in two primary ways; the user may access a site directly by entering the site's URL or clicking a bookmark, or the user may use a series of hyperlinks to get to the desired page. The random surfer model assumes that the link which the user selects next is picked at random. The model also assumes that the number of successive links is not infinite – the user will at some point lose interest and leave the current site for a completely new site.[1]

The random surfer model is presented as a series of nodes which indicate web pages that can be accessed at random by users. A new node is added to the a graph when a new website is published. The movement about the graphs nodes is modeled by choosing a start node at random, then performing a short and random traversal of the nodes, or random walk. This traversal is analogous to a user accessing a website, then following hyperlink [math]\displaystyle{ t }[/math] number of times, until the user either exits the page or accesses another site completely. Connections to other nodes in this graph are formed when outbound links are placed on the page.

Graph definitions

In the random surfing model, webgraphs are presented as a sequence of directed graphs [math]\displaystyle{ G_t,t = 1,2,\ldots }[/math] such that a graph [math]\displaystyle{ G_t }[/math] has [math]\displaystyle{ t }[/math] vertices and [math]\displaystyle{ t }[/math] edges. The process of defining graphs is parameterized with a probability [math]\displaystyle{ p }[/math], thus we let [math]\displaystyle{ q= 1-p }[/math].[2]

Nodes of the model arrive one at time, forming [math]\displaystyle{ k }[/math] connections to the existing graph [math]\displaystyle{ G_t }[/math]. In some models, connections represent directed edges, and in others, connections represent undirected edges. Models start with a single node [math]\displaystyle{ v_0 }[/math] and have [math]\displaystyle{ k }[/math] self-loops. [math]\displaystyle{ v_t }[/math] denotes a vertex added in the [math]\displaystyle{ t^{th} }[/math] step, and [math]\displaystyle{ n }[/math] denotes the total number of vertices.[1]

Model 1. (1-step walk with self-loop)

At time [math]\displaystyle{ t }[/math], vertex [math]\displaystyle{ v_t }[/math] makes [math]\displaystyle{ k }[/math] connections by [math]\displaystyle{ k }[/math] iterations of the following steps:

  1. Pick an existing node [math]\displaystyle{ v }[/math] uniformly at random from [math]\displaystyle{ \{ v_0, v_1, \ldots , v_{t-1} \} }[/math]
  2. With probability [math]\displaystyle{ p }[/math] stay at [math]\displaystyle{ v }[/math]; with probability [math]\displaystyle{ 1 - p }[/math] take a 1-step walk to a random neighbor of [math]\displaystyle{ v }[/math]
  3. Add an edge from [math]\displaystyle{ v_t }[/math] to the current node

For directed graphs, edges added are directed from [math]\displaystyle{ v_t }[/math] into the existing graph. Edges are undirected in respective undirected graphs.

Model 2. (Random walks with coin flips)

At time [math]\displaystyle{ t }[/math], vertex [math]\displaystyle{ v_t }[/math] makes [math]\displaystyle{ k }[/math] connections by [math]\displaystyle{ k }[/math] iterations of the following steps:

  1. Pick an existing node [math]\displaystyle{ v }[/math] uniformly at random from [math]\displaystyle{ \{ v_0, v_1, ..., v_{t-1} \} }[/math]
  2. Flip a coin of bias [math]\displaystyle{ p }[/math]
  3. If the coin comes up heads add an edge from [math]\displaystyle{ v_t }[/math] to the current node and stop
  4. If the coin comes up tails, move to a random neighbor of the current node and go back to step 2

For directed graphs, edges added are directed from [math]\displaystyle{ v_t }[/math] into the existing graph. Edges are undirected in respective undirected graphs.

Limitations

There are some caveats to the standard random surfer model, one of which is that the model ignores the content of the sites which users select – since the model assumes links are selected at random. Because users tend to have a goal in mind when surfing the internet, the content of the linked sites is a determining factor of whether or not the user will click a link.[1][2]

Application

The normalized eigenvector centrality combined with random surfer model's assumption of random jumps created the foundation of Google's PageRank algorithm.[2][3]

See also

References

  1. 1.0 1.1 1.2 Blum, Avrim; Chan, T-H. Hubert; Rwebangira, Mugizi Robert (21 January 2006). written at 3600 University City Science Center Philadelphia, PA, United States. "A Random-Surfer Web-Graph Model". ANALCO '06: Proceedings of the Meeting on Analytic Algorithmics and Combinatorics (Carnegie Mellon University: Society for Industrial and Applied Mathematics): 238–246. http://www.cs.cmu.edu/~avrim/Papers/webgraph.pdf. 
  2. 2.0 2.1 2.2 Chebolu, Prasad; Melsted, Páll (1 January 2008). "PageRank and the random surfer model". Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms (Department of Mathematical Sciences, Carnegie Mellon University): 1010–1018. http://www.math.cmu.edu/~pmelsted/papers/pagerank.pdf. 
  3. Zaki, Mohammed J.; Meira, Jr., Wagner (2014). Data Mining and Analysis: Fundamental Concepts and Algorithms. Cambridge University Press. ISBN 9780521766333. 

External links