Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision

Shi-Lin Zhang, Zi-Can Hu, Wen-Hao Wu, Xinyi Xie, Jianxiang Tang +5 more
4/1/2025
rl

No confident code implementation found for this paper.

Abstract

Offline meta-RL usually tackles generalization by inferring task beliefs from high-quality samples or warmup explorations. The restricted form limits their generality and usability since these supervision signals are expensive and even infeasible to acquire in advance for unseen tasks.

Show full abstract

Learning directly from the raw text about decision tasks is a promising alternative to leverage a much broader source of supervision. In the paper, we propose \textbf{T}ext-to-\textbf{D}ecision \textbf{A}gent (\textbf{T2DA}), a simple and scalable framework that supervises offline meta-RL with natural language. We first introduce a generalized world model to encode multi-task decision data into a dynamics-aware embedding space. Then, inspired by CLIP, we predict which textual description goes with which decision embedding, effectively bridging their semantic gap via contrastive language-decision pre-training and aligning the text embeddings to comprehend the environment dynamics. After training the text-conditioned generalist policy, the agent can directly realize zero-shot text-to-decision generation in response to language instructions. Comprehensive experiments on MuJoCo and Meta-World benchmarks show that T2DA facilitates high-capacity zero-shot generalization and outperforms various types of baselines. Our code is available at \textcolor{magenta}{\href{https://github.com/NJU-RL/T2DA}{https://github.com/NJU-RL/T2DA}}.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025texttodecision,
  title  = {Text-to-Decision Agent: Offline Meta-Reinforcement Learning from Natural Language Supervision},
  author = {Shi-Lin Zhang and Zi-Can Hu and Wen-Hao Wu and Xinyi Xie and Jianxiang Tang and Chun-Lin Chen and Dao-Yi Dong and Yu Cheng and Zhen-Hong Sun and Zhi Wang},
  year   = {2025},
  eprint = {2504.15046},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-2645},
  url    = {https://doi.org/10.52202/085713-2645},
  journal = {Neural Information Processing Systems}
}

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/2504.15046.svg)](https://codeofpaper.com/paper/2504.15046)

Discussion