Modeling complex, partially observable environments often traps researchers in an "all-or-nothing" paradigm. Instead of trying to build a perfect model that predicts every possible future, what if an agent only learned to predict the specific things it actually cares about?
Presented at ICML 2010, this paper offers a pragmatic alternative to traditional modeling. The authors introduce a method for learning approximate state representations by focusing on specific predictions of interest. Using a history summarization technique inspired by reinforcement learning's "eligibility traces," they create a compact, data-efficient model that outperforms traditional Expectation-Maximization (EM) approaches in both stability and accuracy.
The Problem: The Trap of Perfect Models
In many real-world scenarios, an agent cannot see the full state of the world—for example, a robot navigating a building using only a forward-facing camera. Traditionally, these scenarios are modeled as Partially Observable Markov Decision Processes (POMDPs). However, learning a POMDP from scratch is notoriously difficult. The standard tool for this, Expectation-Maximization (EM), often gets stuck in poor local optima unless initialized with a very accurate guess.
Predictive State Representations (PSRs) were proposed as a solution, modeling state as a vector of predictions about future "tests." While theoretically elegant, exact PSRs are numerically unstable and require massive amounts of data to compute the "system dynamics" matrix. This paper addresses the gap between theoretical PSRs and practical, scalable learning by asking a simple question: What if we only try to predict the things we actually care about?
Methods: Approximate Agent State Representations (AASR)
The authors propose a framework called Approximate Agent State Representations (AASR). The core components of this approach are:
- Test Probes ($f$): Instead of predicting the probability of every possible future sequence, the user defines a "probe"—a mapping that specifies what quantities are of interest (e.g., "will I see a light in the next 5 steps?" or "what is the total expected reward?").
- History Probes ($g$): To summarize the agent's past into a usable "state," the authors use a recursive function: $g(hao) = \phi g(h) + \gamma \theta_{ao}$. This structure is directly inspired by eligibility traces in reinforcement learning. It allows the agent to incrementally update its summary of the past ($h$) as new actions ($a$) and observations ($o$) arrive, using learned parameters ($\phi, \gamma, \theta$) to weigh the importance of different events.
- Clustering and Regression: The algorithm clusters histories that have similar history probe values and maps these clusters to the expected values of the test probes.
- Local Agent State Representation (LASR): For long-term predictions, the authors assume compositionality—the idea that a long-term prediction can be broken down into a sequence of shorter-term predictions.
Experimental Setup
The approach was evaluated on three synthetic environments designed to test different aspects of partial observability:
- Tunnel World: A 1D probabilistic domain where the agent must navigate based on rare "light" observations.
- Gridworld: A 6x6 grid with four orientations (144 states total). Actions have a 5% failure rate, and the agent only sees the color of the wall it is facing.
- Half-moon World: A circular state space with 20 states characterized by "temporal coherence," where observations stay consistent over short periods.
Key Results: Efficiency and Compactness
The most powerful idea demonstrated by the results is purposeful incompleteness. By ignoring irrelevant details of the environment, the agent can learn a robust representation from much less data. Furthermore, the authors argue for a discriminative approach (mapping history directly to predictions) rather than a generative one, which avoids the "drift" that occurs when small errors in a generative model compound over long sequences.
- Superiority over EM: In the Tunnel World, the AASR approach consistently achieved lower prediction errors than EM, regardless of whether the EM model was given the "correct" number of hidden states.
- Compactness: In the Gridworld, the model successfully learned to predict the target with fewer than 50 states, even as the amount of experience grew. It remained stable where exact PSR methods would have struggled with matrix dimensionality.
- Data Efficiency: The models were able to reach high-quality predictions from relatively small amounts of experience (e.g., 1,000–4,000 trajectories), whereas exact methods often require orders of magnitude more data to ensure numerical stability.
Limitations and Future Work
While highly effective, the AASR framework has a few limitations. First, the LASR model assumes that long-term predictions can be composed of short-term ones. If this compositionality assumption is violated, the model's maximum error can spike.
Additionally, the current history probe $g$ maps the entire history to a single real number. For highly complex environments, a single scalar might not be expressive enough to distinguish between important histories; moving to vector-valued features is a natural next step. Finally, the parameters for the history probes were found using a simple line search, suggesting that more sophisticated optimization (like $L_1$ regularization) could make the learning process even more robust.
Summary updated