mlsanityData to 7 Oct 2026

Safe Reinforcement Learning with Natural Language Constraints

arXiv 2010.05150 ↗First posted 11 Oct 2020cs.CL cs.AI cs.LGcited by 22

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 7; 2024: 7; 2025: 1; 2026: 2.

22 papers.

Sort:

By area:

  1. 2023FLIRT: Feedback Loop In-context Red Teamingcited by 81
  2. 2024A Survey of Constraint Formulations in Safe Reinforcement Learningcited by 42
  3. 2023LLF-Bench: Benchmark for Interactive Learning from Language Feedbackcited by 30
  4. 2022Leveraging Language for Accelerated Learning of Tool Manipulationcited by 26
  5. 2022Controllable Text Generation with Language Constraintscited by 18
  6. 2023GLUECons: A Generic Benchmark for Learning Under Constraintscited by 9
  7. 2024Embedding-Aligned Language Modelscited by 9
  8. 2024Safe Multi-agent Reinforcement Learning with Natural Language Constraintscited by 7
  9. 2022SAFER: Data-Efficient and Safe Reinforcement Learning via Skill Acquisitioncited by 6
  10. 2022One-Shot Learning from a Demonstration with Hierarchical Latent Languagecited by 6
  11. 2023Architext: Language-Driven Generative Architecture Designcited by 5
  12. 2023Reinforcement Learning with Knowledge Representation and Reasoning: A Brief Surveycited by 5
10 more
  1. 2024Mutual Enhancement of Large Language and Reinforcement Learning Models through Bi-Directional Feedback Mechanisms: A Planning Case Studycited by 3
  2. 2023A Reminder of its Brittleness: Language Reward Shaping May Hinder Learning for Instruction Following Agentscited by 2
  3. 2024Offline-to-online Reinforcement Learning for Image-based Grasping with Scarce Demonstrationscited by 2
  4. 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agentscited by 2
  5. 2022A Computational Interface to Translate Strategic Intent from Unstructured Language in a Low-Data Settingcited by 1
  6. 2023Modeling Risk in Reinforcement Learning: A Literature Mappingcited by 1
  7. 2026SpecRLBench: A Benchmark for Generalization in Specification-Guided Reinforcement Learningcited by 1
  8. 2024Output-Constrained Decision Treescited by 0
  9. 2024From Text to Trajectory: Exploring Complex Constraint Representation and Decomposition in Safe Reinforcement Learningcited by 0
  10. 2026ShieldVLA: Feasibility-Aware Safety Alignment for Vision-Language-Action Modelscited by 0