mlsanityData to 7 Oct 2026

Safe Reinforcement Learning with Free-form Natural Language Constraints and Pre-Trained Language Models

arXiv 2401.07553 ↗First posted 15 Jan 2024cs.LG cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Safe reinforcement learning (RL) agents accomplish given tasks while adhering to specific constraints. Employing constraints expressed via easily-understandable human language offers considerable potential for real-world applications due to its accessibility and non-reliance on domain expertise. Previous safe RL methods with natural language constraints typically adopt a recurrent neural network, which leads to limited capabilities when dealing with various forms of human language input. Furthermore, these methods often require a ground-truth cost function, necessitating domain expertise for the conversion of language constraints into a well-defined cost function that determines constraint violation. To address these issues, we proposes to use pre-trained language models (LM) to facilitate RL agents' comprehension of natural language constraints and allow them to infer costs for safe policy learning. Through the use of pre-trained LMs and the elimination of the need for a ground-truth cost, our method enhances safe policy learning under a diverse set of human-derived free-form natural language constraints. Experiments on grid-world navigation and robot control show that the proposed method can achieve strong performance while adhering to given constraints. The usage of pre-trained LMs allows our method to comprehend complicated constraints and learn safe policies without the need for ground-truth cost at any stage of training or evaluation. Extensive ablation studies are conducted to demonstrate the efficacy of each part of our method.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 17 of its 33 references that are in the map. First posted on arXiv 15 Jan 2024.

Builds on

17 of 33 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  7. 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
  8. 2017Constrained Policy Optimizationcited by 928
  9. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  10. 2018A Comprehensive Survey of Deep Learning for Image Captioningcited by 213
  11. 2019Using Natural Language for Reward Shaping in Reinforcement Learningcited by 114
  12. 2015Deep Reinforcement Learning with a Natural Language Action Spacecited by 88
5 more
  1. 2023Do Embodied Agents Dream of Pixelated Sheep: Embodied Decision Making using Language Guided World Modellingcited by 88
  2. 2018A Study of Reinforcement Learning for Neural Machine Translationcited by 74
  3. 2018Multi-Agent Deep Reinforcement Learning for Dynamic Power Allocation in Wireless Networkscited by 70
  4. 2023Language Instructed Reinforcement Learning for Human-AI Coordinationcited by 61
  5. 2017Beating Atari with Natural Language Guided Reinforcement Learningcited by 24

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 0; 2026: 2.

4 papers.