Natural Language Specification of Reinforcement Learning Policies through Differentiable Decision Trees

Pradyumna Tambwekar, Andrew Silva, Nakul Gopalan, Matthew Gombolay
1/18/2021
cs.LGcs.AIcs.CL
rl

Official code: Farama-Foundation/HighwayEnv (3,342 stars, Python, MIT, last commit 2026-04-07).

Abstract

Human-AI policy specification is a novel procedure we define in which humans can collaboratively warm-start a robot's reinforcement learning policy. This procedure is comprised of two steps; (1) Policy Specification, i.e. humans specifying the behavior they would like their companion robot to accomplish, and (2) Policy Optimization, i.e. the robot applying reinforcement learning to improve the initial policy.

Show full abstract

Existing approaches to enabling collaborative policy specification are often unintelligible black-box methods, and are not catered towards making the autonomous system accessible to a novice end-user. In this paper, we develop a novel collaborative framework to allow humans to initialize and interpret an autonomous agent's behavior. Through our framework, we enable humans to specify an initial behavior model via unstructured, natural language (NL), which we convert to lexical decision trees. Next, we leverage these translated specifications, to warm-start reinforcement learning and allow the agent to further optimize these potentially suboptimal policies. Our approach warm-starts an RL agent by utilizing non-expert natural language specifications without incurring the additional domain exploration costs. We validate our approach by showing that our model is able to produce >80% translation accuracy, and that policies initialized by a human can match the performance of relevant RL baselines in two domains.

View on arXivView PDF

Code Implementations(1)

MIT

A minimalist environment for decision-making in autonomous driving

3,342906Python, Jupyter NotebookNov 15, 20177 months agoMIT
autonomous-drivinggym-environmentreinforcement-learning

Similar Papers

Cite this paper

@article{tambwekar2021natural,
  title  = {Natural Language Specification of Reinforcement Learning Policies through Differentiable Decision Trees},
  author = {Pradyumna Tambwekar and Andrew Silva and Nakul Gopalan and Matthew Gombolay},
  year   = {2021},
  eprint = {2101.07140},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.07140}
}

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

Discussion