Safe Reinforcement Learning with Free-form Natural Language Constraints and Pre-Trained Language Models
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
- 2017Constrained Policy Optimizationcited by 928
- 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
- 2018A Comprehensive Survey of Deep Learning for Image Captioningcited by 213
- 2019Using Natural Language for Reward Shaping in Reinforcement Learningcited by 114
- 2015Deep Reinforcement Learning with a Natural Language Action Spacecited by 88
5 more
- 2023Do Embodied Agents Dream of Pixelated Sheep: Embodied Decision Making using Language Guided World Modellingcited by 88
- 2018A Study of Reinforcement Learning for Neural Machine Translationcited by 74
- 2018Multi-Agent Deep Reinforcement Learning for Dynamic Power Allocation in Wireless Networkscited by 70
- 2023Language Instructed Reinforcement Learning for Human-AI Coordinationcited by 61
- 2017Beating Atari with Natural Language Guided Reinforcement Learningcited by 24
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 2.
4 papers.
- 2024Adaptive Querying for Reward Learning from Human Feedbackcited by 0
- 2024From Text to Trajectory: Exploring Complex Constraint Representation and Decomposition in Safe Reinforcement Learningcited by 0
- 2026Imagine to Ensure Safety in Hierarchical Reinforcement Learningcited by 0
- 2026Learning Safe Agent Behaviour from Human Preferences and Justifications via World Modelscited by 0
- 2026Learning Safe Agent Behaviour from Human Preferences and Justifications via World Models14 Jul 2026
- 2026Imagine to Ensure Safety in Hierarchical Reinforcement Learning21 Jun 2026
- 2024From Text to Trajectory: Exploring Complex Constraint Representation and Decomposition in Safe Reinforcement Learning12 Dec 2024
- 2024Adaptive Querying for Reward Learning from Human Feedback11 Dec 2024