Research · Computational modelling · Monash FIT3139
Web navigation as a stochastic process
PageRank imagines a surfer who follows links at random and sometimes teleports. is the link probability; is a uniform jump. That makes the chain irreducible and gives one equilibrium. The textbook stops at linear algebra. This keeps going: random click times, an exact six-page web, then recovering from behaviour alone.
With random click times instead of synchronous updates, does the surfer still converge to deterministic PageRank, and how fast?
Answer
Yes. Time-weighted occupancy over 400 runs matches the eigenvector by T = 500. At T = 5 the estimates scatter. The deterministic model hides that.
Given only an observed stationary distribution, can the damping factor be recovered?
Answer
Yes. Metropolis acceptance, geometric cooling. Lands on α = 0.730 against a hidden 0.73, loss 1.35e-8, ~3,400 evals.
The surfer, live
The exact six-page web from the submission. Squares scale with rank; the tally below tracks the surfer. Drag .
teal bars: exact eigenvector. dark bars: where the surfer has actually been. red arcs are teleports. note E holding at (1−α)/6: nothing links to it.
The base model
At page the surfer follows a weighted out-link with probability , or teleports to any page uniformly with probability . The transition matrix is
The ranking is its left eigenvector for eigenvalue one. Every page receives at least , so nothing traps the chain. Page E above is the degenerate case: no in-links, so its rank equals the teleport floor exactly .
Question one
Gillespie replaces synchronous steps with exponential waiting times between clicks. Across 400 runs, time-weighted occupancy at horizon matches deterministic PageRank; at the estimates scatter.
Stochastic timing changes the journey, not the destination.
Question two
Hide a true damping factor , observe only the stationary distribution it produces, then search for the that explains it. Metropolis acceptance with geometric cooling walks the loss landscape down and stops at .
The same machinery fits link weights to real clickstreams.
Monte Carlo backbone
Every empirical estimate is checked against the exact eigenvector. Mean-squared error decays as
Measured across chain lengths from to , landing at . The live tally above is that experiment running.
The algorithms
- Weighted PageRank
- Power iteration with dangling-page handling. The baseline everything else is measured against.
- Gillespie SSA
- Continuous-time surfer, exponential waits between clicks. Stationary distribution by time-weighted occupancy.
- Chain-binomial DTMC
- Exact 6-page , solved by left eigendecomposition.
- Monte Carlo estimation
- Visit frequencies against the exact eigenvector; error decay measured across chain lengths.
- Simulated annealing
- Metropolis acceptance , geometric cooling, minimising stationary-distribution error over .