Action-Sufficient State Representation Learning for Control with Structural Constraints

Biwei Huang, Chaochao Lu, Liu Leqi, José Miguel Hernández-Lobato, Clark Glymour, Bernhard Schölkopf, Kun Zhang

Introduction

Reinforcement Learning (RL) is notoriously "data-hungry." To master complex environments like driving simulators or video games, agents often require millions of frames of experience. A primary reason for this inefficiency is that raw sensory input, such as pixel data, is high-dimensional and noisy.

In a driving game, for instance, the color of the sky or the texture of the grass is irrelevant to steering. Yet, standard representation learning methods—like basic Variational Autoencoders (VAEs)—often attempt to capture all these details to perfectly reconstruct the image. This irrelevant information clutters the latent space, making it significantly harder and more computationally expensive for an agent to learn an effective policy.

This paper addresses a critical challenge in RL: How can we identify and extract only the "action-sufficient" information—the minimal subset of the world state that actually impacts the cumulative reward? To solve this, the authors introduce Action-Sufficient state Representations (ASRs), a method for learning the minimal set of features from high-dimensional observations necessary for optimal decision-making.

Methods: Causal Characterization and SS-VAE

The authors propose a framework built on two core pillars to learn ASRs: causal characterization and a novel VAE architecture.

1. Causal Characterization

The fundamental idea is that "sufficiency" for control is a causal property. The authors define ASRs as latent state dimensions that have a direct or indirect directed path to the reward variable in a causal graph. If a feature does not influence the reward—or influence a future state that subsequently influences the reward—it is considered a "distractor" and is discarded.

Causal graph illustrating structural constraints between states, actions, and rewards over time.

By explicitly modeling these structural and causal relationships between latent states, actions, and rewards, the model naturally ignores visually prominent but logically irrelevant variables.

2. Structured Sequential VAE (SS-VAE)

To implement this causal filtering, the authors developed the Structured Sequential VAE (SS-VAE). Unlike standard VAEs that treat latent dimensions as independent, the SS-VAE explicitly learns a "mask" (representing structural constraints) that dictates how latent dimensions interact with each other, with actions, and with rewards over time.

Architecture of the Structured Sequential VAE (SS-VAE) used to learn ASRs.

The model is trained by maximizing a complex objective function that balances several competing needs:

  • Reconstruction & Prediction: Ensuring the latent state can reconstruct current observations and predict future ones.
  • Sufficiency & Minimality: Using conditional mutual information (CMI) and $L_1$ sparsity constraints to force the latent space to be as compact as possible while remaining sufficient for the task.
  • Transition Dynamics: Modeling the environment as a Markov Decision Process (MDP) entirely within the latent space.

Because the SS-VAE learns a generative model of the environment, the agent can "dream." It can simulate thousands of trajectories in its compact latent space without ever interacting with the real environment, enabling highly efficient model-based RL. Furthermore, this approach decouples representation learning from policy learning; once a low-dimensional ASR is extracted, standard RL algorithms (like DQN or DDPG) can be applied to learn much faster.

Experimental Results

The authors evaluated their approach on continuous control tasks (CarRacing-v0) and discrete control tasks (VizDoom: Take Cover). To test robustness, they also created a "distracted" version of CarRacing by overlaying natural videos from the Kinetics dataset onto the background, forcing the model to ignore complex visual noise.

Key findings include:

  • Superior Efficiency: In CarRacing, ASRs (using only 21 dimensions) significantly outperformed vanilla representations (32 dimensions) and state-of-the-art methods like Dreamer, PlaNet, and SLAC.
  • Robustness to Noise: In the "distractor" experiment, ASRs maintained high performance. Competing methods like Dreamer and DBC saw their scores plummet because they could not distinguish the irrelevant background video from the track.
  • Strong Discrete Control: Using DQN on learned ASRs in VizDoom outperformed Deep Recurrent Q-Networks (DRQN) trained on raw observations by an average of 400 points in cumulative reward.

Limitations and Future Work

While highly effective, the framework has a few limitations. First, while the authors provide a theoretical proof that their structural model is "identifiable" (meaning the true structure can be recovered) for linear-Gaussian cases, proving this for general nonlinear cases remains an open challenge. Second, the model assumes the environment's structural constraints are stationary; future work could explore non-stationary environments where the rules of the world shift over time. Finally, the objective function is complex, involving multiple regularization terms that require careful hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{huang2022action,
  author = {Biwei Huang and Chaochao Lu and Liu Leqi and José Miguel Hernández-Lobato and Clark Glymour and Bernhard Schölkopf and Kun Zhang},
  title = {{Action-Sufficient State Representation Learning for Control with Structural Constraints}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=5P8Yz85FAZ},
}
Figure