---
title: Elephant Random Walk & Pólya Urn Analysis
url: https://www.emergentmind.com/topics/elephant-random-walk
type: topic
---

# Elephant Random Walk & Pólya Urn Analysis

The elephant random walk (ERW) is a one-dimensional discrete-time random walk model with complete memory of its past increments, introduced to study anomalous diffusion driven by long-range memory effects. At each step, an “elephant” (the walker) selects uniformly at random a previous time and, with probability $p\in[0,1]$, repeats the sign of that increment; with probability $1-p$, it chooses the opposite sign. The ERW displays a sharp memory-induced phase transition: for small memory (moderate $p$) the process is diffusive and admits a functional central limit theorem, while for large memory (high $p$) its increments exhibit strong persistent correlations and superdiffusive scaling with non-Gaussian fluctuations.

## 1. Representation via Pólya-Type Urn Schemes

A key insight is that the ERW is distributionally equivalent to a two-color Pólya-type urn model. In this mapping, the two colors encode the two possible step directions (e.g., “right” $+1$ and “left” $-1$). After $n$ steps, if $X_n=(X_n^{(1)},X_n^{(2)})$ denotes the urn composition, the walker’s position is given by $S_n=X_n^{(1)}-X_n^{(2)}$. The evolution rule for the urn is:
- At each time $n$, select a ball uniformly at random from the urn.
- With probability $p$, replace it and add another ball of the same color; with probability $1-p$, add a ball of the opposite color.

The associated mean replacement matrix is
\[
A =
\begin{bmatrix}
p & 1-p \\
1-p & p
\end{bmatrix}
\]
with eigenvalues $\lambda_1=1$ (corresponding to the total number of balls) and $\lambda_2=2p-1$ (governing the imbalance of colors and thus the random walk's position). The spectral properties of $A$ thus fully capture the memory-driven transition in the ERW.

## 2. Functional Limit Theorems and Regimes

By exploiting Pólya urn limit theorems (notably Janson's results), the ERW admits regime-dependent functional scaling limits:

- **Diffusive regime ($0\leq p < 3/4$):**   
  The process $S_{[tn]}$, suitably normalized by $\sqrt{n}$, converges in $D([0, \infty))$ to a centered Gaussian process $W_t$:
  \[
  \lim_{n\to\infty} \frac{S_{[tn]}}{\sqrt{n}} \Rightarrow W_t
  \]
  with a $p$-dependent covariance structure; for $p=1/2$, $W_t$ is standard Brownian motion.

- **Critical regime ($p=3/4$):**  
  The scaling picks up a logarithmic factor:
  \[
  \frac{S_{[nt]}}{n^{1/2}\log n} \Rightarrow B_t
  \]
  where $(B_t)$ is a standard Brownian motion.

- **Superdiffusive regime ($p>3/4$):**
  The process exhibits non-Gaussian scaling:
  \[
  S_n / n^{2p-1} \to W
  \]
  almost surely, where $W$ is a nondegenerate (non-Gaussian) random variable related to the urn’s imbalance projected onto the $(1,-1)^{T}$ direction.

## 3. Memory Effects and Role of $p$

The memory parameter $p$ precisely tunes the correlation structure:
- For $p=1/2$, the process is exactly the classical simple random walk: steps are independent and uncorrelated.
- For $p>1/2$, steps tend to reinforce themselves; this introduces positive long-range correlation, and leads to persistent, eventually superdiffusive, behavior for $p>3/4$.
- For $p<1/2$, steps tend to anti-persist; the process has negative correlations.

This reinforcement mechanism is captured by the second eigenvalue $\lambda_2=2p-1$. The phase transition at $p=3/4$ (i.e., $\lambda_2=1/2$) marks the boundary between diffusive and superdiffusive regimes.

## 4. Analysis in Different Memory Regimes

The solution techniques for the ERW split as follows:

- **Diffusive:** $\lambda_2<1/2$
  - Central limit behavior under $\sqrt{n}$ normalization; limit process is Gaussian.
  - Covariances and higher moments derived via the urn structure.

- **Critical:** $\lambda_2=1/2$
  - Scaling by $\sqrt{n}\log n$ necessary; again, limiting process is Gaussian.

- **Superdiffusive:** $\lambda_2>1/2$
  - Normalization becomes $n^{2p-1}$; limiting distribution is non-Gaussian.
  - The exact distribution of $W$ is in general described recursively via the urn model.

The spectral decomposition of the mean replacement matrix enables explicit computations of the scaling exponents and, in some cases, explicit forms of the limiting distributions and their moments.

## 5. Higher-Dimensional Extensions and Related Models

The mapping to reinforced urns generalizes the ERW:
- In dimension $d\geq1$, the walker is represented by a $2d$-color urn (right/left, up/down, etc.). For $d=2$, for example, the replacement matrix is
  \[
  \begin{bmatrix}
  p & \frac{1-p}{3} & \cdots \\
  \frac{1-p}{3} & p & \cdots \\
  \vdots & \vdots & \ddots
  \end{bmatrix}
  \]
  The critical threshold for the phase transition is $p=5/8$ in $d=2$.
- The behavior—diffusive, critical, or superdiffusive—is again governed by spectral analysis of the replacement matrix.
- This urn formulation also describes reinforced walks with more general, possibly history-dependent memory rules.

A plausible implication is that the urn methodology enables functional limit theorems and explicit scaling results for a broad class of reinforced walks and interaction networks with memory.

## 6. Significance and Broader Applications

The urn equivalence provides a robust analytical foundation for ERW and related reinforced random walk models:
- It directly yields functional limit theorems for position processes in all memory regimes, including strong laws and central limit theorems.
- It allows explicit calculation of moments and scaling exponents, and identifies non-standard (non-Gaussian) limiting laws in the superdiffusive phase.
- The technique extends to higher dimensions and provides a template for analyzing interaction models with long-range memory.

These results are relevant for systems in which memory and reinforcement play a crucial dynamical role, including anomalous transport, polymer dynamics, and stochastic processes on complex networks.

Source: https://www.emergentmind.com/topics/elephant-random-walk