arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.00979cs.LG
收藏

分层提示决策Transformer:利用全局与自适应引导提升少样本策略泛化能力

Hierarchical Prompt Decision Transformer: Improving Few-Shot Policy Generalization with Global and Adaptive Guidance

University of Virginia(弗吉尼亚大学);Amazon(亚马逊公司)

Zhe Wang, Haozhu Wang, Yanjun Qi

AI总结:

针对决策Transformer少样本泛化中静态提示缺乏上下文针对性的问题,提出带检索增强的分层提示方法,通过全局与自适应两层软令牌实现动态引导,在7项基准任务上优于所有基线。

摘要:

决策Transformer将强化学习重构为条件序列生成问题,为传统基于价值或策略的方法提供了一种简单有效的替代方案。该领域近期的一项关键进展是在决策Transformer中集成提示机制以促进少样本策略泛化。然而,现有方法主要使用静态提示片段来引导轨迹推演,限制了其提供特定上下文引导的能力。针对这一问题,我们提出一种由检索增强实现的分层提示方法。该方法学习两层软令牌作为引导提示:(1)全局令牌,封装轨迹的任务级信息;(2)自适应令牌,提供针对性的、时间步特定的指令。自适应令牌从一组精心整理的演示片段中动态检索,确保上下文感知的引导。在MuJoCo和MetaWorld环境的7项基准任务上的实验表明,所提方法始终优于所有基线方法,证明决策Transformer的分层提示是实现少样本策略泛化的有效策略。

英文摘要:

Decision transformers recast reinforcement learning as a conditional sequence generation problem, offering a simple but effective alternative to traditional value or policy-based methods. A recent key development in this area is the integration of prompting in decision transformers to facilitate few-shot policy generalization. However, current methods mainly use static prompt segments to guide rollouts, limiting their ability to provide context-specific guidance. Addressing this, we introduce a hierarchical prompting approach enabled by retrieval augmentation. Our method learns two layers of soft tokens as guiding prompts: (1) global tokens encapsulating task-level information about trajectories, and (2) adaptive tokens that deliver focused, timestep-specific instructions. The adaptive tokens are dynamically retrieved from a curated set of demonstration segments, ensuring context-aware guidance. Experiments across seven benchmark tasks in the MuJoCo and MetaWorld environments demonstrate the proposed approach consistently outperforms all baseline methods, suggesting that hierarchical prompting for decision transformers is an effective strategy to enable few-shot policy generalization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑