Monday, January 31, 2022
Hitting time analysis on smoothed dynamic graphs
Sunday, January 30, 2022
Distributed random walk algorithm
- connected (otherwise the random walk will never converge to the invariant distribution),
- $d$-regular (ensures invariant distribution remains the same for each $G_t\in \mathcal{G}$, it will remain the uniform distribution),
- non-bipartite (ensures the random walk is aperiodic and therefore converges to the invariant distribution)
Saturday, January 29, 2022
What is the mixing time of a random walk?
We already know that a random walk is a Markov chain with the vertices as its states, and we know that an ergodic Markov chain converges to its invariant distribution. But we do not know how fast. The mixing time is a measure of how quickly it converges. We now formally define this concept.
Def 1: The variation distance between two distributions $D_1$ and $D_2$ on a countable state space $S$ is given by $$||D_1-D_2|| = \frac{1}{2}\sum_{x\in S}{|D_1(x) - D_2(x)|}$$
The factor of one half ensures that the variation distance remains between $0$ and $1$.
Def 2: Let $\pi$ be the invariant distribution of an ergodic Markov chain with state space $S$. Let $p_{x}^t$ represent the distribution of the state of the chain starting at state $x$ after $t$ steps. We define $$\Delta_x(t) = ||p^t_x-\pi||$$ and $$\Delta(t) = \max_{x\in S}{\Delta_x(t)}$$
So $\Delta_x(t)$ is the variation distance between the invariant distribution and $p^t_x$, and $\Delta(t)$ is the maximum of these. Now we can define the mixing time.
Def 3: Similarly we defined $$\tau_x(\epsilon) = \min\{t: \Delta_x(t)\leq \epsilon \}$$ and $$\tau(\epsilon)=\max_{x\in S}{\tau_x(\epsilon)}$$ where $\tau_x(\epsilon)$ is the first time when the variation distance between $p^t_x$ and the invariant distribution is $\leq \epsilon$ and $\tau(\epsilon)$ is the maximum of these. $\tau(\epsilon)$ is called the mixing time.
We say that a Markov chain is rapidly mixing if $\tau(\epsilon)$ is polynomial in $\log(1/\epsilon)$ and the size of the problem.
Monday, January 24, 2022
Random walks against adaptive dynamic graphs
Project Goal
- hitting time of a random walk in a dynamic graph.
- cover time of a random walk in a dynamic graph.
- mixing time of a random walk in a dynamic graph.
- smoothed versions of these.
- computing hitting, cover and mixing times on various dynamic graphs by simulation.
- application of distributed random walks to solve $k$-gossip.
- other applications of distributed random walks.
Thursday, January 20, 2022
Random walks on graphs
- the chain has a unique invariant distribution $\pi=(\pi_0,\pi_1, ..., \pi_n)$
- for all $i$ and $j$, in the limit $\lim_{t\to\inf}{P^{t}_{j,i}}$ exists and it is independent of $j$
- $\pi_i=\lim_{t\to\inf}{P^{t}_{j,i}}=1/h_{i,i}$, where $h_{i,j}$ is the expected time for the Markov chain to go from state $i$ to $j$.
Sunday, January 16, 2022
$k$-gossip with smoothing
We have so far analysed gossip on connected dynamic graphs, however, we have not yet looked at this problem under smoothing. We use the analysis conducted by [cite1] and [cite2] as a blackbox to derive a $s$-smoothed upper bound for $k$-gossip.
Here we assume that each node in our dynamic graph is given as part of the input $n$ and $k$, we also assume there is some agreed upon ordering of the tokens. This leads to a very simple $O(nk)$ algorithm without smoothing.
Algorithm for each node:
- $i=1$
- For $i$ from $1$ to $k$ do
- For $n-1$ rounds broadcast the $i^{\text{th}}$ smallest token the node knows.
AtCoder shananigans
Here is the problem , and below is the raw transcript of my thoughts. Obs: It is always optimal to use all $K$ moves. intuitive proof. While...
-
We are given $N$ cities on an integer number line at positions $0<x_1<x_2<...<x_N$, where our capital is initially at position 0...
-
When studying the complexity of problems, we often focus on decision problems. For example, NP-complete problems must be decision problems s...
-
The problem is essentially, given $2\leq n\leq 10^5$ people, where the $i^{\text{th}}$ person has a skill level of $b_i$ in billiards and $p...