HarmoDT: Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning

Shengchao Hu, Ziqing Fan, Li Shen, Ya Zhang, Yanfeng Wang +1 more
2/12/2026

No official code found. Best implementation: charleshsc/HarmoDT (25 stars, Apache-2.0, last commit 2024-06-03).

Abstract

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. 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 approach this as a bi-level optimization problem, employing a meta-learning framework that leverages gradient-based techniques. The upper level of this framework is dedicated to learning a task-specific mask that delineates the harmony subspace, while the inner level focuses on updating parameters to enhance the overall performance of the unified policy. Empirical evaluations on a series of benchmarks demonstrate the superiority of HarmoDT, verifying the effectiveness of our approach.

View on arXivView PDF

Code Implementations(1)

charleshsc/HarmoDTCommunity67%
Apache-2.0

ICML'2024: HarmoDT: Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning

252PythonMay 27, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{hu2026harmodt,
  title  = {HarmoDT: Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning},
  author = {Shengchao Hu and Ziqing Fan and Li Shen and Ya Zhang and Yanfeng Wang and Dacheng Tao},
  year   = {2026},
  eprint = {2405.18080},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.18080},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.18080.svg)](https://codeofpaper.com/paper/2405.18080)

Discussion