arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.09648cs.LGcs.AI
收藏

基于偏好排序的提示微调决策Transformer

Prompt-Tuning Decision Transformer with Preference Ranking

Shanghai Jiaotong University(上海交通大学);JD Explore Academy(京东探索研究院);Shanghai AI Laboratory(上海人工智能实验室);The University of Sydney(悉尼大学)

Shengchao Hu, Li Shen, Ya Zhang, Dacheng Tao

AI总结:

提出Prompt-Tuning DT算法,通过轨迹段作为提示并利用黑盒微调与偏好排序函数优化提示,在低数据场景下仅学习0.03%参数即可达到或超越全模型微调性能,为RL智能体特定偏好任务优化提供新方向。

摘要:

提示微调已成为一种将预训练模型适应于下游任务或与人类偏好对齐的有前景的方法。提示学习在NLP中被广泛使用,但由于RL提示中包含复杂的物理含义和特定于环境的信息,其对RL的适用性有限。这些因素需要监督学习来模仿示范,并且可能导致学习后含义的丢失。此外,将提示微调方法直接扩展到RL具有挑战性,因为RL提示基于环境建模和分析来指导智能体行为,而不是填充缺失信息,这使得像NLP中那样为下游任务调整提示格式不太可能产生显著改进。在这项工作中,我们提出了Prompt-Tuning DT算法来解决这些挑战,通过使用轨迹段作为提示来指导RL智能体获取环境信息,并通过黑盒微调优化提示以增强其包含更多相关信息的能力,从而使智能体能够做出更好的决策。我们的方法涉及随机采样高斯分布以微调提示轨迹的元素,并使用偏好排序函数寻找优化方向,从而提供更具信息量的提示并指导智能体在目标环境中朝向特定偏好。大量实验表明,仅学习0.03%的参数,Prompt-Tuning DT在低数据场景下就能达到与全模型微调相当甚至更好的性能。我们的工作促进了RL中提示微调方法的发展,为优化大型RL智能体以执行特定偏好任务提供了有前景的方向。

英文摘要:

Prompt-tuning has emerged as a promising method for adapting pre-trained models to downstream tasks or aligning with human preferences. Prompt learning is widely used in NLP but has limited applicability to RL due to the complex physical meaning and environment-specific information contained within RL prompts. These factors require supervised learning to imitate the demonstrations and may result in a loss of meaning after learning. Additionally, directly extending prompt-tuning approaches to RL is challenging because RL prompts guide agent behavior based on environmental modeling and analysis, rather than filling in missing information, making it unlikely that adjustments to the prompt format for downstream tasks, as in NLP, can yield significant improvements. In this work, we propose the Prompt-Tuning DT algorithm to address these challenges by using trajectory segments as prompts to guide RL agents in acquiring environmental information and optimizing prompts via black-box tuning to enhance their ability to contain more relevant information, thereby enabling agents to make better decisions. Our approach involves randomly sampling a Gaussian distribution to fine-tune the elements of the prompt trajectory and using preference ranking function to find the optimization direction, thereby providing more informative prompts and guiding the agent towards specific preferences in the target environment. Extensive experiments show that with only 0.03% of the parameters learned, Prompt-Tuning DT achieves comparable or even better performance than full-model fine-tuning in low-data scenarios. Our work contributes to the advancement of prompt-tuning approaches in RL, providing a promising direction for optimizing large RL agents for specific preference tasks.

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

↑