Think Before You Act: Unified Policy for Interleaving Language Reasoning with Actions

Lina Mezghani, Piotr Bojanowski, Karteek Alahari, Sainbayar Sukhbaatar
4/18/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

The success of transformer models trained with a language modeling objective brings a promising opportunity to the reinforcement learning framework. Decision Transformer is a step towards this direction, showing how to train transformers with a similar next-step prediction objective on offline data. Another important development in this area is the recent emergence of large-scale datasets collected from the internet, such as the ones composed of tutorial videos with captions where people talk about what they are doing. To take advantage of this language component, we propose a novel method for unifying language reasoning with actions in a single policy. Specifically, we augment a transformer policy with word outputs, so it can generate textual captions interleaved with actions. When tested on the most challenging task in BabyAI, with captions describing next subgoals, our reasoning policy consistently outperforms the caption-free baseline.

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{mezghani2023think,
  title  = {Think Before You Act: Unified Policy for Interleaving Language Reasoning with Actions},
  author = {Lina Mezghani and Piotr Bojanowski and Karteek Alahari and Sainbayar Sukhbaatar},
  year   = {2023},
  eprint = {2304.11063},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.11063v1}
}

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

Discussion