Interpretable Policy Specification and Synthesis through Natural Language and RL

Pradyumna Tambwekar, Andrew Silva, Nakul Gopalan, Matthew C. Gombolay

Abstract

Human-AI collaborative policy synthesis is a procedure in which (1) a human initializes an autonomous agent's behavior, (2) Reinforcement Learning improves the human specified behavior, and (3) the agent can explain the final optimized policy to the user. This paradigm leverages human expertise and facilitates a greater insight into the learned behaviors of an agent. Existing approaches to enabling collaborative policy specification involve black box methods which are unintelligible and are not catered towards non-expert end-users. In this paper, we develop a novel collaborative framework to enable humans to initialize and interpret an autonomous agent's behavior, rooted in principles of human-centered design. Through our framework, we enable humans to specify an initial behavior model in the form of unstructured, natural language, which we then convert to lexical decision trees. Next, we are able to leverage these human-specified policies, to warm-start reinforcement learning and further allow the agent to optimize the policies through reinforcement learning. Finally, to close the loop on human-specification, we produce explanations of the final learned policy, in multiple modalities, to provide the user a final depiction about the learned policy of the agent. We validate our approach by showing that our model can produce >80% accuracy, and that human-initialized policies are able to successfully warm-start RL. We then conduct a novel human-subjects study quantifying the relative subjective and objective benefits of varying XAI modalities(e.g., Tree, Language, and Program) for explaining learned policies to end-users, in terms of usability and interpretability and identify the circumstances that influence these measures. Our findings emphasize the need for personalized explainable systems that can facilitate user-centric policy explanations for a variety of end-users.

Introduction

Reinforcement Learning (RL) is a powerful tool for developing autonomous agents, yet it faces two significant challenges: the "cold start" problem, where agents require extensive trial-and-error to learn basic tasks, and the "black box" problem, where high-performing neural network policies are nearly impossible for humans to interpret. Researchers at Georgia Tech have developed a framework to address these hurdles by allowing non-experts to "warm-start" an agent's learning process using unstructured natural language. This approach bridges the gap between symbolic AI (interpretable rules) and connectionist AI (optimizable networks).

Methodology

The proposed pipeline consists of two primary phases: Policy Specification and Policy Optimization.

The two-step pipeline: (1) Policy Specification via natural language and (2) Policy Optimization using Reinforcement Learning.

HAN2Tree Architecture

The core of the translation process is HAN2Tree, which utilizes a Hierarchical Attention Network (HAN) as an encoder. This architecture is specifically designed to handle the verbose and often disorganized nature of human descriptions by focusing on relevant words and sentences independently. A specialized Tree Decoder then transforms the encoded text into a symbolic decision tree.

Differentiable Decision Trees (DDTs)

To enable optimization, the symbolic tree is mapped into a Differentiable Decision Tree (DDT). Unlike standard trees, DDTs use probabilistic "soft" decisions, making them differentiable and compatible with standard RL algorithms like Proximal Policy Optimization (PPO). This allows the agent to fine-tune the human's initial instructions while maintaining an interpretable structure that can be discretized back into "If-Then" rules for human inspection.

Experimental Setup

The framework was validated using two distinct environments: Taxi (navigating traffic and passenger wait times) and Highway (high-speed driving and collision avoidance).

Experimental domains (a) Highway and (b) Taxi, alongside the (c) drag-and-drop interface used to collect human policy specifications.

Data was collected from 400 participants via Amazon Mechanical Turk. Users created decision trees through a drag-and-drop interface and then described those behaviors in natural language. This dataset was expanded to nearly 1,000 examples per domain using augmentation techniques like back-translation to ensure robustness against varying writing styles.

Key Results

  • Translation Accuracy: The HAN2Tree model achieved 86.30% accuracy in the Taxi domain and 80.38% in the Highway domain, significantly outperforming standard Sequence-to-Sequence baselines.
  • RL Performance and Efficiency: Policies initialized with natural language achieved higher initial rewards and better final performance than randomly initialized trees or standard neural networks. In the Highway domain, the language-initialized agent reached a near-perfect score of 10.00, while the neural network baseline failed to achieve a positive score within the same training window.
  • Interpretability: By using DDTs, the system avoids the traditional trade-off between performance and interpretability, remaining as readable as a flowchart while matching the power of deep learning.

Conclusion and Future Work

This framework demonstrates that natural language is a highly efficient medium for pruning the RL search space. While successful, the authors note limitations such as fixed tree depths and the structured nature of the collected language. Future research will explore scaling to high-dimensional inputs like raw video and testing instructions collected in more organic, "in the wild" settings to further enhance human-AI collaboration.

Summary updated

Abstract

Human-AI collaborative policy synthesis is a procedure in which (1) a human initializes an autonomous agent's behavior, (2) Reinforcement Learning improves the human specified behavior, and (3) the agent can explain the final optimized policy to the user. This paradigm leverages human expertise and facilitates a greater insight into the learned behaviors of an agent. Existing approaches to enabling collaborative policy specification involve black box methods which are unintelligible and are not catered towards non-expert end-users. In this paper, we develop a novel collaborative framework to enable humans to initialize and interpret an autonomous agent's behavior, rooted in principles of human-centered design. Through our framework, we enable humans to specify an initial behavior model in the form of unstructured, natural language, which we then convert to lexical decision trees. Next, we are able to leverage these human-specified policies, to warm-start reinforcement learning and further allow the agent to optimize the policies through reinforcement learning. Finally, to close the loop on human-specification, we produce explanations of the final learned policy, in multiple modalities, to provide the user a final depiction about the learned policy of the agent. We validate our approach by showing that our model can produce >80% accuracy, and that human-initialized policies are able to successfully warm-start RL. We then conduct a novel human-subjects study quantifying the relative subjective and objective benefits of varying XAI modalities(e.g., Tree, Language, and Program) for explaining learned policies to end-users, in terms of usability and interpretability and identify the circumstances that influence these measures. Our findings emphasize the need for personalized explainable systems that can facilitate user-centric policy explanations for a variety of end-users.
BibTeX
@article{tambwekar2021interpretable,
  author = {Pradyumna Tambwekar and Andrew Silva and Nakul Gopalan and Matthew C. Gombolay},
  title = {{Interpretable Policy Specification and Synthesis through Natural Language and RL}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2021},
  url = {https://openreview.net/forum?id=PABezIXSmb},
}
Figure