CLAILGROOct 11, 2020

Safe Reinforcement Learning with Natural Language Constraints

arXiv:2010.05150v236 citations
Originality Incremental advance
AI Analysis

This addresses the limitation of requiring domain expertise for mathematical constraint specification in safe RL, enabling broader adoption in applications like robotics or autonomous cars, though it is incremental as it builds on existing safe RL methods.

The paper tackles the problem of specifying constraints in safe reinforcement learning by proposing a method to interpret natural language constraints, introducing the HazardWorld benchmark and achieving up to 11x higher rewards and 1.8x fewer constraint violations compared to existing approaches.

While safe reinforcement learning (RL) holds great promise for many practical applications like robotics or autonomous cars, current approaches require specifying constraints in mathematical form. Such specifications demand domain expertise, limiting the adoption of safe RL. In this paper, we propose learning to interpret natural language constraints for safe RL. To this end, we first introduce HazardWorld, a new multi-task benchmark that requires an agent to optimize reward while not violating constraints specified in free-form text. We then develop an agent with a modular architecture that can interpret and adhere to such textual constraints while learning new tasks. Our model consists of (1) a constraint interpreter that encodes textual constraints into spatial and temporal representations of forbidden states, and (2) a policy network that uses these representations to produce a policy achieving minimal constraint violations during training. Across different domains in HazardWorld, we show that our method achieves higher rewards (up to11x) and fewer constraint violations (by 1.8x) compared to existing approaches. However, in terms of absolute performance, HazardWorld still poses significant challenges for agents to learn efficiently, motivating the need for future work.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes