Efficiently learning linear-linear exponential family predictive representations of state

David Wingate, Satinder SinghICML 2008

In the world of reinforcement learning and robotics, "state" is everything. Traditionally, we treat state as a hidden variable (like in a Hidden Markov Model) that we try to infer from observations. Predictive Representations of State (PSRs) flip this paradigm on its head: they define the state of a system entirely as a set of predictions about future observations.

While elegant, PSRs—specifically the Exponential Family PSR (EFPSR)—have historically been computationally nightmarish to train. This paper by Wingate and Singh introduces a "Linear-Linear" version of the EFPSR and a clever approximation that turns a week-long training process into a 30-second task.

The Bottleneck of Exact Maximum Likelihood

Modeling partially observable dynamical systems (where you cannot see the "true" state of the world, only noisy sensors) usually requires tracking latent variables. EFPSRs are attractive because they are "fully observed"—the state is simply the parameters of a distribution over future observations.

However, learning these models using exact Maximum Likelihood Estimation (MLE) hits two massive bottlenecks:

  1. Inference is NP-hard: Calculating the expected features of the future in an exponential family model is computationally expensive and must be done for every single timestep in the training data.
  2. Recursive Gradients: The gradients used for optimization are temporally recursive, leading to expensive matrix-matrix multiplications that scale poorly with the number of features and the length of the training sequence.

The Linear-Linear EFPSR and Approximate Likelihood

To overcome these limitations, the authors introduce the Linear-Linear EFPSR. In this model, both the "extension" (predicting the next step) and "conditioning" (incorporating a new observation) are treated as linear operations.

The process of extending a distribution over future observations and conditioning it on a new observation.

To solve the efficiency problem, they introduce an Approximate Likelihood ($\widehat{\mathcal{LL}}$). The key "trick" is a stationarity assumption: they assume that over a long enough sequence, the state does not covary with the observations. This unlocks several computational shortcuts:

  • Matching Stationary Distributions: Instead of calculating likelihood at every timestep, the algorithm tries to find parameters that make the model's predicted stationary distribution of features match the empirically observed stationary distribution.
  • Linear System Solver: Finding the average state becomes a matter of solving a sparse linear system of equations, which is exponentially faster than recursive updates.
  • Low-Rank Parameterization: They use a low-rank Singular Value Decomposition (SVD) to represent the transition matrices, allowing the model to handle tens of thousands of features without memory blowup.

Experimental Domains

The authors evaluated their approach on two main domains:

  1. Bouncing Ball: A synthetic 11x10 pixel grid where a ball bounces diagonally. They tested versions with 0%, 1%, and 10% noise to see how the model handles stochasticity.
  2. Robot Vision Domain: A high-dimensional navigation task where a robot moves through a maze. The input consists of 64x64 color images, from which thousands of binary features (edges, colors, and higher-order clusters) are extracted.

Key Insights and Results

  • Massive Speedup: The authors estimate that while an exact likelihood gradient might take a week to compute for their vision domain, their approximate method takes only 30 seconds.
  • The Power of "Average" Behavior: You don't necessarily need to track the exact state at every micro-second to learn the underlying physics of a system. By matching the "stationary" (long-term average) distributions of features, you can recover the dynamics much more efficiently.
  • High-Dimensional Scaling: The model successfully learned to navigate a maze using a feature set of up to 50,000 features—a scale previously impossible for EFPSRs.
  • Abstract Features Matter: In the robot vision task, the model performed much better when using "abstract" features (clusters of images representing "hallways" or "corners") rather than raw "granular" features (simple edges). This suggests that the quality of a PSR is heavily dependent on the "tests" or features it is trying to predict.
  • Performance: In the Bouncing Ball domain, the EFPSR outperformed a standard "reactive" (first-order Markov) policy by 13% to 30%, depending on the noise level.

Limitations and Future Work

While highly efficient, the core approximation assumes the state doesn't covary with observations ($Cov[s_t, \phi(f_t)] = 0$). While this works well for finding stationary distributions, it might fail in systems with highly volatile, non-stationary dynamics. Furthermore, the paper relies on hand-coded or pre-clustered features. The authors note that the next big step is automating the discovery of the "atomic features" and the graphical structure of the model itself.

Summary updated

BibTeX
@inproceedings{wingate2008efficiently,
  author = {David Wingate and Satinder Singh},
  title = {{Efficiently learning linear-linear exponential family predictive representations of state}},
  booktitle = {International Conference on Machine Learning},
  year = {2008},
  doi = {10.1145/1390156.1390304},
}
Figure