M$^3$PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Model

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wen, Kehan, Hu, Yutong, Mu, Yao, Ke, Lei
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929699877289984
author Wen, Kehan
Hu, Yutong
Mu, Yao
Ke, Lei
author_facet Wen, Kehan
Hu, Yutong
Mu, Yao
Ke, Lei
contents Recent work in Offline Reinforcement Learning (RL) has shown that a unified Transformer trained under a masked auto-encoding objective can effectively capture the relationships between different modalities (e.g., states, actions, rewards) within given trajectory datasets. However, this information has not been fully exploited during the inference phase, where the agent needs to generate an optimal policy instead of just reconstructing masked components from unmasked ones. Given that a pretrained trajectory model can act as both a Policy Model and a World Model with appropriate mask patterns, we propose using Model Predictive Control (MPC) at test time to leverage the model's own predictive capability to guide its action selection. Empirical results on D4RL and RoboMimic show that our inference-phase MPC significantly improves the decision-making performance of a pretrained trajectory model without any additional parameter training. Furthermore, our framework can be adapted to Offline to Online (O2O) RL and Goal Reaching RL, resulting in more substantial performance gains when an additional online interaction budget is provided, and better generalization capabilities when different task targets are specified. Code is available: https://github.com/wkh923/m3pc.
format Preprint
id arxiv_https___arxiv_org_abs_2412_05675
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle M$^3$PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Model
Wen, Kehan
Hu, Yutong
Mu, Yao
Ke, Lei
Machine Learning
Robotics
Systems and Control
Recent work in Offline Reinforcement Learning (RL) has shown that a unified Transformer trained under a masked auto-encoding objective can effectively capture the relationships between different modalities (e.g., states, actions, rewards) within given trajectory datasets. However, this information has not been fully exploited during the inference phase, where the agent needs to generate an optimal policy instead of just reconstructing masked components from unmasked ones. Given that a pretrained trajectory model can act as both a Policy Model and a World Model with appropriate mask patterns, we propose using Model Predictive Control (MPC) at test time to leverage the model's own predictive capability to guide its action selection. Empirical results on D4RL and RoboMimic show that our inference-phase MPC significantly improves the decision-making performance of a pretrained trajectory model without any additional parameter training. Furthermore, our framework can be adapted to Offline to Online (O2O) RL and Goal Reaching RL, resulting in more substantial performance gains when an additional online interaction budget is provided, and better generalization capabilities when different task targets are specified. Code is available: https://github.com/wkh923/m3pc.
title M$^3$PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Model
topic Machine Learning
Robotics
Systems and Control
url https://arxiv.org/abs/2412.05675