In the Simple Random Walk (ERW), a walker moves in random directions; all of her steps are independent. The variance of the displacement of a random walker after n steps typically grows linearly with n: for example in the 1d symmetric random walk defined by
SRWnβ=S1β+β―+Snβ
with P(Snβ=Β±1)=1/2, one has Var(SRWnβ)=n. This behaviour is called diffusive, because it is a discrete analog of heat dissipation.
The introduction of long-term memory in Random Walks breaks this diffusive behaviour. In the Simple Random Walk, the walker takes a random step independently of its former moves, oblivious of her past; but instead, she could remember one of her previous steps and reproduce it, just like Elephants whose memory is said to be surprisingly vast. The Elephant Randow Walk (ERW) has been thoroughly studied since its introduction in the paper Elephants can always remember by SchΓΌtz and Trimper, both for its mathematical tractability and rich behaviour.
Here is a description of the Elephant Randow Walk (ERW) with memory parameter p.
The Elephant starts at 0 and takes a first step S1β=+1 with initial probability p0β or S1β=β1 with probability 1βp0β; in fact p0β will not have any influence whatsoever.
Then, at time n, the Elephant randomly remembers one of the steps she took in the past; each of the former steps has the same chance to be remembered. Then, with probability p, she reproduces this step; otherwise she goes the opposite way.
Formally, we set ERW0β=0. The first step is ERW1β=Β±1 with some probability p0β.
At step k, let UkββΌUniform({1,β¦,k}) be the Β« remembered past step Β» and let Ξ΅kβ be whether the elephant goes in the same or opposite direction, that is P(Ξ΅kβ=1)=p and P(Ξ΅kβ=β1)=1βp.
The n+1-th step is ERWn+1β=ERWnβ+Sn+1β, with the last step Sn+1β=Ξ΅nβSUnββ.
When the memory parameter p is close to 1 (full memory), the Elephant tends to reproduce always the same steps, thus going way further than the Simple Randow Walker corresponding to p=1/2, and the histogram of its final position is less concentrated.
The goal of this note is to explain the appearance of a sudden and surprising transition, happening at the critical value p=3/4: the ERW is still diffusive for p<3/4, and becomes super-diffusive if p>3/4. It all boils down to computing the variance.
When the initial step has a probability p0β=1/2 to jump left or right, the whole ERW is symmetric, hence centered. Its variance Vnβ=E[Wn2β] solves the following recursion.
V1β=1,Vn+1β=1+(1+n4pβ2β)Vnβ.
Proof. We note Fnβ the sigma-algebra generated by the jumps up to time n. We have
Conditionnally on Fnβ, the last jump Sn+1β is distributed as a Rademacher random variable with a certain parameter pnβ. Let Nnβ denote the number of +1 jumps before n;Β then pnβ=pNnβ/n+(1βp)(nβNnβ)/n. Since Nnβ=(n+Wnβ)/2, we obtain
where q=1βp. The expectation of a Rademacher random variable with parameter pnβ is pnββ(1βpnβ)=2pnββ1, hence
E[Sn+1ββ£Fnβ]=(pβq)nWnββ
which gives (2) when plugged back in the first expression.
The variance of the Elephant Randow Walk has the following explicit expression depending on Ξ±=4pβ2: Var(Wnβ)=Ξ(Ξ±)Ξ(n)Ξ(Ξ±+n)ββ«01β(1βx)(Ξ±β1)β1(1βxn)dx.
The proof is postponed to later. This expression might not be very informative at first sight, but its large-n asymptotics are easily understood and unveil a qualitative change in the behaviour of the ERW at the critical value p=3/4. By symmetry we restrict to p>1/2.
Diffusive case: if p<3/4,
VnββΌ3β4pnβ.
Critical case: if p=3/4,
VnββΌnlog(n).
Super-diffusive case: if p>3/4,
VnββΌ(4pβ3)Ξ(4pβ2)nΓn4pβ3β
Proof. Let us note Inβ(Ξ±) the integral in (6). Its behaviour depends on wheter Ξ±β1=4pβ3 is positive or negative. We'll make use of Stirling's formula, Ξ(x)βΌxxeβx2Οxβ, which ensures that
Ξ(Ξ±)Ξ(n)Ξ(Ξ±+n)ββΌΞ(Ξ±)(Ξ±+n)Ξ±β.
Now,
If Ξ±β1>0 then Inβ(Ξ±)βΌβ«01β(1βx)Ξ±β2dx=(Ξ±β1)β1;
If Ξ±=1 then Inβ(Ξ±)=1+1/2+1/3+β―+1/nβΌlog(n);
If Ξ±β1<0 then Inβ(Ξ±)βΌΞ(Ξ±)nβΞ±n/(1βΞ±)
Here is a log-plot of the empirical variance of 100 runs of Elephant Randow Walks with various memory parameters p ranging between 0.5 and 0.9. The white line marks the transition at p=3/4, between a diffusive behaviour and a super-diffusive behaviour. The red line represents the Simple Random Walk with a variance of n.
Proof of (6):Β exact computation of the variance Vnβ
Recursions like (2) are easy to solve. Let us note Ξ±=2(pβq) and xnβ=(n+Ξ±)/n so that Vn+1β=1+xnβVnβ. Define
cnβ=xnβ1βxnβ2βΓβ―Γx2βx1β
and Vnβ²β=Vnβ/cnβ β- we chose cnβ so that cnβxnβ=cn+1β. Then, (2) becomes
Many aspects of the ERW are now well understood. Its introduction in the papers Elephants can always remember and Anomalous dynamics⦠was mostly motivated by the physics of non-Markovian diffusions; they even formulated the continuous-time version with a non-diffusive Fokker-Planck equation. The effect of the type of memory on diffusive properties was studied in this paper.
Mathematically, the functional limit for the ERW was proved in a very elegant way in this paper β it appears that the ERW converges towards a continuous Gaussian process with a particular covariance kernel. The use of martingale theory turned out to be very powerful and allows for an efficient identification of the scaling limits of the ERW, see Bercu's paper. Multi-dimensional versions were studied in this paper.