Latent Plan Transformer for Trajectory Abstraction: Planning as Latent Space Inference

Abstract

In tasks aiming for long-term returns, planning becomes essential. We study generative modeling for planning with datasets repurposed from offline reinforcement learning. Specifically, we identify temporal consistency in the absence of step-wise rewards as one key technical challenge. We introduce the Latent Plan Transformer (LPT), a novel model that leverages a latent variable to connect a Transformer- based trajectory generator and the final return. LPT can be learned with maximum likelihood estimation on trajectory-return pairs. In learning, posterior sampling of the latent variable naturally integrates sub-trajectories to form a consistent abstrac- tion despite the finite context. At test time, the latent variable is inferred from an expected return before policy execution, realizing the idea of planning as inference. Our experiments demonstrate that LPT can discover improved decisions from sub- optimal trajectories, achieving competitive performance across several benchmarks, including Gym-Mujoco, Franka Kitchen, Maze2D, and Connect Four. It exhibits capabilities in nuanced credit assignments, trajectory stitching, and adaptation to environmental contingencies. These results validate that latent variable inference can be a strong alternative to step-wise reward prompting.

Cite

Text

Kong et al. "Latent Plan Transformer for Trajectory Abstraction: Planning as Latent Space Inference." Neural Information Processing Systems, 2024. doi:10.52202/079017-3922

Markdown

[Kong et al. "Latent Plan Transformer for Trajectory Abstraction: Planning as Latent Space Inference." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/kong2024neurips-latent/) doi:10.52202/079017-3922

BibTeX

@inproceedings{kong2024neurips-latent,
  title     = {{Latent Plan Transformer for Trajectory Abstraction: Planning as Latent Space Inference}},
  author    = {Kong, Deqian and Xu, Dehong and Zhao, Minglu and Pang, Bo and Xie, Jianwen and Lizarraga, Andrew and Huang, Yuhao and Xie, Sirui and Wu, Ying Nian},
  booktitle = {Neural Information Processing Systems},
  year      = {2024},
  doi       = {10.52202/079017-3922},
  url       = {https://mlanthology.org/neurips/2024/kong2024neurips-latent/}
}