Lune

EMNLP Findings2023

Self-Supervised Behavior Cloned Transformers are Path Crawlers for Text Games

Ruoyao Wang, Peter A. Jansen

Abstract

In this work, we introduce a self-supervised behavior cloning transformer for text games, which are challenging benchmarks for multistep reasoning in virtual environments.Traditionally, Behavior Cloning Transformers excel in such tasks but rely on supervised training data.Our approach auto-generates training data by exploring trajectories (defined by common macro-action sequences) that lead to reward within the games, while determining the generality and utility of these trajectories by rapidly training small models then evaluating their performance on unseen development games.Through empirical analysis, we show our method consistently uncovers generalizable training data, achieving about 90% performance of supervised systems across three benchmark text games. 11 Released as open source: https://github.com/ cognitiveailab/pathfinding-rl PathCrawlingCrawl all paths that lead to reward. Evaluate GeneralityTrain agents on groups of paths.Evaluate agents on unseen text games to test path generality.Arithmetic Game: Your task is to solve the math problem.Then, pick up the item with the same quantity as the math problem answer, and place it in the box.90% on unseen games take 24 bananas put 24 bananas in answer box The math problem says: multiply 6 times 4 You take 24 bananas.You put 24 bananas in the answer box.Task-critical information 3 4 Train LLM with these paths Evaluate LLM on unseen games take math problem read math problem You are in the kitchen.You see a math problem, 3 pears, 24 bananas, ...You take the math problem. 2Game Variation 1: take math problem, read math problem, take 24 bananas, put 24 bananas in answer box Game Variation 2: take math problem, read math problem, take 12 apples, put 12 apples in answer box Game Variation 3: take math problem, read math problem, take 16 pears, put 16 pears in answer box ... Path Group: take(X), read(X), take(Y), put (Y, Z) T5Infer this micro-action sequence is a generalizable solution take(X), read(X), take(Y), put (Y, Z) Generalizable Micro-Action Sequence 15% on unseen gamesYou put 24 bananas in the answer box.Train LLM with these paths Evaluate LLM on unseen games take 24 bananas put 24 bananas in answer box You are in the kitchen.You see a math problem, 3 pears, 24 bananas, ...You take 24 bananas.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Offline Reinforcement Learning as One Big Sequence Modeling Problem cites Decision Transformer: Reinforcement Learning via Sequence Modeling
  • Pre-Trained Language Models for Interactive Decision-Making cites Decision Transformer: Reinforcement Learning via Sequence Modeling
  • SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Tasks cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Tasks cites Decision Transformer: Reinforcement Learning via Sequence Modeling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. SOTOPIA-π: Interactive Learning of Socially Intelligent Language AgentsRuiyi Wang, Haofei Yu, Wenxin Zhang, Zhengyang Qi et al.ACL 2024

Builds on12

  1. Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
  2. Offline Reinforcement Learning as One Big Sequence Modeling ProblemMichael Janner, Qiyang Li, Sergey LevineNeurIPS 2021 · 950 citations
  3. ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk et al.ICLR 2021 · 819 citations
  4. Pre-Trained Language Models for Interactive Decision-MakingShuang Li, Xavier Puig, Chris Paxton, Yilun Du et al.NeurIPS 2022 · 341 citations
  5. SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive TasksBill Yuchen Lin, Yicheng Fu, Karina Yang, Faeze Brahman et al.NeurIPS 2023 · 244 citations

Related papers

  1. STARLING: Self-supervised Training of Text-based Reinforcement Learning Agent with Large Language ModelsShreyas Basavatia, Keerthiram Murugesan, Shivam RatnakarACL Findings 2024 · 5 citations
  2. Game-RL: Synthesizing Multimodal Verifiable Game Data to Boost VLMs' General ReasoningJingqi Tong, Jixin Tang, Hangcheng Li, Yurong Mou et al.ICLR 2026 · 21 citations
  3. Learning Dynamic Belief Graphs to Generalize on Text-Based GamesAshutosh Adhikari, Xingdi Yuan, Marc-Alexandre Côté, Mikulas Zelinka et al.NeurIPS 2020 · 91 citations
  4. Text Editing as Imitation GameNing Shi, Bin Tang, Bo Yuan, Longtao Huang et al.EMNLP Findings 2022 · 3 citations
  5. Exploring the Capacity of Pretrained Language Models for Reasoning about Actions and ChangeWeinan He, Canming Huang, Zhanhao Xiao, Yongmei LiuACL 2023
Dusk over the sea between two cliffs drawn in fine vertical lines