BRAGA

02 Writing02-02 Notes02-02-490

Expected Hitting Time (Random Walks)

Published 16 Apr 20263 min read
Contents
  1. 01Deep Breakdown
  2. 02Flowchart
Hij=Ei[Tj]H_{ij} = \mathbb{E}_i[T_j]
(1)

We are working on the expected hitting time in a random walk on a graph, where

Hij=Ei[Tj]H_{ij} = \mathbb{E}_i[T_j]
(2)

is the expected number of steps needed for a walk starting at node ii to reach node jj for the first time. It is defined for a Markov chain on the graph and is obtained by solving a linear system induced by the transition matrix. This quantity links random-walk dynamics to network structure, commute time, and resistance-based interpretations.

Deep Breakdown

Expected hitting time is one of the central quantities in random walks on graphs and Markov processes in networks. At an intuitive level, it answers: > If I start at node ii and move randomly according to the graph transition probabilities, how long do I expect to wait before I visit node jj for the first time? This is written as:

Hij=Ei[Tj]H_{ij} = \mathbb{E}_i[T_j]
(3)

where:

  • TjT_j is the first time the walk reaches node jj,
  • Ei[⋅]\mathbb{E}_i[\cdot] means expectation given that the walk starts at node ii.

This is a first-passage or first-arrival quantity. It is not the expected number of visits, and it is not the probability of ever reaching jj in one step. It is specifically about the expected waiting time until the first arrival. For a Markov chain on a graph with transition matrix PP, the hitting time satisfies a recursive relation:

  • if you are already at the target node jj, the hitting time is zero,
  • otherwise, you take one step, then continue from the next node.

That gives the system:

Hjj=0H_{jj} = 0
(4)

and for i≠ji \ne j:

Hij=1+∑kPikHkjH_{ij} = 1 + \sum_{k} P_{ik} H_{kj}
(5)

This is the main linear equation for expected hitting time.

Inputs:

  • a graph or Markov chain,
  • a transition matrix PP,
  • a starting node ii,
  • a target node jj.

Outputs:

  • the expected number of steps to hit jj for the first time.

Why it matters in DA/DS:

  • it measures how navigable a network is from one node to another,
  • it is sensitive to graph bottlenecks and connectivity patterns,
  • it supports ranking of nodes by accessibility,
  • it connects to commute time and resistance distance,
  • it is useful in recommendation, influence propagation, network routing, and random-walk embeddings.

In graph terms, a node jj with low average incoming hitting time is easy to reach from the rest of the network. A node with large hitting times may be isolated, peripheral, or shielded by bottlenecks.

This object links directly to:

  • transition matrix, because the recursion uses PP,
  • Markov chains, because the random walk is a Markov process,
  • commute time, because commute time is built from two hitting times,
  • resistance distance, because in undirected graphs commute times are tied to electrical-network quantities.

Flowchart

Start at node iTarget node is jIf i = j, hittingtime is 0If i ≠ j, take onerandom-walkstepMove toneighbor k withprobability P_ikAccumulate 1step plusexpectedremaining timeH_kjAverage over allpossible nextnodesSolve linearsystem for H_ijInterpretaccessibility,navigation, orinfluencereachability

#machine-learning#network-analysis-graph-theory#markov-processes-in-networks

Keyboard shortcuts

Single keys, ignored while typing in a field or with Cmd, Ctrl or Alt held.

0
Home
1 2 3 4
Work, Writing, Tools, About
j / k
Next / previous section on this page
n / p
Next / previous project or essay
u
Up one level
l
Deutsch
t
Light or dark theme
?
This list
Esc
Close