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

任务感知和谐多任务决策Transformer用于离线强化学习

Task-Aware Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning

Shanghai Jiao Tong University(上海交通大学);Shanghai AI Lab(上海人工智能实验室);Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学)

Ziqing Fan, Shengchao Hu, Yuhang Zhou, Li Shen, Ya Zhang, Yanfeng Wang, Dacheng Tao

AI总结:

针对离线多任务强化学习中的任务差异与梯度冲突问题,提出HarmoDT及其分组变体G-HarmoDT,通过双层优化学习和谐参数子空间并消除任务标识符需求,在多个基准上分别提升8%、5%和10%的性能。

摘要:

离线多任务强化学习(MTRL)的目标是开发一种适用于多种任务的统一策略,而无需在线环境交互。近期进展通过序列建模来实现这一目标,利用Transformer架构的可扩展性和参数共享的优势来利用任务相似性。然而,任务内容和复杂性的差异对策略制定提出了重大挑战,需要明智的参数共享和冲突梯度的管理以获得最优策略性能。此外,为每个任务识别最优参数子空间通常需要在推理时预先知道任务标识符,这限制了在任务内容多变且当前任务未知的真实场景中的适用性。在本工作中,我们引入了和谐多任务决策Transformer(HarmoDT),一种新颖的解决方案,旨在为每个任务识别最优的和谐参数子空间。我们将其表述为元学习框架内的双层优化问题,其中上层学习掩码以定义和谐子空间,而内层专注于更新参数以提高统一策略的整体性能。为了消除对任务标识符的需求,我们进一步设计了一种分组变体(G-HarmoDT),该变体基于梯度信息将任务聚类为连贯的组,并利用门控网络在推理时确定任务标识符。跨多个基准的实证评估突出了我们方法的优越性,展示了其在多任务上下文中的有效性,在任务提供设置中具体提升了8%,在任务无关设置中提升了5%,在未见设置中提升了10%。

英文摘要:

The purpose of offline multi-task reinforcement learning (MTRL) is to develop a unified policy applicable to diverse tasks without the need for online environmental interaction. Recent advancements approach this through sequence modeling, leveraging the Transformer architecture's scalability and the benefits of parameter sharing to exploit task similarities. However, variations in task content and complexity pose significant challenges in policy formulation, necessitating judicious parameter sharing and management of conflicting gradients for optimal policy performance. Furthermore, identifying the optimal parameter subspace for each task often necessitates prior knowledge of the task identifier during inference, limiting applicability in real-world scenarios with variable task content and unknown current tasks. In this work, we introduce the Harmony Multi-Task Decision Transformer (HarmoDT), a novel solution designed to identify an optimal harmony subspace of parameters for each task. We formulate this as a bi-level optimization problem within a meta-learning framework, where the upper level learns masks to define the harmony subspace, while the inner level focuses on updating parameters to improve the overall performance of the unified policy. To eliminate the need for task identifiers, we further design a group-wise variant (G-HarmoDT) that clusters tasks into coherent groups based on gradient information, and utilizes a gating network to determine task identifiers during inference. Empirical evaluations across various benchmarks highlight the superiority of our approach, demonstrating its effectiveness in the multi-task context with specific improvements of 8% gain in task-provided settings, 5% in task-agnostic settings, and 10% in unseen settings.

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

↑