An agent that sees rich, high-dimensional observations has to group them into a small set of abstract states before it can plan. Statistical physics says something unsettling about the static version of this problem. When observations are independent draws from a sparse Gaussian mixture, there is a wide band of signal strengths where the correct grouping is recoverable in principle but no known efficient algorithm finds it. Reinforcement learning data are not independent, though. Consecutive observations are linked by the environment's transition dynamics, and those links are free side information. This proposal asks a sharp question: do Markov dynamics shrink or close the gap between what is statistically possible and what is computationally feasible when learning state abstractions? If they do, by how much, and as a function of which property of the dynamics?
We answer it by solving a stylized but exact model in the high-dimensional limit. Hidden states follow a Markov chain, each step emits a high-dimensional noisy observation, and the agent must recover the hidden states and then act on them. We use the replica method, a statistical-physics technique that computes typical-case error in large random inference problems by reducing them to a few scalar "order parameters". It gives us both the best achievable error and the error reached by approximate message passing (AMP), an iterative algorithm whose per-iteration error is tracked exactly by a scalar recursion called state evolution. We then translate recovery error into value loss of the resulting policy. The result is a typical-case curve of decision quality versus data for learned abstractions, which is what worst-case bounds in reinforcement learning do not provide.
Core Claim
The static special case is solved. Subspace clustering in high-dimensions uses the replica method on a $k$-cluster sparse Gaussian mixture and finds an information-theoretic threshold $\lambda_{\text{it}} \approx \sqrt{-k\rho\log\rho}/\sqrt{\alpha}$ and an AMP threshold $\lambda_{\text{alg}} \geq k/\sqrt{\alpha}$. Here $\lambda$ is signal strength, $\rho$ is the fraction of nonzero coordinates in each cluster center, and $\alpha$ is samples per dimension. The two thresholds are separated by a gap that widens as $\rho$ shrinks. Our claim is that sequential structure changes this picture in a predictable way. Once the hidden states form a Markov chain, the high-dimensional problem still decouples into scalar effective channels. However, the scalar problem is no longer "denoise one draw from a $k$-point prior". It becomes "run forward-backward smoothing on a hidden Markov model observed through a Gaussian channel". Both thresholds then become functions of the transition matrix. We hypothesize that the AMP threshold falls faster than the information-theoretic one as the entropy rate of the hidden chain drops. If so, low-entropy, goal-directed dynamics shrink the computational gap and high-entropy random dynamics leave it intact.
This would also give a mechanistic account of a contrast reported by Near Optimal Behavior via Approximate State Abstraction. That paper aggregates states with similar optimal values and observes a sharp cliff in Taxi (zero value loss until roughly $\epsilon \approx 0.025$, then collapse) but smooth linear degradation in random 100-state MDPs. We do not claim the replica method is needed to explain that oracle cliff (see below). We claim that its learned analogue, value loss as a function of data, shows a discontinuous jump for structured dynamics and a continuous one for unstructured dynamics. In physics terms these are first-order and second-order transitions, and the model predicts where each occurs.
Model
There are $k$ hidden abstract states with transition matrix $P$, induced by the latent MDP under a fixed data-collection policy. At each step $t = 1,\dots,n$ the agent observes
$$x_t = \sqrt{\lambda/d}\,\mu_{z_t} + \xi_t,$$
where $z_t$ is the hidden state, $\mu_1,\dots,\mu_k \in \mathbb{R}^d$ are cluster centers with a fraction $\rho$ of nonzero entries, and $\xi_t$ is standard Gaussian noise. The limit is $n, d \to \infty$ with $\alpha = n/d$ fixed.
This is a rich-observation block MDP in which every observation is fresh. When $P$ has identical rows (no memory), it reduces exactly to the Pesce et al. mixture, so their thresholds are our baseline sanity check.
The replica calculation yields a scalar potential over the overlap $m$ between estimated and true centers. Its effective denoiser is the posterior of a $k$-state hidden Markov chain observed through a Gaussian channel whose signal-to-noise ratio is set by $m$. The value loss of acting on the learned abstraction is
$$\Delta V(\alpha) = \sum_{t} \Pr[\hat z_t \neq z_t] \cdot g_t,$$
where $g_t$ is the action gap of the latent MDP at step $t$. The misassignment probability is itself a function of $m$ under decoupling, so $\Delta V$ inherits the transition order of $m$. That one link is how the rate-distortion view of abstraction in A Theory of State Abstraction for Reinforcement Learning gets a concrete, computable distortion. The number of abstract states plays the role of rate, and $\Delta V$ plays the role of distortion.
Research Program
The first step is the replica-symmetric derivation for general $P$. From it we obtain the potential, its fixed points, and the predicted thresholds as functions of $\rho$, $k$, $\alpha$, and the spectrum and entropy rate of $P$.
The second step is the matching algorithm. It is AMP with a non-separable denoiser, namely forward-backward smoothing along time, together with its state evolution. This directly addresses the oracle-dependence problem flagged by Abel et al.: abstractions are built from streaming observations without access to $Q^*$ or the true model. It also addresses the per-step Blahut-Arimoto cost noted for Deciding What to Learn: A Rate-Distortion Approach.
The third step lets the data-collection policy vary. Because $P$ depends on the policy, the theory says which exploration policies make abstraction learnable soonest. This is a typical-case counterpart to the capacity-sensitive regret analysis in Deciding What to Model: Value-Equivalent Sampling for Reinforcement Learning.
The fourth step is a stability check of the replica-symmetric solution. The analysis by Obuchi et al. of hierarchical codes, Statistical mechanical analysis of hierarchical random code ensemble, found that tree-structured codebooks trigger replica symmetry breaking and degrade compression. Their result constrains us: if $P$ is strongly block-hierarchical, as in Taxi's passenger and destination structure, symmetry might break. We test this rather than assume it away.
We position the work against FLAMBE (FLAMBE). FLAMBE gives worst-case polynomial guarantees for low-rank MDPs, with trajectory counts of order $\tilde{O}(H^{22}K^9d^7/\epsilon^{10})$. Our model is a special low-rank MDP where exact constants are available, at the price of distributional assumptions (Gaussian noise, sparse random centers) that the two lines of work trade off differently.
Baselines
The naive reference point is static AMP clustering that ignores temporal order. This is the Pesce et al. algorithm, which must reach $\lambda_{\text{alg}} \geq k/\sqrt{\alpha}$. Any benefit of dynamics is measured as a shift of the recovery threshold below this value at matched $\rho$, $k$, and $\alpha$.
The weakest standard baseline is principal component analysis (PCA) followed by k-means. Pesce et al. report that PCA needs a higher signal-to-noise ratio than AMP in the static case.
The strongest practical competitor is a two-stage pipeline: PCA or spectral projection, then Baum-Welch fitting of an HMM and forward-backward smoothing on the projected features. It uses the dynamics, costs little, and is what a practitioner would try first. We run it on identical data streams. It gets the same number of random restarts as AMP gets initializations, and the same wall-clock budget. Beating it means one of two things: a lower recovery threshold in $\lambda$ at fixed $\alpha$, or strictly lower value loss throughout the region between the two predicted thresholds.
The ablation that isolates our key ingredient is AMP whose denoiser treats steps independently but receives the stationary distribution of $P$ as a prior. The difference between this and full temporal AMP is exactly the contribution of temporal coupling, as opposed to merely knowing state frequencies.
For deep representation learning on DeepMind Control with distractors, the most relevant competitors are SimSR, RAP, DeepMDP, and SAC with LayerNorm. The large-scale study Understanding Behavioral Metric Learning reports that SimSR and RAP were top performers, and that DeepMDP and SAC often beat dedicated metric learners. The file gives no numeric scores, so no reported result was found on Lacuna for DMC returns or Denoising Factor values. We will rerun those methods with the published settings rather than quote numbers. On Taxi, the reference point is Abel et al.'s oracle result: fewer than 100 abstract states at zero value loss, near $\epsilon \approx 0.02$. Our learned abstractions are judged against that oracle ceiling.
Why not just…?
Why not just explain the stability cliff by looking at the gaps in $Q^*$? For the oracle setting of Abel et al., this is probably correct and sufficient. If optimal values cluster with a clear gap between clusters, merging within clusters is harmless until $\epsilon$ exceeds that gap. We therefore do not build the proposal on re-deriving the oracle cliff, and we will check the $Q^*$-gap histogram on Taxi and random MDPs as a control. The replica analysis earns its place only for the learned version, where the cliff location depends on data, dimension, and dynamics. No histogram of true values can predict that.
Why not just run PCA and then fit an HMM? This is the real threat. If projection retains enough signal, post-hoc smoothing could capture most of the benefit of dynamics. Our theory predicts that PCA fails first at its own spectral detection limit when $\rho$ is small. Below that limit, the projected features carry no usable signal for smoothing to exploit, whereas temporal AMP uses the dynamics inside every iteration. The phase diagrams will settle this. If the two-stage pipeline matches temporal AMP's threshold across the sparsity range, we will report that dynamics help only through post-processing and reframe accordingly.
Why not just use deep self-predictive or bisimulation representations? They scale to pixels and need no distributional assumptions. However, the large-scale DMC study shows they are fragile and depend on heuristics: explicit metric learning gives marginal denoising unless combined with self-prediction, and linearly entangled noise is especially damaging. That random-projection noise setting is close in spirit to our Gaussian model. We use it to test whether the theory's ranking of easy and hard dynamics carries over qualitatively. We do not claim that AMP itself will beat deep methods on pixels.
Why not just rely on rate-distortion regret bounds such as BLASTS and VSRL? They are rigorous, but they are upper bounds. A bound cannot show a discontinuity, and it does not separate what is statistically possible from what an efficient algorithm can reach. Those are exactly the quantities in question here.
Proposed Experiments
The first check is internal consistency. On synthetic instances with $d$ from 500 to 4000, we measure whether empirical AMP overlap matches state evolution, and whether the memoryless case reproduces both Pesce et al. thresholds. If this fails, the derivation is wrong and nothing downstream counts.
The second experiment is the main result: phase diagrams in the $(\lambda, \alpha)$ plane for a family of transition matrices that interpolate from i.i.d. to near-deterministic at fixed $k$ and $\rho$. We plot $\lambda_{\text{it}}$, $\lambda_{\text{alg}}$, and the empirical thresholds of all baselines against the entropy rate of $P$. The decisive outcome is whether the gap between the two thresholds shrinks with lower entropy rate, as hypothesized, or stays constant, which would refute the core claim.
The third experiment builds rich-observation versions of Taxi, NChain, Minefield, and the 100-state random MDPs. Each uses the domain's latent dynamics under a uniform exploration policy, with every state emitting sparse high-dimensional Gaussian observations. We measure value loss $\Delta V$ against $\alpha$, and test whether Taxi shows a discontinuous jump located where the replica potential has a first-order transition while random MDPs degrade continuously. We also examine the stability of the replica-symmetric solution on Taxi's hierarchical dynamics.
The last experiment is a qualitative transfer test on DMC with random-projection and i.i.d. Gaussian distractors. We ask whether tasks whose dynamics have low estimated entropy rate are the ones where self-predictive methods recover task-relevant features with fewer samples.
References
- Subspace clustering in high-dimensions: Phase transitions & Statistical-to-Computational gap
- Near Optimal Behavior via Approximate State Abstraction
- A Theory of State Abstraction for Reinforcement Learning
- Deciding What to Learn: A Rate-Distortion Approach
- Deciding What to Model: Value-Equivalent Sampling for Reinforcement Learning
- Statistical mechanical analysis of hierarchical random code ensemble in signal processing
- FLAMBE: Structural Complexity and Representation Learning of Low Rank MDPs
- Understanding Behavioral Metric Learning: A Large-Scale Study on Distracting Reinforcement Learning Environments