When we model physical, social, or computational systems, we are often interested in their long-term behavior. If a system is stable, we expect it to eventually settle into a predictable statistical equilibrium known as a stationary distribution. For decades, the prevailing intuition has been that if we can prove a system is stable, we should be able to compute or at least simulate its equilibrium behavior.
However, a cross-disciplinary body of research has revealed a fundamental theoretical barrier: predicting, computing, or even proving the existence of long-term equilibrium is frequently mathematically undecidable or computationally intractable. Even when a system is governed by simple local rules or is guaranteed to be stable, its long-term emergent behavior can encode universal computation, making it impossible for any general algorithm to forecast its steady state.
The Illusion of Stability: Why Guarantees Aren't Enough
To understand why equilibrium can be uncomputable, we must first dismantle the idea that stability implies analytical tractability. In queueing theory and stochastic modeling, researchers often use Lyapunov functions to prove that a system is "positive recurrent"—meaning it will always return to a baseline state and possesses a well-defined stationary distribution.
Yet, in Computing stationary probability distributions and large deviation rates for constrained random walks.: the undecidability results, David Gamarnik demonstrated that for certain constrained random walks, knowing a system is stable does not mean we can compute its exact stationary distribution. By reducing the problem to the Halting Problem, the author showed that the exact stationary probabilities and large deviation rates (the probabilities of rare, extreme fluctuations) are fundamentally uncomputable.
[System State Space] ---> Can encode Turing Machine tape
[Lyapunov Function] ---> Guarantees the system eventually returns to zero (Stable)
[Path to Return] ---> Can execute arbitrary, infinitely complex computation
The intuition behind this result lies in how complexity hides within a stable system. A Lyapunov function guarantees that the system will eventually drift back toward zero, ensuring long-term stability. However, before it returns, the system can traverse an arbitrarily complex path through its state space. Because this state space can encode the configurations of a Turing machine, calculating the exact probability of being in a specific state requires knowing whether certain paths will ever terminate. As a result, any general algorithm attempting to calculate these probabilities would have to solve the Halting Problem.
The Curse of Memory: History-Dependent Walks
Standard Markov chains are memoryless: their next step depends only on their current state. When we introduce memory, the mathematical landscape shifts dramatically.
Consider a random walk where the agent can backtrack. In Random walks with ``back buttons'', Ronald Fagin et al. introduced "backoff processes," which model behaviors like web browsing using a history stack. Because the walker can retreat through an arbitrarily deep history, the long-term behavior can depend permanently on the starting state. The authors noted that proving whether these history-dependent walks converge to a true stationary distribution—rather than just a time-averaged limit—remains an open mathematical challenge when the history stack fluctuates near critical thresholds.
When memory influences the transition probabilities themselves, the system becomes non-linear. In The Spacey Random Walk: a Stochastic Process for Higher-order Data, David F. Gleich et al. analyzed processes where walkers choose their next step based on the entire history of where they have spent time. The authors hypothesized that for systems with more than two states, predicting whether such a history-dependent process will ever reach a stable stationary distribution is a computationally undecidable problem.
This difficulty is echoed by Vishwaraj Doshi et al. in Self-Repellent Random Walks on General Graphs - Achieving Minimal Sampling Variance via Nonlinear Markov Chains. While exploring walks that actively avoid past states to improve sampling efficiency, the authors noted that establishing rigorous mathematical proofs for the stability of iterates in history-dependent walks on general open spaces remains elusive. Memory effectively transforms a finite state space into an infinite-dimensional dynamical system, causing standard convergence proofs to break down.
Local Rules, Global Unpredictability
Undecidability also emerges when simple local rules interact across space, as seen in cellular automata and networked systems.
In Probabilistic Cellular Automata, Invariant Measures, and Perfect Sampling, Jean Mairesse et al. proved that determining whether a one-dimensional probabilistic cellular automaton (PCA) reaches a unique stable equilibrium is mathematically undecidable. Because local update rules can propagate information across the grid in ways that mimic logic gates, a PCA can simulate a universal computer. Consequently, no general-purpose algorithm can look at a set of local transition rules and reliably predict whether the global system will stabilize or fluctuate indefinitely.
[Local Update Rules] ---> Can act as logic gates
[Spatial Interaction] ---> Propagates computation across the grid
[Global Steady State] ---> Equivalent to determining if the computation halts
This connection to formal logic is made explicit by Marcus Völker in Logic Programming for Cellular Automata. By mapping cellular automata configurations to normal logic programs, the author demonstrated that predicting whether a starting configuration will settle into a stable state ("still life") or evolve into a repeating, moving structure ("spaceship") is fundamentally undecidable.
Even when the system is finite—meaning it must eventually repeat and is therefore technically decidable—the computational complexity can be overwhelmingly high. For instance, Dmitry Chistikov et al. studied social dynamics in Convergence of Opinion Diffusion is PSPACE-Complete. They showed that predicting whether a network of individuals updating their opinions based on their neighbors will stabilize or oscillate indefinitely is PSPACE-complete. This means that forecasting the long-term outcome requires an amount of memory that scales polynomially with the network size, making brute-force simulation the only viable approach.
Living with Intractability: Bounds and Approximations
If calculating exact long-term behavior is mathematically impossible, how do we analyze complex stochastic systems? This question is highly relevant in fields like population dynamics, where Pini Zilber et al. showed in Giant disparity and a dynamical phase transition in large deviations of the time-averaged size of stochastic populations that calculating the precise probabilities of rare, long-term deviations is often analytically impossible using standard master equations.
The strategy for bypassing undecidability relies on shifting our goals from exact calculation to rigorous approximation.
Exact Stationary Value
│
[Undecidable to Compute]
│
┌──────────────┴──────────────┐
▼ ▼
Upper Bound Lower Bound
[Decidable via Semidefinite Programming]
In Bounding Stationary Averages of Polynomial Diffusions via Semidefinite Programming, Michela Ottobre et al. addressed systems modeled by stochastic differential equations where exact analytical expressions for stationary averages cannot be derived. Instead of trying to find the exact distribution, the authors used semidefinite programming to compute provable upper and lower bounds on these averages.
This approach aligns with the foundational insights of David Gamarnik, who noted that while computing exact stationary probabilities is undecidable, we can approximate them to arbitrary accuracy if we can construct a suitable geometric Lyapunov function. Crucially, this solvability boundary is sharp: for large deviation rates, even approximate computation is impossible because distinguishing between a finite and an infinite rate remains undecidable.
Ultimately, this research direction redraws the boundaries of applied probability. It warns us that simple rules can generate long-term behaviors that evade exact calculation, forcing us to trade the pursuit of exact solutions for certifiable bounds and algorithmic approximations.
Key Foundational Work
Computing stationary probability distributions and large deviation rates for constrained random walks.: the undecidability results (2002) — contributed 9 concept elements to this direction.
Random walks with ``back buttons'' (2001) — contributed 2 concept elements to this direction.